You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SyntaxError: Unexpected token ...
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:374:25)
at Object.Module._extensions..js (module.js:417:10)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Module.require (module.js:354:17)
at require (internal/module.js:12:17)
at Object. (/usr/local/lib/node_modules/ngma/bin/main.js:11:24)
at Module._compile (module.js:410:26)
at Object.Module._extensions..js (module.js:417:10)
`
The text was updated successfully, but these errors were encountered:
Hi,
After installing ngma with npm install -g ngma I tried to run it on a old angularJS project.
Unfortunately I get this error:
`/usr/local/lib/node_modules/ngma/bin/analysisTool.js:112
allIgnoreGlobs = [...gitignore(rootpath + "/.gitignore"), ...defaultIgnoreGlobs].filter((pattern) => {
^^^
SyntaxError: Unexpected token ...
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:374:25)
at Object.Module._extensions..js (module.js:417:10)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Module.require (module.js:354:17)
at require (internal/module.js:12:17)
at Object. (/usr/local/lib/node_modules/ngma/bin/main.js:11:24)
at Module._compile (module.js:410:26)
at Object.Module._extensions..js (module.js:417:10)
`
The text was updated successfully, but these errors were encountered: