You are viewing a single comment's thread from:

RE: New NPM Supply Chain Attack, so I released a new scanner.

in #security9 hours ago

What does this mean:

"SyntaxError: Unexpected token {
at Module._compile (internal/modules/cjs/loader.js:723:23)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)"

Thanks!

Sort:  

What version of node you running?

node -v

I suspect you are using a real old version of node.

I pushed an updated version that gives an error for this, the repo specifies minimium version is 18 which is fairly old already.