Skip to content

Commit

Permalink
Trick npm into installing a newer version of ejs
Browse files Browse the repository at this point in the history
The build on CircleCI is breaking because ejs 2.x required by nodeunit is erroring during install with "SyntaxError: Unexpected strict mode reserved word".

Here I'm hacking package*.json so it installs a newer version of ejs. 'npm install' fixes this hack to package-lock.json so there's an ongoing issue, but this at least fixes the build on CircleCI.
  • Loading branch information
JoshData committed Jun 7, 2020
1 parent f020af9 commit 6a5922e
Show file tree
Hide file tree
Showing 2 changed files with 67 additions and 5 deletions.
69 changes: 65 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@
"gulp-gzip": "^1.2.0",
"gulp-rename": "^1.2.0",
"gulp-uglify": "^1.5.2",
"nodeunit": "^0.11.3"
"nodeunit": "^0.11.3",
"ejs": "^3.1.3"
},
"engines": {
"node": ">=0.10"
Expand Down

0 comments on commit 6a5922e

Please sign in to comment.