Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Cannot find module ˋnode-fetchˋ after latest MagicMirror update #43

Closed
AWSW-de opened this issue Oct 2, 2023 · 3 comments · Fixed by #44
Closed

Error: Cannot find module ˋnode-fetchˋ after latest MagicMirror update #43

AWSW-de opened this issue Oct 2, 2023 · 3 comments · Fixed by #44

Comments

@AWSW-de
Copy link

AWSW-de commented Oct 2, 2023

Hi,
I got this error today „Cannot find module ˋnode-fetchˋ“ after latest MagicMirror update. See pictures below.

I am running an Raspberry Pi 4 with the latest bullseye release.

After disabling this module the Magic Mirror did start again.

Thanks in advance. =)

IMG_0116

IMG_0117

@devtobi
Copy link

devtobi commented Oct 2, 2023

I can confirm that as well. Same behaviour.

@rabbit83ka
Copy link
Contributor

rabbit83ka commented Oct 3, 2023

It's due to a change in node.js, that's why you have to install node-fetch manually (Version 2.x). From inside the module folder (../MagicMirror/modules/MMM-DWD-WarnWeather):
npm install node-fetch@2

@AWSW-de
Copy link
Author

AWSW-de commented Oct 4, 2023

It's due to a change in node.js, that's why you have to install node-fetch manually (Version 2.x). From inside the module folder (../MagicMirror/modules/MMM-DWD-WarnWeather): npm install node-fetch@2

Thanks! It works again now =)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants