Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm, pnpm install failed #2

Open
gurezo opened this issue Jun 29, 2024 · 0 comments
Open

npm, pnpm install failed #2

gurezo opened this issue Jun 29, 2024 · 0 comments

Comments

@gurezo
Copy link

gurezo commented Jun 29, 2024

When @ngeenx/ngx-monaco-editor install failed

my pc enviroment

  • macOS 14.5(23F79
  • enviroment
$ npm -v
10.5.0

$ node -v
v20.12.1

$ yarn -v
1.22.22

$ ng --version
18.0.6

install before excute clean

$ npm cache verify
Cache verified and compressed (~/.npm/_cacache)
Content verified: 5395 (2341925083 bytes)
Index entries: 5395
Finished in 6.386s

npm install failed

$ npm i @ngeenx/ngx-monaco-editor --save
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: @ngeenx/[email protected]
npm WARN Found: @ngeenx/monaco-textmate-loader@undefined
npm WARN node_modules/@ngeenx/monaco-textmate-loader
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer @ngeenx/monaco-textmate-loader@"^1.0.14" from @ngeenx/[email protected]
npm WARN node_modules/@ngeenx/ngx-monaco-editor
npm WARN   @ngeenx/ngx-monaco-editor@"*" from the root project
npm ERR! Cannot read properties of null (reading 'matches')

npm ERR! A complete log of this run can be found in: /Users/gurezo/.npm/_logs/2024-06-29T05_21_05_245Z-debug-0.log

pnpm install failed

$ pnpm i @ngeenx/ngx-monaco-editor --save
 WARN  deprecated [email protected]: This package is now deprecated. Move to @xterm/xterm instead.
 ERR_PNPM_FETCH_404  GET https://registry.npmjs.org/@ngeenx%2Fmonaco-textmate-loader: Not Found - 404

This error happened while installing a direct dependency of /Users/gurezo/work/sample-repo

@ngeenx/monaco-textmate-loader is not in the npm registry, or you have no permission to fetch it.

No authorization header was set for the request.
Progress: resolved 953, reused 883, downloaded 0, added 0
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant