简体   繁体   English

我正在尝试安装bcrypt。 这是我的错误

[英]I am trying to install bcrypt. This s error it gives me

npm ERR! Windows_NT 10.0.16299
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "bcrypt"
npm ERR! node v6.11.0
npm ERR! npm  v3.10.10
npm ERR! file C:\Users\Admin\AppData\Roaming\npm-cache\code-point-at\1.1.0\package\package.json
npm ERR! code EJSONPARSE

npm ERR! Failed to parse json
npm ERR! Unexpected token 's' at 1:1
npm ERR! sEDU
npm ERR! ^
npm ERR! File: C:\Users\Admin\AppData\Roaming\npm-cache\code-point-at\1.1.0\package\package.json
npm ERR! Failed to parse package.json data.
npm ERR! package.json must be actual JSON, not just JavaScript.
npm ERR!
npm ERR! This is not a bug in npm.
npm ERR! Tell the package author to fix their package.json file. JSON.parse

npm ERR! Please include the following file with any support request:
npm ERR!     D:\greenstand\2\0105\treetracker-mobile-api-master\treetracker-mobile-api-master\npm-debug.log

like muthukumar said in the comment 就像muthukumar在评论中说的

npm cache clean 

if it doesn't work try : 如果不起作用,请尝试:

1- Delete 'node_modules' folder 1-删除'node_modules'文件夹
2- npm cache clean 2- npm缓存清理
3- npm update 3- npm更新

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 错误:bcrypt 需要数据和 hash arguments。 MongoDB 设置不正确 - error: data and hash arguments required for bcrypt. Incorrect MongoDB setup 我使用 npm 安装然后它给了我一个错误 - I used npm install then it gives me an error 我正在尝试安装 angular 8 但它给了我错误我尝试了很多但它不起作用? - I am trying to install angular 8 but it giving me error I tried so much but its not working? 我正在尝试在可视代码中运行命令 npm install 但它向我显示了这个错误 - i am trying to run the command npm install in visual code but it is showing me this error 我无法使用 npm 安装 bcrypt。 我可以下载除 bcrypt 之外的所有其他 package。 为什么会这样? - I am unable to install bcrypt using npm install. I am able to download every other package except bcrypt . Why is it so? 我正在尝试使用NPM安装IPFS模块,但出现以下错误 - I am trying to install IPFS module with NPM but getting following error 我正在创建一个 Node.js 应用程序,我需要安装 ejs,但我无法安装它。 它向我显示以下错误 - I am creating an Node.js app and I need to install ejs but I am unable to install it. It is showing me the following error 在nodeJS中使用搜寻器不会给我任何结果,但是当我在浏览器中尝试相同的代码时,它会给我。 我的代码有什么问题? - Using crawler in nodeJS is not giving me any result but when I am trying same code in browser it gives. What is wrong with my code? 当我尝试使用npm在win8中安装某些软件包时,总是会出现这样的错误 - when i try to use npm to install some package in my win8, it always gives me error like this 我无法安装 bcrypt - i can't install bcrypt
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM