FirebaseExtended / bolt

Bolt Compiler (Firebase Security and Modeling)
Apache License 2.0
897 stars 107 forks source link

SyntaxError: Use of const in strict mode. #245

Closed lukepighetti closed 6 years ago

lukepighetti commented 6 years ago

Hello, looks like a dep is breaking on my Codeship pipeline. I don't have this issue on my dev environment running Node 8 LTS. Any ideas?

bolt: Generating lib/rules.json...

/home/rof/src/github.com/lukepighetti/when-coin-3/firebase/database/node_modules/firebase-bolt-compiler/node_modules/update-notifier/index.js:2
const spawn = require('child_process').spawn;
^^^^^
SyntaxError: Use of const in strict mode.
at Module._compile (module.js:439:25)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous> (/home/rof/src/github.com/lukepighetti/when-coin-3/firebase/database/node_modules/firebase-bolt-compiler/bin/firebase-bolt-compiler:2:24)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
lukepighetti commented 6 years ago

Was on a very old version of Node, nothing to see here.