Open johnsnow20087349 opened 6 years ago
Looking at the error message, it appears your script is still looking for crypto-js-develop
.
the 2nd picture was captured before I change the dir name to "crypto-js", I try npm install today, but still get this:
if I lack some information you need, please contact me
Try npm i crypto-js@3.1.9-1
or npm i crypto-js@latest
You could upgrade the npm version to V5 if the cmd above failed.
Tested on node@9.2.0 and npm@5.5.1 , everything is fine.
this works, thanks my node -v: 6.9.5
this is still broken with node v18
npm i crypto-js@latest
can you suggest alternatives?
npm install error
os: win10 64bit js: angular4 + typescript crypto version: latest I can't install using npm install crypto-js![crpto](https://user-images.githubusercontent.com/14345551/32763516-1b51085c-c93b-11e7-84d9-13750f83b45d.png)
then I download the zip, unzip it, move the directory to node_modules manually, change dir name from "crypto-js-develop" to "crypto-js",
const CryptoJS = require("crypto-js");
but my nodejs compiler show error:can't resolve it, any advice?