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

Error while installing from npm #1

Open
jhlee-mitre opened this issue Nov 15, 2023 · 0 comments
Open

Error while installing from npm #1

jhlee-mitre opened this issue Nov 15, 2023 · 0 comments

Comments

@jhlee-mitre
Copy link
Collaborator

jhlee-mitre commented Nov 15, 2023

Summary

Error occurred while installing from npm.
To reproduce:

  1. git clone repo
  2. From the directory of repo, run command npm install -g
  3. Error message below
jaehoonlee@MM279227-PC ig-summary % npm install -g
npm ERR! code 1
npm ERR! path /Users/jaehoonlee/Documents/GitHub/ig-summary
npm ERR! command failed
npm ERR! command sh -c npm run build
npm ERR! > @mitre/[email protected] build
npm ERR! > del-cli dist && tsc && chmod +x dist/ig-summary.js
npm ERR! node:internal/process/esm_loader:46
npm ERR!       internalBinding('errors').triggerUncaughtException(
npm ERR!                                 ^
npm ERR! 
npm ERR! [Error: EACCES: permission denied, unlink '/Users/jaehoonlee/Documents/GitHub/ig-summary/dist/DataDictionarySettings.d.ts'] {
npm ERR!   errno: -13,
npm ERR!   code: 'EACCES',
npm ERR!   syscall: 'unlink',
npm ERR!   path: '/Users/jaehoonlee/Documents/GitHub/ig-summary/dist/DataDictionarySettings.d.ts'
npm ERR! }
npm ERR! 
npm ERR! Node.js v20.5.1

npm ERR! A complete log of this run can be found in: /Users/jaehoonlee/.npm/_logs/2023-11-15T16_20_55_477Z-debug-0.log

Solutions approached

Reinstall npm

Same error occurred.

Manually change npm directory

Same error occurred.

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