An error occurred when use 'npm run test'
xialialia opened this issue · comments
xialiangdeMacBook-Air:re_demo xialiang$ npm run start
npm ERR! path /Users/xialiang/re_demo/package.json
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall open
npm ERR! enoent ENOENT: no such file or directory, open '/Users/xialiang/re_demo/package.json'
npm ERR! enoent This 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! /Users/xialiang/.npm/_logs/2018-11-17T11_22_09_643Z-debug.log
Are you running this inside the client
folder? If not, make sure to do that:
cd client
npm start
The default Truffle project has no package.json
, it's only the React app inside the client
folder that contains it.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been closed, but can be re-opened if further comments indicate that the problem persists. Feel free to tag maintainers if there is no reply to further comments.