single-spa / single-spa-examples

Examples of single-spa applications.
https://single-spa.surge.sh
MIT License
359 stars 128 forks source link

Missing package.json in single-spa-ember #42

Closed k0pper closed 6 years ago

k0pper commented 6 years ago

After cloning the repository I tried to run npm install and it shows this error:

npm ERR! code ENOLOCAL npm ERR! Could not install from "../single-spa-ember" as it does not contain a package.json file. npm ERR! A complete log of this run can be found in: npm ERR! /Users/alexandermiller/.npm/_logs/2017-10-04T11_10_23_444Z-debug.log

logfile:

0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/Cellar/node/8.4.0/bin/node',
1 verbose cli   '/usr/local/bin/npm',
1 verbose cli   'i' ]
2 info using npm@5.4.2
3 info using node@v8.4.0
4 verbose npm-session 2ed2f1c1bfd788d6
5 silly install runPreinstallTopLevelLifecycles
6 silly preinstall single-spa-examples@
7 info lifecycle single-spa-examples@~preinstall: single-spa-examples@
8 silly install loadCurrentTree
9 silly install readLocalPackageData
10 silly install loadIdealTree
11 silly install cloneCurrentTreeToIdealTree
12 silly install loadShrinkwrap
13 silly fetchPackageMetaData error for single-spa-ember@file:../single-spa-ember Could not install from "../single-spa-ember" as it does not contain a package.json file.
14 verbose stack Error: ENOENT: no such file or directory, open '/Users/alexandermiller/dev/Projects/single-spa-ember/package.json'
15 verbose cwd /Users/alexandermiller/dev/Projects/single-spa-examples
16 verbose Darwin 16.6.0
17 verbose argv "/usr/local/Cellar/node/8.4.0/bin/node" "/usr/local/bin/npm" "i"
18 verbose node v8.4.0
19 verbose npm  v5.4.2
20 error code ENOLOCAL
21 error Could not install from "../single-spa-ember" as it does not contain a package.json file.
22 verbose exit [ 1, true ]

Hope someone can help with this issue.

Sincerely, Alex