-
Notifications
You must be signed in to change notification settings - Fork 216
Description
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
smap@1.0.0 /Users/Han/Desktop/smap
├── react@15.3.2
└── react-dom@15.3.2
npm WARN smap@1.0.0 No repository field.
ShenghandeMacBook-Pro:smap Han$ npm install --save react-router
smap@1.0.0 /Users/Han/Desktop/smap
└── react-router@3.0.0
npm WARN smap@1.0.0 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