简体   繁体   中英

I downloaded a zip and extracted the files but I can't run it using npm start : reactj.s

npm run start

npm ERR! code ENOENT

npm ERR! syscall open

npm ERR! path C:\Users\xsaya\Downloads\dates-bazaar-master\package.json

npm ERR! errno -4058npm ERR! enoent ENOENT: no such file or directory, open 'C:\Users\xsaya\Downloads\dates-bazaar-master\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!     C:\Users\xsaya\AppData\Roaming\npm-cache\_logs\2020-08-26T08_29_51_127Z-debug.log

You can try one of:

  1. First run

    npm init

    To create package.json

  2. Delete package-lock.json if you have it

See if there is a package.json file.

And did you do: npm install

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM