You are viewing a single comment's thread from:

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

in #security22 days 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.

v 10.19.0

I have to install a new distro, because I need to lose systemd, and when I built this box and installed Ubuntu in 2020 I had never even used Linux before. For some reason when I update&&upgrade I get problems because the drive partition that stores kernels is too small at ~500mb. I've suffered that issue long enough and it's time to update my hardware anyway. I need a new MB and HD (new to me). Got any crap laying around you'd sell reasonably? 550 or better MB and at least a T of space on a drive of any type, so I can back up my data instead of losing all my dank memes when I inevitably screw up transitioning from Ubuntu to a freedom friendly distro like Devuan or Lunduke.

You can use nvm to install any version of node easily.

I'm confident you're right, but what I really need is a new AM4 board and drive. I have cold, hard Hive burning a hole in my pocket. Also, what is NVM?