Skip to content

Instantly share code, notes, and snippets.

@Mr-Kumar-Abhishek
Created May 17, 2019 01:54
Show Gist options
  • Save Mr-Kumar-Abhishek/6cba1c912a4a96a46a3f10ea50dc2fb2 to your computer and use it in GitHub Desktop.
Save Mr-Kumar-Abhishek/6cba1c912a4a96a46a3f10ea50dc2fb2 to your computer and use it in GitHub Desktop.
zeit-now-cli-error.sh
pi@IBM5200:~/Documents/projects $ cd now-cli
pi@IBM5200:~/Documents/projects/now-cli $ lls
bash: lls: command not found
pi@IBM5200:~/Documents/projects/now-cli $ npm install --unsafe-perm
pi@IBM5200:~/Documents/projects/now-cli $ npm install -g --unsafe-perm
npm ERR! path /home/pi/.config/versions/node/v12.0.0/lib/node_modules/now/download/dist/now
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod
npm ERR! enoent ENOENT: no such file or directory, chmod '/home/pi/.config/versions/node/v12.0.0/lib/node_modules/now/download/dist/now'
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/pi/.npm/_logs/2019-05-17T01_35_01_733Z-debug.log
pi@IBM5200:~/Documents/projects/now-cli $ npm install --unsafe-perm -g
npm ERR! path /home/pi/.config/versions/node/v12.0.0/lib/node_modules/now/download/dist/now
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod
npm ERR! enoent ENOENT: no such file or directory, chmod '/home/pi/.config/versions/node/v12.0.0/lib/node_modules/now/download/dist/now'
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/pi/.npm/_logs/2019-05-17T01_35_39_838Z-debug.log
pi@IBM5200:~/Documents/projects/now-cli $ npm install --unsafe-perm
npm WARN deprecated [email protected]: This package has been deprecated in favour of @sinonjs/samsam
> @zeit/[email protected] install /home/pi/Documents/projects/now-cli/node_modules/@zeit/git-hooks
> node ./install.js
△ @zeit/git-hooks: installing base hook to /home/pi/Documents/projects/now-cli/.git/hooks
△ @zeit/git-hooks: hooks installed successfully
> [email protected] install /home/pi/Documents/projects/now-cli/node_modules/pre-commit
> node install.js
> [email protected] postinstall /home/pi/Documents/projects/now-cli/node_modules/spawn-sync
> node postinstall
> [email protected] postinstall /home/pi/Documents/projects/now-cli
> node download/install.js
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
added 1149 packages from 850 contributors and audited 9409 packages in 423.51s
found 1 high severity vulnerability
run `npm audit fix` to fix them, or `npm audit` for details
pi@IBM5200:~/Documents/projects/now-cli $ npm audit
=== npm audit security report ===
# Run npm install --save-dev [email protected] to resolve 1 vulnerability
SEMVER WARNING: Recommended action is a potentially breaking change
High Prototype Pollution
Package handlebars
Dependency of nyc [dev]
Path nyc > istanbul-reports > handlebars
More info https://npmjs.com/advisories/755
found 1 high severity vulnerability in 9409 scanned packages
1 vulnerability requires semver-major dependency updates.
pi@IBM5200:~/Documents/projects/now-cli $ npm link
> [email protected] postinstall /home/pi/Documents/projects/now-cli
> node download/install.js
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
audited 9409 packages in 104.324s
found 1 high severity vulnerability
run `npm audit fix` to fix them, or `npm audit` for details
npm ERR! path /home/pi/.config/versions/node/v12.0.0/lib/node_modules/now/download/dist/now
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod
npm ERR! enoent ENOENT: no such file or directory, chmod '/home/pi/.config/versions/node/v12.0.0/lib/node_modules/now/download/dist/now'
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/pi/.npm/_logs/2019-05-17T01_48_46_539Z-debug.log
pi@IBM5200:~/Documents/projects/now-cli $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment