[英]How do i Solve the following error while runnin npm install mysqljs/mysql?
我想將Mysql安裝到我的node.js項目中。 我嘗試使用這些命令安裝它
npm install mysqljs/mysql
npm install mysql
但我得到以下錯誤
npm WARN saveError ENOENT: no such file or directory, open 'C:\Users\cbshr\package.json'
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\cbshr\package.json'
npm WARN cbshr No description
npm WARN cbshr No repository field.
npm WARN cbshr No README data
npm WARN cbshr No license field.
npm install mysqljs/mysql
npm install mysql
npm WARN saveError ENOENT: no such file or directory, open 'C:\Users\cbshr\package.json'
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\cbshr\package.json'
npm WARN cbshr No description
npm WARN cbshr No repository field.
npm WARN cbshr No README data
npm WARN cbshr No license field.
您需要從包含項目的文件夾中運行終端。 根據該消息,終端從C:\\Users\\cbshr\\
。
在Windows中,按住Shift鍵並右鍵單擊該文件夾並選擇“在此處打開命令窗口”或使用cd命令導航到包含項目的文件夾。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.