Skip to content

Instantly share code, notes, and snippets.

@splintor
Created June 1, 2017 07:18
Show Gist options
  • Save splintor/40b094b3af815a2025ad8dcf1c0fc8c9 to your computer and use it in GitHub Desktop.
Save splintor/40b094b3af815a2025ad8dcf1c0fc8c9 to your computer and use it in GitHub Desktop.
0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'C:\\Users\\myname\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'i',
1 verbose cli '\\\\path\\to\\my\\package\\dir' ]
2 info using npm@5.0.0
3 info using node@v7.0.0
4 silly install loadCurrentTree
5 silly install readLocalPackageData
6 silly pacote directory manifest for undefined@file://path/to/my/package/dir fetched in 24ms
7 silly install loadIdealTree
8 silly install cloneCurrentTreeToIdealTree
9 silly install loadShrinkwrap
10 silly fetchPackageMetaData error for ag-grid-new@file:file:\path\to\my\package\dir Could not install from "file:\path\to\my\package\dir" as it does not contain a package.json file.
11 verbose stack Error: ENOENT: no such file or directory, open 'c:\MyProjects\MyApp\file:\path\to\my\package\dir\package.json'
12 verbose cwd c:\MyProjects\MyApp
13 verbose Windows_NT 10.0.10586
14 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\sflint\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "i" "\\\\path\\to\\my\\package\\dir"
15 verbose node v7.0.0
16 verbose npm v5.0.0
17 error code ENOLOCAL
18 error Could not install from "file:\path\to\my\package\dir" as it does not contain a package.json file.
19 verbose exit [ 1, true ]
@himajaM
Copy link

himajaM commented Nov 22, 2017

Deleting package-lock.json solved for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment