Closed dKab closed 5 years ago
Same here any fix @dKab
@ashinga48 nope, sorry, I don't know how to fix this.
Try running from the PR to workaround this until merged/release.
@bartolkaruza's PR is now avaialble on increase-memory-limit@1.0.7
! 🎉
After upgrading to 1.0.7 I have new error - of the same type, but with different package. This time it's lint-staged package that gets broken.
husky > pre-commit (node v10.13.0)
/node_modules/lint-staged/index.js:9 node --max-old-space-size=4096: '>=8.6.0' ^^
SyntaxError: Unexpected token --
Should we reopen this one or create new?
After I run
cross-env LIMIT=4096 increase-memory-limit
I am no longer able to do git commit. This is because I use husky for git -hooks and apparently it usesrun-node
package. This package gets damaged bycross-env LIMIT=4096 increase-memory-limit
and stops functioning. I'm forced torm -rf node_modules
to be able to commit again.Here's the error that it gives me:
node_modules/run-node/run-node: line 26: syntax error near unexpected token
(' node_modules/run-node/run-node: line 26:
has_node --max-old-space-size=4096() {'