Created
December 22, 2020 23:34
-
-
Save Northward-Design/c88ecdf2a9fe52f6e837bec48355c3e8 to your computer and use it in GitHub Desktop.
Cannot use global flag with npm install: ENOENT: No such file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
input: | |
npm install --global gulp-cli | |
output: | |
npm ERR! code ENOENT | |
npm ERR! syscall lstat | |
npm ERR! path /home/ivan/.npm/lib | |
npm ERR! errno -2 | |
npm ERR! enoent ENOENT: no such file or directory, lstat '/home/ivan/.npm/lib' | |
npm ERR! enoent This is related to npm not being able to find a file. | |
npm ERR! enoent | |
npm ERR! A complete log of this run can be found in: | |
npm ERR! /home/ivan/.npm/_logs/2020-12-22T22_24_07_095Z-debug.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment