Read the statement by Michael Teeuw here.
Can you help me about this error
-
-
I’d like to see any errors from your terminal and/or your console
-
@justjim1220
info it worked if it ends with ok
1 verbose cli [ ‘/usr/bin/node’, ‘/usr/bin/npm’, ‘start’ ]
2 info using npm@3.10.10
3 info using node@v6.13.1
4 verbose stack Error: ENOENT: no such file or directory, open ‘/home/pi/MagicMirror/modules/package.json’
4 verbose stack at Error (native)
5 verbose cwd /home/pi/MagicMirror/modules
6 error Linux 4.9.59-v7+
7 error argv “/usr/bin/node” “/usr/bin/npm” “start”
8 error node v6.13.1
9 error npm v3.10.10
10 error path /home/pi/MagicMirror/modules/package.json
11 error code ENOENT
12 error errno -2
13 error syscall open
14 error enoent ENOENT: no such file or directory, open ‘/home/pi/MagicMirror/modules/package.json’
15 error enoent ENOENT: no such file or directory, open ‘/home/pi/MagicMirror/modules/package.json’
15 error enoent This is most likely not a problem with npm itself
15 error enoent and is related to npm not being able to find a file.
16 verbose exit [ -2, true ]this is my npm-debug.log
i dont understand it i think its a problem with package .js
i try to start with npm start -dev for a error log
where is the error log in wich folder?thanks for your help
-
This is after only 15 min of MM running
-
@fonfon
One of your modules is usingpromise patternbut not handling rejection. Usually this is caused by missing some exception handling in module.
I cannot figure out which module is causing that message. You can find which module has problem by disabling or removing module fromconfig.jsone-by-one.
Maybe your suspicious module might haveSOMETHING.hashin its codes. the error will be caused objectSOMETHINGis reallynull. so, when you find which module has the error, tell the module developer the symptom. (S)he will fix it. -
@fonfon
And one more thing.
Most of thoseUnhandledPromiseRejectionWarningdoes not give harm to MM’s execution, the real problem isTypeError: Cannot read property 'hash' of null. You should find which module is causing this message. -
@fonfon said in Can you help me about this error:
i try to start with npm start -dev for a error log
where is the error log in wich folder?Start MM with
npm start dev. This opens the Developers Tools window. Click “Console” tab at the top of the window. Here you will find any errors. It does not save as a log.Follow Sean’s suggestion (and mine) that you determine which module is causing the issue. Then paste the errors from that module here.
-
@mykle1 When i start with npm start dev:

-
Do you get that error with just the default modules?
-
@mykle1 yes with default modules
-
@fonfon said in Can you help me about this error:
only with pir module its good
but after with wunderground or google maps traffic module i have a lot of error or other…Above you said with pir module its good . . . .
So now I am confused. I think that perhaps we don’t understand each other. Run MM with ONLY the default modules. If you are having trouble that way then your problem lies with your installation of MM.
-
@fonfon
I think there is invalid ’timezone’ value in your config(whichever it is)
Have you set any value with ’Etc/gmt+1’? -
@sean yes in my config for clock module i have gmt +1
-
@fonfon
UseEtc/GMT+1insteadEtc/GMT+01.
But, this modifying only can fix your front-end error ofMoment Timezone has no data for..., not yourUnhandledPromise...error in the background-server.
You should remove modules one-by-one to figure out which module is causing that error. -
@fonfon
And Could you tell us which modules are in yourconfig.js? -
OK guys i think i find my problems:
You have included the Google Maps JavaScript API multiple times on this page.This may cause unexpected errors
The google trafic module is the causeAn idea to fix it ?
thanks
-
@fonfon
First, I think you’d better ask the creator on Github.
Second, Have you registered that module once? -
Hi,
ok when i started only MMM-GoogleMapsTraffic in dev mode:
Dev say i start with 5 keys but in my config file i have only one !
what is the problem ?
thanks
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login


