@sdetweil said in NPM problem "EBADENGINE" which I fail to solve:
try npm I
also tried this. same result :-/
@sdetweil said in NPM problem "EBADENGINE" which I fail to solve:
try npm I
also tried this. same result :-/
@MMRIZE said in NPM problem "EBADENGINE" which I fail to solve:
Install recent nodejs.
I don’t know how you have installed the current version of nodejs. So I cannot give you an exact advice.
Hey @MMRIZE 👋
I used the following command:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
which I found here
this is “nvm” isn’t it?
Hello @sdetweil and thank you for your fast answer!
I tried and pasted your commands in my terminal. Sadly, it didn’t work…
Here’s what it says:
mirror@raspberrypi:~/MagicMirror/modules/MMM-PublicTransportHafas $ node -v
hash -r
node -v
v18.18.0
v18.18.0
mirror@raspberrypi:~/MagicMirror/modules/MMM-PublicTransportHafas $ sudo npm ci
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@stylistic/eslint-plugin@2.1.0',
npm warn EBADENGINE required: { node: '^18.18.0 || ^20.9.0 || >=21.1.0' },
npm warn EBADENGINE current: { node: 'v18.17.1', npm: '10.7.0' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@stylistic/eslint-plugin-js@2.1.0',
npm warn EBADENGINE required: { node: '^18.18.0 || ^20.9.0 || >=21.1.0' },
npm warn EBADENGINE current: { node: 'v18.17.1', npm: '10.7.0' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: 'eslint-visitor-keys@4.0.0',
npm warn EBADENGINE required: { node: '^18.18.0 || ^20.9.0 || >=21.1.0' },
npm warn EBADENGINE current: { node: 'v18.17.1', npm: '10.7.0' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@stylistic/eslint-plugin-jsx@2.1.0',
npm warn EBADENGINE required: { node: '^18.18.0 || ^20.9.0 || >=21.1.0' },
npm warn EBADENGINE current: { node: 'v18.17.1', npm: '10.7.0' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@typescript-eslint/utils@7.9.0',
npm warn EBADENGINE required: { node: '^18.18.0 || >=20.0.0' },
npm warn EBADENGINE current: { node: 'v18.17.1', npm: '10.7.0' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@stylistic/eslint-plugin-ts@2.1.0',
npm warn EBADENGINE required: { node: '^18.18.0 || ^20.9.0 || >=21.1.0' },
npm warn EBADENGINE current: { node: 'v18.17.1', npm: '10.7.0' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@typescript-eslint/utils@7.9.0',
npm warn EBADENGINE required: { node: '^18.18.0 || >=20.0.0' },
npm warn EBADENGINE current: { node: 'v18.17.1', npm: '10.7.0' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@typescript-eslint/scope-manager@7.9.0',
npm warn EBADENGINE required: { node: '^18.18.0 || >=20.0.0' },
npm warn EBADENGINE current: { node: 'v18.17.1', npm: '10.7.0' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@typescript-eslint/types@7.9.0',
npm warn EBADENGINE required: { node: '^18.18.0 || >=20.0.0' },
npm warn EBADENGINE current: { node: 'v18.17.1', npm: '10.7.0' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@typescript-eslint/typescript-estree@7.9.0',
npm warn EBADENGINE required: { node: '^18.18.0 || >=20.0.0' },
npm warn EBADENGINE current: { node: 'v18.17.1', npm: '10.7.0' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@typescript-eslint/visitor-keys@7.9.0',
npm warn EBADENGINE required: { node: '^18.18.0 || >=20.0.0' },
npm warn EBADENGINE current: { node: 'v18.17.1', npm: '10.7.0' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: 'espree@10.0.1',
npm warn EBADENGINE required: { node: '^18.18.0 || ^20.9.0 || >=21.1.0' },
npm warn EBADENGINE current: { node: 'v18.17.1', npm: '10.7.0' }
npm warn EBADENGINE }
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: 'eslint-visitor-keys@4.0.0',
npm warn EBADENGINE required: { node: '^18.18.0 || ^20.9.0 || >=21.1.0' },
npm warn EBADENGINE current: { node: 'v18.17.1', npm: '10.7.0' }
npm warn EBADENGINE }
> mmm-publictransporthafas@2.1.1 prepare
> [ -f node_modules/.bin/husky ] && husky || echo husky is not installed.
added 436 packages, and audited 437 packages in 43s
155 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
It’s as if it doesn’t recognize my used version of node…
Hello everyone!
Since I updated Kristjan Esperanto’s fork of the module "PublicTransportHafas to the newest version I can’t get it to run. When I use the command “npm ci” after “git pull” I just get the following error messages:
Note that I tried and updated the version of node.js to the required version (at least I think I did. It does’t seem to work the way I tried).
Is anyone here who has some experience troubleshooting such node problems? What am I missing? Please help, and Thank you in advance!
Thank you!
An updated npm did the trick for me :)
My Mirror is up again!
/solved
bump
sry for pushing, but I still wasn’t able to solve this problem. My Mirror is dead for about two months now :(
electron just refuses to get installed on my pi
Hello!
I have my Mirror for over two years now and fresh installed it several times.
Since the MM-update to 2.6.0 I’m not able to install it anymore. I even fresh installed the whole system without success so I hope you guys can help me :)
After git pulling the MM files and cd’ing into MagicMirror folder the “npm install” command fails at installing electron-chromedriver.
To me it looks like a permission problem, but even sudo or chown doesn’t do the trick (or maybe I’m to noob).
This is how every attempt to install MM ends:
I’m sure I just miss something very basic :D