react-yelp-clone icon indicating copy to clipboard operation
react-yelp-clone copied to clipboard

Problem with react-dom, react-router

Open mtndew1 opened this issue 9 years ago • 0 comments

problem when install --save react react-dom, --save react-router, and npm i -S [dependencies]. do I need to create a debug.log? or there is something wrong with my code?

Thx

ShenghandeMacBook-Pro:smap Han$ npm install --save react react-dom [email protected] /Users/Han/Desktop/smap ├── [email protected] └── [email protected]

npm WARN [email protected] No repository field. ShenghandeMacBook-Pro:smap Han$ npm install --save react-router [email protected] /Users/Han/Desktop/smap └── [email protected]

npm WARN [email protected] No repository field. ShenghandeMacBook-Pro:smap Han$ npm i -S [dependencies] npm ERR! addLocal Could not install /Users/Han/Desktop/smap/[dependencies] npm ERR! Darwin 16.0.0 npm ERR! argv "/usr/local/Cellar/node/7.0.0/bin/node" "/Users/Han/.npm-packages/bin/npm" "i" "-S" "[dependencies]" npm ERR! node v7.0.0 npm ERR! npm v3.10.9 npm ERR! path /Users/Han/Desktop/smap/[dependencies] npm ERR! code ENOENT npm ERR! errno -2 npm ERR! syscall open

npm ERR! enoent ENOENT: no such file or directory, open '/Users/Han/Desktop/smap/[dependencies]' npm ERR! enoent ENOENT: no such file or directory, open '/Users/Han/Desktop/smap/[dependencies]' 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! Please include the following file with any support request: npm ERR! /Users/Han/Desktop/smap/npm-debug.log

mtndew1 avatar Nov 10 '16 09:11 mtndew1