Skip to content

Cannot npm install with npm_config_ignore_scripts=true #157

@chicco-carone

Description

@chicco-carone

Describe the bug

When asking any prompt in any project i always get this js Unhandled error:

   Unhandled error: Error: Cannot find module '../build/Release/pty.node'
   Require stack:
   - /home/chicco/.local/share/pnpm/global/5/.pnpm/@devm33+node-pty@1.0.9/node_modules/@devm33/node-pty/lib/unixTerminal.js
   - /home/chicco/.local/share/pnpm/global/5/.pnpm/@devm33+node-pty@1.0.9/node_modules/@devm33/node-pty/lib/index.js

Affected version

0.0.330

Steps to reproduce the behavior

install the cli with pnpm or npm
launch it in any project
type any prompt
error occurs

Expected behavior

The program handles the error

Additional context

Os: Arch Linux
CPU: x86
Terminal: Tested in Alacritty and Ghostty
Shell: Bash

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions