Fork me on GitHub
#calva
<
2021-08-13
>
amar02:08:55

I'm trying to follow the instructions on the https://github.com/BetterThanTomorrow/calva/wiki/How-to-Hack-on-Calva and ran into

Run `npm audit` for details.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] prewatch: `npm i && npm run clean && npm run update-grammar && npm run compile-cljs`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] prewatch script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
The terminal process "zsh '-c', 'npm run watch'" terminated with exit code: 1.
Any ideas? Pretty new to the whole vs code/TS world so probably something silly.

amar02:08:46

if I run npm i && npm run clean && npm run update-grammar && npm run compile-cljs and then run npx tsc -watch -p ./tsconfig.json then things seem to work.

pez05:08:36

This happens to me now and then. I have no clue why. I often get away with deleting node_modules.

amar11:08:14

Thanks. Will try that later today.