Skip to content

“npm ls -g --depth=0” show error #4791

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

Closed
terrilltang opened this issue Sep 3, 2017 · 3 comments
Closed

“npm ls -g --depth=0” show error #4791

terrilltang opened this issue Sep 3, 2017 · 3 comments
Labels

Comments

@terrilltang
Copy link

version info:
os: macOS 10.12.6
node: v8.4.0
npm: 5.4.0
nativescript :3.1.3

after run commend 'npm ls -g --depth=0' show some error;

`/usr/local/lib
├── @angular/[email protected]
├── [email protected]
├── [email protected]
└── [email protected]

npm ERR! error in /usr/local/lib/node_modules/nativescript/node_modules/cli-table: Invalid version: "https://github.com/telerik/cli-table/tarball/v0.3.1.2"
npm ERR! invalid: cli-table /usr/local/lib/node_modules/nativescript/node_modules/cli-table
npm ERR! error in /usr/local/lib/node_modules/nativescript/node_modules/tabtab: Invalid version: "https://github.com/Icenium/node-tabtab/tarball/master"
npm ERR! invalid: tabtab /usr/local/lib/node_modules/nativescript/node_modules/tabtab
npm ERR! error in /usr/local/lib/node_modules/nativescript/node_modules/xcode: Invalid version: "https://github.com/NativeScript/node-xcode/archive/1.4.0.tar.gz"
npm ERR! invalid: xcode /usr/local/lib/node_modules/nativescript/node_modules/xcode
npm ERR! error in /usr/local/lib/node_modules/nativescript/node_modules/xmlhttprequest: Invalid version: "https://github.com/telerik/node-XMLHttpRequest/tarball/master"
npm ERR! invalid: xmlhttprequest /usr/local/lib/node_modules/nativescript/node_modules/xmlhttprequest
npm ERR! error in /usr/local/lib/node_modules/nativescript/node_modules/zipstream: Invalid version: "https://github.com/Icenium/node-zipstream/tarball/master"
npm ERR! invalid: zipstream /usr/local/lib/node_modules/nativescript/node_modules/zipstream
npm ERR! missing: [email protected], required by [email protected]
npm ERR! error in /usr/local/lib/node_modules/nativescript/node_modules/ios-sim-portable/node_modules/bplist-parser: Invalid version: "https://github.com/telerik/node-bplist-parser/tarball/master"
npm ERR! invalid: bplist-parser /usr/local/lib/node_modules/nativescript/node_modules/ios-sim-portable/node_modules/bplist-parser
npm ERR! missing: cli-table@^0.3.1, required by [email protected]`

@tsonevn
Copy link
Contributor

tsonevn commented Sep 4, 2017

Hi @terrilltang,
I research this error and found that this is something related to npm and the fact that the newer versions will warn you if it finds packages installed under a node_modules directory which is not explicitly listed in the package.json file. Regarding that, this is not something related to NativeScript platform and it seems to be the way how npm works.
This behavior is discussed in the thread here.

Hope this information helps.

@terrilltang
Copy link
Author

@tsonevn
thank you!!
I understand this error message now,this issue will be closed.:)

@lock
Copy link

lock bot commented Aug 27, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Aug 27, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants