Closed garywu closed 7 years ago
This sounds like an error with an upstream dependency, strip-json-comments
is not used anywhere in spike core or it's tests in the written code. This is strange though, I just tried to replicate it and was unable to...
this is what's using it: ./node_modules/fsevents/node_modules/strip-json-comments
npm list | grep fsevent │ │ ├─┬ fsevents@1.1.2
Ok, fsevents is compiled for the platform you are on if I'm not mistaken. I haven't seen this issue on either mac or windows. Are you running linux?
OS X EL Capitan 10.11.6 I'm a couple of versions behind. Probably not worth changing anything.
I'm going to close this since it's perhaps more related to ava than spike and only in narrow situations.
:zap: description
In a fresh repo, run either yarn install or npm install followed by commit succeeds.
But if npm test is run then the commit will fail with the following:
Not sure why that is but easy solution is just add 'strip-json-comments' as dependency to packages.json
:earth_americas: environment