Read the statement by Michael Teeuw here.
Adding new modules leads to irreversible error
-
@rudibarani IF the mirror runs fine the error is of no concern. They know it’s there but it hasn’t been a problem.
Good luck.
-
Hi everyone,
thanks for your help and feedback. I have completely wiped my system and started again from scratch. This time, I can add modules without any errors. This indicates, that there likely was a problem with the framework nodejs and or MM2 depended on.There is one noticeable difference: When I am connected using SSH, I can only start the Mirror using
node serveronly
The command I used up to now
DISPLAY=:0 npm start
does not work any more.
Is this intended behaviour? -
I also started having this issue. To be more precise, attempting to load any module which utilizes a node_helper results in the same error.
I then realized that I’d mistakenly deleted the MagicMirror/modules/node_modules/ folder (thinking that I’d somehow put it there by mistake.To resolve: try to put node_modules back, along with the node_helper folder within it.
-
@jfisher446 said in Adding new modules leads to irreversible error:
To resolve: try to put node_modules back, along with the node_helper folder within it.
To accomplish this you can run
npm install
in the MagicMirror directory.EDIT
I just realized that you responded to a one year old post. :-)
-
Top Google results ftw :)
Your suggestion would have been helpful to know though. Thanks for the info!