zhoumeitong / react-native-amap-zmt

高德地图插件
10 stars 4 forks source link

install error #1

Open 3449790992 opened 8 years ago

3449790992 commented 8 years ago

york@heyong-wifi ~/work/react/test$npm install 'https://github.com/zhoumeitong/react-native-amap.git' --save npm ERR! addLocal Could not install /var/folders/8j/flj599fs49b0g485kp6mt3nm0000gn/T/npm-4866-90f72580/git-cache-9ad5e197/2aefc366d95b4d3b06ca3ef474fd2fcd9dbc1fb2 npm ERR! Darwin 15.5.0 npm ERR! argv "/usr/local/Cellar/node/5.1.1/bin/node" "/usr/local/bin/npm" "install" "https://github.com/zhoumeitong/react-native-amap.git" "--save" npm ERR! node v5.1.1 npm ERR! npm v3.10.6 npm ERR! code EISDIR npm ERR! errno -21 npm ERR! syscall read

npm ERR! eisdir EISDIR: illegal operation on a directory, read npm ERR! eisdir This is most likely not a problem with npm itself npm ERR! eisdir and is related to npm not being able to find a package.json in npm ERR! eisdir a package you are trying to install.

npm ERR! Please include the following file with any support request: npm ERR! /Users/york/work/react/test/npm-debug.log

zhoumeitong commented 8 years ago

你可以直接下载然后进行手动安装,不通过npm