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

Cannot install using npm #103

Closed
comur opened this issue Oct 31, 2017 · 7 comments · Fixed by #108
Closed

Cannot install using npm #103

comur opened this issue Oct 31, 2017 · 7 comments · Fixed by #108

Comments

@comur
Copy link

comur commented Oct 31, 2017

Hi,

Thanks for this repo.

I have a problem when I try to install it:

npm install react-native-arkit@0.4.2 --save

npm ERR! addLocal Could not install [PROJECT_DIR]/node_modules/react-native-arkit/_PocketSVG@git+https:/github.com/pocketsvg/PocketSVG.git
npm ERR! path [PROJECT_DIR]/node_modules/react-native-arkit/_PocketSVG@git+https:/github.com/pocketsvg/PocketSVG.git
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall open
npm ERR! enoent ENOENT: no such file or directory, open '[PROJECT_DIR]/node_modules/react-native-arkit/_PocketSVG@git+https:/github.com/pocketsvg/PocketSVG.git'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR! [USER_DIR]/.npm/_logs/2017-10-31T11_09_05_093Z-debug.log

Am I missing something ?

node v8.0.0
npm v4.6.1

Thanks

@macrozone
Copy link
Collaborator

macrozone commented Oct 31, 2017 via email

@macrozone macrozone mentioned this issue Nov 5, 2017
2 tasks
@HolaMan
Copy link

HolaMan commented Nov 10, 2017

+1
yarn and npm install doesn't work!!

@macrozone
Copy link
Collaborator

@HolaMan only yarn version >= 1.0 is supported. Verify that you have at least yarn version 1.0

@tetreault
Copy link

is this resolved? Why was it closed if it is still linked to in the README?

@SujinParkdev
Copy link

SujinParkdev commented Oct 19, 2018

I have same problem with you.

npm install react-native-arkit
npm ERR! code ENOSELF
npm ERR! Refusing to install package with name "react-native-arkit" under a package
npm ERR! also called "react-native-arkit". Did you name your project the same
npm ERR! as the dependency you're installing?
npm ERR!
npm ERR! For more information, see:
npm ERR! https://docs.npmjs.com/cli/install#limitations-of-npms-install-algorithm

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/sujin/.npm/_logs/2018-10-19T13_09_08_052Z-debug.log

How can I install npm?
I already checked my npm, yarn, node version. It doesn't matter.

@tetreault
Copy link

In your case @SujinParkdev it says Did you name your project the same as the dependency you're installing?

@SujinParkdev
Copy link

thank you!

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

Successfully merging a pull request may close this issue.

5 participants