Skip to content
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 while running in macosx #293

Open
arcturus opened this issue Feb 3, 2016 · 7 comments
Open

Error while running in macosx #293

arcturus opened this issue Feb 3, 2016 · 7 comments

Comments

@arcturus
Copy link

arcturus commented Feb 3, 2016

I get the following exception when running on macosx with node v0.10.24:

alert: [steward] exception diagnostic=Cannot find module 'node-blink1'
alert: [steward] exception stack=[{"fileName":"module.js","lineNumber":338,"functionName":"Function.Module._resolveFilename","typeName":"Function","methodName":"Module._resolveFilename","columnNumber":15,"native":false},{"fileName":"module.js","lineNumber":280,"functionName":"Function.Module._load","typeName":"Function","methodName":"Module._load","columnNumber":25,"native":false},{"fileName":"module.js","lineNumber":364,"functionName":"Module.require","typeName":"Module","methodName":"require","columnNumber":17,"native":false},{"fileName":"module.js","lineNumber":380,"functionName":"require","typeName":"Object","methodName":null,"columnNumber":17,"native":false},{"fileName":"/Users/arcturus/dev/git/community/steward/steward/devices/devices-lighting/lighting-blink1-led.js","lineNumber":4,"functionName":"","typeName":"Object","methodName":null,"columnNumber":19,"native":false},{"fileName":"module.js","lineNumber":456,"functionName":"Module._compile","typeName":"Module","methodName":"_compile","columnNumber":26,"native":false},{"fileName":"module.js","lineNumber":474,"functionName":"Object.Module._extensions..js","typeName":"Object","methodName":"Module._extensions..js","columnNumber":10,"native":false},{"fileName":"module.js","lineNumber":356,"functionName":"Module.load","typeName":"Module","methodName":"load","columnNumber":32,"native":false},{"fileName":"module.js","lineNumber":312,"functionName":"Function.Module._load","typeName":"Function","methodName":"Module._load","columnNumber":12,"native":false},{"fileName":"module.js","lineNumber":364,"functionName":"Module.require","typeName":"Module","methodName":"require","columnNumber":17,"native":false}]
uncaught exception: Error: Cannot find module 'node-blink1'
Press ^C to exit or wait 10 seconds to restart

@arcturus
Copy link
Author

arcturus commented Feb 3, 2016

Had to manually add the package node-blink1

@Faeranne
Copy link
Member

Faeranne commented Feb 3, 2016

npm install should have installed node-blink1. Are you using the homebrew version of node?

@arcturus
Copy link
Author

I'm using node installed via nmv.

@Faeranne
Copy link
Member

Can you try installing blink-1 manually, and let me know how steward reacts?

@arcturus
Copy link
Author

Yep, that was I did (see 2nd commend). Installing manually works ok and let's steward start

@Faeranne
Copy link
Member

Your right, my bad.

Can you send me the versions of node and npm you are using, as well as git rev-parse HEAD?

@arcturus
Copy link
Author

Running node 4.2.0
With commit c000d65

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants