npm run build throws code ELIFECYCLE after installing all dependencies for lodash
npm run build throws code ELIFECYCLE after installing all dependencies for lodash
I have been trying to run the lodash library on my system.Here is the link to the library .link to lodash github
. I forked the repo and then cloned it on my system .I ran npm install ad installed all the dependencies in the package.json by running npm install and it worked fine .After that i tried npm run build as shown on github page and I am getting this error .
module.js:549
throw err;
^
Error: Cannot find module '/home/satya/lodash/lib/main/build-dist.js'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:191:16)
at bootstrap_node.js:612:3
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! lodash@4.17.4 build:main: `node lib/main/build-dist.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the lodash@4.17.4 build:main script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
How do I resolve the above so that I can introduce console logs and start reading .
You may already have it running in another git bash window.
– iPzard
Sep 16 '18 at 17:45
No .I have only command line running on my system now
– satyajeet jha
Sep 16 '18 at 17:46
I'm a little confused why you're asking about that here, instead of the place you literally linked us to as being the authoritative source. They have an issue tracker, did you file this on github.com/lodash/lodash/issues to ask them whether this is a known issue and where the documentation is that explains how to deal with it?
– Mike 'Pomax' Kamermans
Sep 16 '18 at 17:51
0
Thanks for contributing an answer to Stack Overflow!
But avoid …
To learn more, see our tips on writing great answers.
Required, but never shown
Required, but never shown
By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy
Possible duplicate of npm ERR! code ELIFECYCLE
– VLAZ
Sep 16 '18 at 17:42