question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Doesn't work with node >= 7

See original GitHub issue

During installDeps.sh there are multiple deprecations:

npm WARN deprecated jade@0.26.3: Jade has been renamed to pug, please install the latest version of pug instead of jade
npm WARN deprecated graceful-fs@2.0.3: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated minimatch@1.0.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue

the graceful-fs package causes etherpad to be incompatible with node >= 7.0 and causes etherpad to crash with

 module.js:474
     throw err;
     ^
 Error: Cannot find module 'internal/fs'
     at Function.Module._resolveFilename (module.js:472:15)
     at Function.Module._load (module.js:420:25)
     at Module.require (module.js:500:17)
     at require (internal/module.js:20:19)
     at evalmachine.<anonymous>:17:20
     at Object.<anonymous> (/opt/etherpad/src/node_modules/npm/node_modules/graceful-fs/fs.js:11:1)
     at Module._compile (module.js:573:32)
     at Object.Module._extensions..js (module.js:582:10)
     at Module.load (module.js:490:32)
     at tryModuleLoad (module.js:449:12)

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:7
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
DocMAXcommented, Nov 7, 2016

please fix that stupid error!!!

3reactions
Garedcommented, Nov 19, 2016

NPM needs an update. My changes worked so far and I can hopefully provide a PR tomorrow.

Read more comments on GitHub >

github_iconTop Results From Across the Web

node.js - Latest NodeJS compatible with Windows 7
I am trying to install NodeJS for windows 7. I tried installing the most recent NodeJS but it is not compatible with Windows...
Read more >
How to resolve 'node' is not recognized as an internal or ...
Open the Environment Variables option in your Control Panel. · Select the variable named Path. · Restart the command prompt again and now...
Read more >
6 reasons your Node.js apps are failing - IBM Developer
6 reasons your Node.js apps are failing · 1. Uncaught exceptions or error events in JavaScript code · 2. Excessive memory usage, which...
Read more >
Common errors | npm Docs
The error Error: ENOENT, stat 'C:\Users\<user>\AppData\Roaming\npm' on Windows 7 is a consequence of joyent/node#8141, and is an issue with the Node ...
Read more >
npm does not support Node.js v10.19.0 · Issue #3644 - GitHub
If you have nvm you can try re-installing node versions. Make sure you switch to the version of node for which your npm...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found