(Write what you thought would happen.)
I expected cra.js to be downloaded and execute
Actual Behavior
(Write what happened. Please add screenshots!)
It seems like the registry is returning a 404
npx create_react_app test
npm ERR! code E404
npm ERR! 404 Not Found: create_react_app@latest
npm ERR! A complete log of this run can be found in:
npm ERR! /home/lea/.npm/_logs/2018-03-30T17_47_02_713Z-debug.log
Install for create_react_app@latest failed with code 1
0 info it worked if it ends with ok
1 verbose cli [ '/home/lea/.nvm/versions/node/v8.9.4/bin/node',
1 verbose cli '/home/lea/.nvm/versions/node/v8.9.4/lib/node_modules/npm/bin/npm-cli.js',
1 verbose cli 'install',
1 verbose cli 'create_react_app@latest',
1 verbose cli '--global',
1 verbose cli '--prefix',
1 verbose cli '/home/lea/.npm/_npx/31667',
1 verbose cli '--loglevel',
1 verbose cli 'error',
1 verbose cli '--json' ]
2 info using npm@5.8.0
3 info using node@v8.9.4
4 verbose npm-session 83721a71a3724b62
5 silly install loadCurrentTree
6 silly install readGlobalPackageData
7 http fetch GET 404 https://registry.npmjs.org/create_react_app 703ms
8 silly fetchPackageMetaData error for create_react_app@latest 404 Not Found: create_react_app@latest
9 verbose stack Error: 404 Not Found: create_react_app@latest
9 verbose stack at fetch.then.res (/home/lea/.nvm/versions/node/v8.9.4/lib/node_modules/npm/node_modules/pacote/lib/fetchers/registry/fetch.js:42:19)
9 verbose stack at tryCatcher (/home/lea/.nvm/versions/node/v8.9.4/lib/node_modules/npm/node_modules/bluebird/js/release/util.js:16:23)
9 verbose stack at Promise._settlePromiseFromHandler (/home/lea/.nvm/versions/node/v8.9.4/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:512:31)
9 verbose stack at Promise._settlePromise (/home/lea/.nvm/versions/node/v8.9.4/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:569:18)
9 verbose stack at Promise._settlePromise0 (/home/lea/.nvm/versions/node/v8.9.4/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:614:10)
9 verbose stack at Promise._settlePromises (/home/lea/.nvm/versions/node/v8.9.4/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:693:18)
9 verbose stack at Async._drainQueue (/home/lea/.nvm/versions/node/v8.9.4/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:133:16)
9 verbose stack at Async._drainQueues (/home/lea/.nvm/versions/node/v8.9.4/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:143:10)
9 verbose stack at Immediate.Async.drainQueues (/home/lea/.nvm/versions/node/v8.9.4/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:17:14)
9 verbose stack at runCallback (timers.js:789:20)
9 verbose stack at tryOnImmediate (timers.js:751:5)
9 verbose stack at processImmediate [as _immediateCallback] (timers.js:722:5)
10 verbose cwd /home/lea/Documents/adminpanel
11 verbose Linux 4.13.0-37-generic
12 verbose argv "/home/lea/.nvm/versions/node/v8.9.4/bin/node" "/home/lea/.nvm/versions/node/v8.9.4/lib/node_modules/npm/bin/npm-cli.js" "install" "create_react_app@latest" "--global" "--prefix" "/home/lea/.npm/_npx/31667" "--loglevel" "error" "--json"
13 verbose node v8.9.4
14 verbose npm v5.8.0
15 error code E404
16 error 404 Not Found: create_react_app@latest
17 verbose exit [ 1, true ]
Am I insane or is the package unavailable right now?
Side note: I was mainly downloading this app to see the default package.json I'm coming into a project that is using create-react-app and I would like to see the changes that were made.
Is this a bug report?
Yes
Did you try recovering your dependencies?
Yes, though due to an unrelated issue.
Which terms did you search for in User Guide?
install, get started
Environment
node -v
: 8.9.4npm -v
: 5.8.0yarn --version
(if you use Yarn):npm ls react-scripts
(if you haven’t ejected):Then, specify:
Steps to Reproduce
(Write your steps here:)
Expected Behavior
(Write what you thought would happen.) I expected cra.js to be downloaded and execute
Actual Behavior
(Write what happened. Please add screenshots!) It seems like the registry is returning a 404
npx create_react_app test
npm ERR! code E404 npm ERR! 404 Not Found: create_react_app@latest
npm ERR! A complete log of this run can be found in: npm ERR! /home/lea/.npm/_logs/2018-03-30T17_47_02_713Z-debug.log Install for create_react_app@latest failed with code 1
0 info it worked if it ends with ok 1 verbose cli [ '/home/lea/.nvm/versions/node/v8.9.4/bin/node', 1 verbose cli '/home/lea/.nvm/versions/node/v8.9.4/lib/node_modules/npm/bin/npm-cli.js', 1 verbose cli 'install', 1 verbose cli 'create_react_app@latest', 1 verbose cli '--global', 1 verbose cli '--prefix', 1 verbose cli '/home/lea/.npm/_npx/31667', 1 verbose cli '--loglevel', 1 verbose cli 'error', 1 verbose cli '--json' ] 2 info using npm@5.8.0 3 info using node@v8.9.4 4 verbose npm-session 83721a71a3724b62 5 silly install loadCurrentTree 6 silly install readGlobalPackageData 7 http fetch GET 404 https://registry.npmjs.org/create_react_app 703ms 8 silly fetchPackageMetaData error for create_react_app@latest 404 Not Found: create_react_app@latest 9 verbose stack Error: 404 Not Found: create_react_app@latest 9 verbose stack at fetch.then.res (/home/lea/.nvm/versions/node/v8.9.4/lib/node_modules/npm/node_modules/pacote/lib/fetchers/registry/fetch.js:42:19) 9 verbose stack at tryCatcher (/home/lea/.nvm/versions/node/v8.9.4/lib/node_modules/npm/node_modules/bluebird/js/release/util.js:16:23) 9 verbose stack at Promise._settlePromiseFromHandler (/home/lea/.nvm/versions/node/v8.9.4/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:512:31) 9 verbose stack at Promise._settlePromise (/home/lea/.nvm/versions/node/v8.9.4/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:569:18) 9 verbose stack at Promise._settlePromise0 (/home/lea/.nvm/versions/node/v8.9.4/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:614:10) 9 verbose stack at Promise._settlePromises (/home/lea/.nvm/versions/node/v8.9.4/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:693:18) 9 verbose stack at Async._drainQueue (/home/lea/.nvm/versions/node/v8.9.4/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:133:16) 9 verbose stack at Async._drainQueues (/home/lea/.nvm/versions/node/v8.9.4/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:143:10) 9 verbose stack at Immediate.Async.drainQueues (/home/lea/.nvm/versions/node/v8.9.4/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:17:14) 9 verbose stack at runCallback (timers.js:789:20) 9 verbose stack at tryOnImmediate (timers.js:751:5) 9 verbose stack at processImmediate [as _immediateCallback] (timers.js:722:5) 10 verbose cwd /home/lea/Documents/adminpanel 11 verbose Linux 4.13.0-37-generic 12 verbose argv "/home/lea/.nvm/versions/node/v8.9.4/bin/node" "/home/lea/.nvm/versions/node/v8.9.4/lib/node_modules/npm/bin/npm-cli.js" "install" "create_react_app@latest" "--global" "--prefix" "/home/lea/.npm/_npx/31667" "--loglevel" "error" "--json" 13 verbose node v8.9.4 14 verbose npm v5.8.0 15 error code E404 16 error 404 Not Found: create_react_app@latest 17 verbose exit [ 1, true ]
Am I insane or is the package unavailable right now?
Side note: I was mainly downloading this app to see the default package.json I'm coming into a project that is using create-react-app and I would like to see the changes that were made.