Skip to content

Instantly share code, notes, and snippets.

@dotnetCarpenter
Created December 16, 2017 09:02
Show Gist options
  • Save dotnetCarpenter/2f0c5c7ebb38b0db331ed20489562cba to your computer and use it in GitHub Desktop.
Save dotnetCarpenter/2f0c5c7ebb38b0db331ed20489562cba to your computer and use it in GitHub Desktop.
npm can not find package.json in git repository
0 info it worked if it ends with ok
1 verbose cli [ '/home/dotnet/.nvm/versions/node/v8.9.3/bin/node',
1 verbose cli '/home/dotnet/.nvm/versions/node/v8.9.3/bin/npm',
1 verbose cli 'i',
1 verbose cli '-g',
1 verbose cli '[email protected]:dotnetCarpenter/node-ecstatic.git' ]
2 info using [email protected]
3 info using [email protected]
4 verbose npm-session d03ba394f38d5f28
5 silly install loadCurrentTree
6 silly install readGlobalPackageData
7 silly fetchPackageMetaData error for git@file:github.com:dotnetCarpenter/node-ecstatic.git Could not install from "github.com:dotnetCarpenter/node-ecstatic.git" as it does not contain a package.json file.
8 verbose stack Error: ENOENT: no such file or directory, open '/home/dotnet/projects/napp/loader/github.com:dotnetCarpenter/node-ecstatic.git/package.json'
9 verbose cwd /home/dotnet/projects/napp/loader
10 verbose Linux 4.4.0-104-generic
11 verbose argv "/home/dotnet/.nvm/versions/node/v8.9.3/bin/node" "/home/dotnet/.nvm/versions/node/v8.9.3/bin/npm" "i" "-g" "[email protected]:dotnetCarpenter/node-ecstatic.git"
12 verbose node v8.9.3
13 verbose npm v5.6.0
14 error code ENOLOCAL
15 error Could not install from "github.com:dotnetCarpenter/node-ecstatic.git" as it does not contain a package.json file.
16 verbose exit [ 1, true ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment