endel / increase-memory-limit

Increase memory limit for local node binaries ("max-old-space-size")
http://npmjs.com/package/increase-memory-limit
MIT License
267 stars 26 forks source link

cross-env not found #20

Open starryeyez024 opened 5 years ago

starryeyez024 commented 5 years ago

I added this package as a dependency in my package.json, and also added the script to package.json.

I ran npm install successfully, but when i run npm run fix-memory-limit I get:

> cross-env LIMIT=4096 increase-memory-limit
sh: cross-env: command not found
LuongTruong commented 5 years ago

you can use npm install cross-env

kumaresan-subramani commented 5 years ago

you can use these commands:

npm install -g increase-memory-limit

increase-memory-limit

https://www.npmjs.com/package/increase-memory-limit