CryptoJS icon indicating copy to clipboard operation
CryptoJS copied to clipboard

Cannot install with npm

Open lysyiandrii opened this issue 9 years ago • 2 comments

We are migrating from bower package manager to npm. And we have faced with issue that we cannot install cryptojslib as npm module. Our package json file looks like next: "dependencies": { "backbone": "~1.3.2", "codemirror": "5.29.0", "cryptojslib": "sytelus/CryptoJS.git#v3.1.2", } As you can see we want to install cryptojslib from github repository with specific tag version. While npm installing we realized that we cannot install cryptojslib package via npm because cryptojslib repository has no package.json file. Please add this file to github repository.

lysyiandrii avatar Aug 31 '17 15:08 lysyiandrii

Since the repository lacks a package.json, have you considered using npm install https://github.com/sytelus/CryptoJS/archive/v3.1.2.tar.gz or creating a local patch via npm install with a shell script to generate the manifest file on the fly?

dredonjaquana26 avatar Sep 06 '26 05:09 dredonjaquana26

-jspackage on npm which already has properpackage.json` support. *

absolutegar avatar Oct 04 '26 06:10 absolutegar