reactjs - 我用过这个命令 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
解决方案
您是否使用 初始化项目npm init
?
推荐阅读
- ios - iOS字体freetype trueType AAT
- java - 如何为 ubuntu 系统增加 java heapsize?
- javascript - Uncaught TypeError: r is not a function at index.js:1
- vue.js - fontawesome 错误“找不到一个或多个图标”
- angularjs - 为什么在模态的ie11中不调用ng-click,但在没有模态的相同结构上工作?
- sql - SQL Server 一列数据作为行,另一列作为列
- laravel - 雄辩的模型 setRelation 生成数组而不是 Collection
- javascript - 用户定义的函数如何在 javascript 中继承原型属性
- powershell - PowerShell 中的 bool[] 中是否可以包含 [Nullable[bool]]
- php - 获取列名中的特定自定义参数值