Can't update node / npm audit security report


#1

I want update node from 8.2.11 to 10.5.0 but when i use npm update command then i receive error https://pastebin.com/qVf9qCjW

Second problem:


How to fix this?


#2

You can change the version of Node a project uses by updating the engine value in package.json, see https://glitch.com/help/node/

Note however that 10.5 is not yet available on Glitch. Here’s a list of currently available versions: https://nodeversions.glitch.me/


#3

Thanks. What about my second problem? Is this something important? Should it be fixed?


#4

You can update the versions of packages you use using the npm menu at the top of the editor window when viewing the package.json file. Newer versions are highlighted for you automatically.


#5

What about npm audit? How fix this critical errors?


#6

Changing the node version used will upgrade the npm version too. But projects on Glitch use pnpm not npm by default.


#7

fs.js:757

return binding.writeBuffer(fd, buffer, offset, length, position);

               ^

Error: ENOSPC: no space left on device, write

at Object.fs.writeSync (fs.js:757:20)

at Object.fs.writeFileSync (fs.js:1336:24)

at process.on (/home/nvm/pnpm/lib/node_modules/pnpm/lib/node_modules/pnpm-file-reporter/lib/index.js:25:12)

at process.emit (events.js:185:15)

at processEmit [as emit] (/home/nvm/pnpm/lib/node_modules/pnpm/lib/node_modules/signal-exit/index.js:149:35)

at process.exit (internal/process.js:140:15)

at Timeout.setTimeout [as _onTimeout] (/home/nvm/pnpm/lib/node_modules/pnpm/lib/err.js:10:30)

at ontimeout (timers.js:466:11)

at tryOnTimeout (timers.js:304:5)

at Timer.listOnTimeout (timers.js:267:5)

How fix this? This happening when i updating modules.


#8

You’ve filled up your project and it has ran out of space. Run ‘enable-pnpm’ at the console. Then try running ‘git prune’ and ‘git gc’ to help free up some space.


Node installing every 15 minutes