react-native-ar / react-native-arkit

React Native binding for iOS ARKit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot install using npm

comur opened this issue · comments

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

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

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

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

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.

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

thank you!