首页 > 解决方案 > 我用过这个命令 npm runeject 它不工作

问题描述

npm run eject

npm ERR! path C:\Users\sudarshan\Desktop\React\package.json
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall open
npm ERR! enoent ENOENT: no such file or directory, open 'C:\Users\sudarshan\Desktop\React\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\sudarshan\AppData\Roaming\npm-cache\_logs\2019-09-05T11_05_36_102Z-debug.log

标签: reactjs

解决方案


您是否使用 初始化项目npm init


推荐阅读