Skip to content

Problem with react-dom, react-router #17

Open
@mtndew1

Description

@mtndew1

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions