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 in v1.6 Cannot find module #2034
Comments
Hello, i have the same problem. I try also : rm -rf node_modules && npm install. But no changes. ===========================================
internal/modules/cjs/loader.js:638 Error: Cannot find module 'zigbee-herdsman/dist/deprecated/ziee' npm ERR! A complete log of this run can be found in:
|
Duplicate of #1892, solution: #1892 (comment) |
@AxHa2111 try this one |
Followed the complete instructions on the site, but when i run "npm Start" I get the following error.
I already tried a manual install and the
rm -rf node_modules && npm install
mentioned elsewhere, but the issue remains.Looking at the error to me it looks like a depreciated module was referenced but has since been removed..
any help is appreciated
`> zigbee2mqtt@1.6.0 start /opt/zigbee2mqtt
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module 'zigbee-herdsman/dist/deprecated/ziee'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (/opt/zigbee2mqtt/lib/zapp/cie.js:6:14)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! zigbee2mqtt@1.6.0 start:
node index.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the zigbee2mqtt@1.6.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2019-09-24T16_30_00_835Z-debug.log`
The text was updated successfully, but these errors were encountered: