Read the statement by Michael Teeuw here.
Cannot find module "moment"
-
After i want to try install twitter(npm) it crashed btw. Then i can’t access my localhost. I use PI Zero W .Here is my logs:
-
@uok825 that is calendar having trouble… how did u install MM?
that should have been loaded when npm install was done
2.16 is the current version… 2.13 is 9 months ago
-
@sdetweil i tryed to unistall twitter. May be thats the cause. Sorry for bad English. I ran your update script.
-
@uok825 update is AFTER u have been running, and a new release comes out…
it takes two steps…
1 1st run is a test run to tell you what might be issues… maybe u need to save some files, or something…
or u made changes to module files and forgot u did that
2 rerun with a parameter to actually DO the updateif u don’t do 2, then you didn’t update
twitter should have no effect
which twitter module?
-
@sdetweil https://github.com/AdamMoses-GitHub/MMM-TwitterTrendsByPlace
But i cant install that -
@uok825 well, its because he did a bad thing, and didn’t document that he needed the ‘twitter’ library module
(there is no package.json file to document the module dependencies)
but his node_helper.js says require(‘twitter’);go to the module folder and do
npm install twitter -
@sdetweil Yeah i know. When i tried to npm install twitter. The electron has been failed cause i think the Pi zero stuff. Then its failed, i tried npm uninstall twitter. And the problem started.
-
@uok825 there is no electron for pi 0… if u install with my script, I setup server mode and then launch chromium over the server… (doing npm start , starts my run-start.sh script)
-
@sdetweil I installed with your script. Its been working for a 1,5 years. Now its broken what can i do?
-
@sdetweil Anything you can help me?