Error running CLI, Error installing @expo%2fbunyan: User not found
See original GitHub issueDescription
I am unable to run create-react-native-app AppName
. Whenever I do so, I see the following output:
[ Sites ] ericmasiello 🐼 create-react-native-app AppName
Creating a new React Native app in /Users/ericmasiello/Sites/AppName.
Using package manager as yarnpkg with yarn interface.
Installing packages. This might take a couple minutes.
Installing react-native-scripts...
yarn add v0.27.5
info No lockfile found.
[1/4] Resolving packages...
error An unexpected error occurred: "https://registry.yarnpkg.com/@expo%2fbunyan: User not found".
info If you think this is a bug, please open a bug report with the information provided in "/Users/ericmasiello/Sites/AppName/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
`yarnpkg add --dev --exact --ignore-optional react-native-scripts` failed
Expected Behavior
- First ran
npm install -g create-react-native-app
(installed without error or warning) - Then ran
create-react-native-app AppName
- Expected to be able to then continue with the instructions explained here https://facebook.github.io/react-native/docs/getting-started.html
Observed Behavior
After running Then ran
create-react-native-app AppName` I saw the following output:
yarn add v0.17.10
info No lockfile found.
[1/4] 🔍 Resolving packages...
error An unexpected error occurred: "https://registry.yarnpkg.com/@expo%2fbunyan: User not found".
info If you think this is a bug, please open a bug report with the information provided in "/Users/ericmasiello/Sites/AppName/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
`yarnpkg add --dev --exact --ignore-optional react-native-scripts` failed
Also, by running cat yarn-error.log
I see the following output:
Arguments:
/Users/ericmasiello/.nvm/versions/node/v8.1.4/bin/node /usr/local/Cellar/yarn/0.27.5_1/libexec/bin/yarn.js add --dev --exact --ignore-optional react-native-scripts
PATH:
/Library/Frameworks/Python.framework/Versions/3.6/bin:/Users/ericmasiello/.nvm/versions/node/v8.1.4/bin:~/Library/Android/sdk/tools:~/Library/Android/sdk/platform-tools:~/Development/mongodb-osx-x86_64-3.2.6/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:~/Library/Python/3.6/bin
Yarn version:
0.27.5
Node version:
8.1.4
Platform:
darwin x64
npm manifest:
{
"name": "AppName",
"version": "0.1.0",
"private": true
}
yarn manifest:
No manifest
Lockfile:
No lockfile
Trace:
Error: https://registry.yarnpkg.com/@expo%2fbunyan: User not found
at Request.params.callback [as _callback] (/usr/local/Cellar/yarn/0.27.5_1/libexec/lib/yarn-cli.js:58200:18)
at Request.self.callback (/usr/local/Cellar/yarn/0.27.5_1/libexec/lib/yarn-cli.js:114242:22)
at emitTwo (events.js:125:13)
at Request.emit (events.js:213:7)
at Request.<anonymous> (/usr/local/Cellar/yarn/0.27.5_1/libexec/lib/yarn-cli.js:115225:10)
at emitOne (events.js:115:13)
at Request.emit (events.js:210:7)
at IncomingMessage.<anonymous> (/usr/local/Cellar/yarn/0.27.5_1/libexec/lib/yarn-cli.js:115145:12)
at Object.onceWrapper (events.js:314:30)
at emitNone (events.js:110:20)
Environment
Please run these commands in the project folder and fill in their results:
npm ls react-native-scripts
:
AppName@0.1.0 /Users/ericmasiello/Sites/AppName └── (empty)
npm ls react-native
:
AppName@0.1.0 /Users/ericmasiello/Sites/AppName └── (empty)
npm ls expo
:
AppName@0.1.0 /Users/ericmasiello/Sites/AppName └── (empty)
node -v
: v8.1.4npm -v
: 5.3.0yarn --version
: 0.27.5watchman version
:
{ “version”: “4.7.0” }
Also specify:
- Operating system: macOS Siera version 10.12.6
- Phone/emulator/simulator & version: N/A
Reproducible Demo
Please provide a minimized reproducible demonstration of the problem you’re reporting.
Issues that come with minimal repro’s are resolved much more quickly than issues where a maintainer has to reproduce themselves.
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Error when installed react-native-cli command not found
In your terminal check that the path /usr/local/share/npm/bin is present in /etc/paths , using echo $PATH. If not use 'sudo nano /etc/paths' to...
Read more >Troubleshooting AWS CLI errors - AWS Command Line Interface
Command not found errors · Possible cause: You're trying to use an AWS CLI feature newer than your installed version, or have incorrect...
Read more >Unable to install xcode command line developer tools
When I click install I get the following error. Can't install the software because it is not currently available from the Software Update...
Read more >Troubleshooting for the IBM Cloud CLI
This error is caused by an expired login token. Log in again by running the following command: ibmcloud login. Why is the image...
Read more >Common errors | npm Docs
Broken npm installation · Random errors · No compatible version found · Permissions errors · Error: ENOENT, stat 'C:\Users\<user>\AppData\Roaming\npm' on Windows 7 ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
maybe this is related? https://github.com/yarnpkg/yarn/issues/1394
I am getting a similar error. Cannot install @expo/bunyan at all. npm update does nothing,
$/npm install @expo/bunyan
npm ERR! Darwin 15.2.0 npm ERR! argv “/usr/local/bin/node” “/usr/local/bin/npm” “install” @expo/bunyan npm ERR! node v7.7.1 npm ERR! npm v4.1.2
npm ERR! Invalid name: (A)expo/bunyan (@ wont work) npm ERR! npm ERR! If you need help, you may report this error at: npm ERR! https://github.com/npm/npm/issues
npm ERR! Please include the following file with any support request: npm ERR! /Code/node/npm-debug.log
npm-debug.log says @expo doesnt exist:
9 silly mapToRegistry name @expo/bunyan 10 silly mapToRegistry scope (from package name) @expo 11 verbose mapToRegistry no registry URL found in name for scope @expo 12 silly mapToRegistry using default registry 13 silly mapToRegistry registry https://registry.npmjs.org/ 14 silly mapToRegistry data Result { 14 silly mapToRegistry raw: ‘@expo/bunyan’, 14 silly mapToRegistry scope: ‘@expo’, 14 silly mapToRegistry escapedName: ‘@expo%2fbunyan’, 14 silly mapToRegistry name: ‘@expo/bunyan’, 14 silly mapToRegistry rawSpec: ‘’, 14 silly mapToRegistry spec: ‘latest’, 14 silly mapToRegistry type: ‘tag’ } 15 silly mapToRegistry uri https://registry.npmjs.org/@expo%2Fbunyan 16 verbose request uri https://registry.npmjs.org/@expo%2Fbunyan 17 verbose request no auth needed 18 info attempt registry request try #1 at 4:05:30 PM 19 verbose request id c1bf9e100b2ef665 20 verbose etag W/“599f7325-f04a” 21 verbose lastModified Fri, 25 Aug 2017 00:45:25 GMT