Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm install fails when react-native running #13

Closed
pashute opened this issue Apr 25, 2018 · 1 comment
Closed

npm install fails when react-native running #13

pashute opened this issue Apr 25, 2018 · 1 comment

Comments

@pashute
Copy link

pashute commented Apr 25, 2018

I took js files for some "pages" I'm making from a project that uses react-native-action-bar.

I get: Unable to resolve "react-native-action-bar" from ..."./C:\\mypath\\pages\\Mypage.js

I then run npm i react-native-action-bar and get

 `-- react-navigation@1.5.11
 `-- react-native-tab-view@0.0.74  (git://github.com/react-navigation/react-native-tab-view.git#36ebd834d78b841fc19778c966465d02fd1213bb)
.
.

Error: EPERM: operation not permitted, scandir ... cannot rename ...

Turns out it's not a react-native-action-bar issue... So I'll give an answer and close this, but wanted to help others who may encounter this kind of problem.

@pashute
Copy link
Author

pashute commented Apr 25, 2018

Answers here: expo/create-react-native-app#191

The error message can be misleading. My problem was that I had a react-native-cli window open (with yarn start). Closed it. Installed OK. Then ran the react-native-cli again, and all's ok now.

@pashute pashute closed this as completed Apr 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant