Saturday, May 12, 2018

npm WARN deprecated socks@1.1.10

npm install
npm WARN deprecated socks@1.1.10: If using 2.x branch, please upgrade to at least 2.1.6 to avoid a serious bug with socket data flow and an import issue introduced in 2.1.0


npm cache clear --force

npm cache clear --force
npm WARN using --force I sure hope you know what you are doing.
npm install
Its giving the warning but its running perfectly
https://github.com/angular/angular-cli/issues/10039


I dont f***ing get this message

npm WARN deprecated socks@1.1.10: If using 2.x branch, please upgrade to at least 2.1.6 to avoid a serious bug with socket data flow and an import issue introduced in 2.1.0

what 2.1.6 ???


npm install -g npm-check-updates
https://www.npmjs.com/package/npm-check-updates


 ncu

Command 'ncu' not found, did you mean:

  command 'ncg' from deb tinyos-tools
  command 'ncl' from deb ncl-ncarg
  command 'nc' from deb netcat-openbsd
  command 'nc' from deb netcat-traditional
  command 'cu' from deb cu
  command 'ncc' from deb tinyos-tools
  command 'ncdu' from deb ncdu

Try: apt install

notadmin@programming:~/AwesomeProject$ su root
Password:
root@programming:/home/notadmin/AwesomeProject$ sudo npm install -g npm-check-updates
[sudo] password for root:
/usr/bin/npm-check-updates -> /usr/lib/node_modules/npm-check-updates/bin/npm-check-updates
/usr/bin/ncu -> /usr/lib/node_modules/npm-check-updates/bin/ncu
+ npm-check-updates@2.14.2
added 382 packages from 588 contributors in 14.248s
root@programming:/home/notadmin/AwesomeProject$ sudo ncu -u
Using /home/notadmin/AwesomeProject/package.json

1 comment:

  1. npm WARN deprecated socks@1.1.10: If using 2.x branch, please upgrade to at least 2.1.6 to avoid a serious bug with socket data flow and an import issue introduced in 2.1.0



    face above type warn

    ReplyDelete