This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
Closed
athom-cli error "Error: Cannot find module 'commander'"

Hi
Trying to go through the steps to install test apps and getting stuck early on... Can anyone advise please?
Using Windows 10, following the guide: https://developers.athom.com/library/getting-started/
Installed nodejs v5.7.1 stable
ran command prompt as administrator
typed 'npm install -g athom-cli'
Now no matter what I seem to try I continue to get the following:
Any help appreciated! Thanks.
Trying to go through the steps to install test apps and getting stuck early on... Can anyone advise please?
Using Windows 10, following the guide: https://developers.athom.com/library/getting-started/
Installed nodejs v5.7.1 stable
ran command prompt as administrator
typed 'npm install -g athom-cli'
Now no matter what I seem to try I continue to get the following:
C:\WINDOWS\system32>athom module.js:341 throw err; ^ Error: Cannot find module 'commander' at Function.Module._resolveFilename (module.js:339:15) at Function.Module._load (module.js:290:25) at Module.require (module.js:367:17) at require (internal/module.js:16:19) at Object.<anonymous> (C:\Users\Paul\AppData\Roaming\npm\node_modules\athom- cli\app.js:6:16) at Module._compile (module.js:413:34) at Object.Module._extensions..js (module.js:422:10) at Module.load (module.js:357:32) at Function.Module._load (module.js:314:12) at Module.require (module.js:367:17)Tried adding "C:\Users\Paul\AppData\Roaming\npm\node_modules" to my path.. not sure what step I'm missing.
Any help appreciated! Thanks.
This discussion has been closed.
Comments
Thanks for the help!