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

Missing dependency to coffee-script #4

Open
AccaliaDeElementia opened this issue Apr 8, 2013 · 4 comments
Open

Missing dependency to coffee-script #4

AccaliaDeElementia opened this issue Apr 8, 2013 · 4 comments

Comments

@AccaliaDeElementia
Copy link

Need to add coffee-script to dependencies.

executing:

mkdir temp
cd temp
git clone https://github.com/sysrun/node-raspi2c
npm install ./node-raspi2c
echo "i2c = require('raspi2c');" | js

results in a error of:

Error: Cannot find module 'coffee-script'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/home/accalia/temp/node_modules/raspi2c/main.js:1:63)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)

add coffee-script to dependencies and the module will successfully import.

@sysrun
Copy link
Owner

sysrun commented Apr 8, 2013

Yes, i know. This repo is replaced by this one in the next days: https://github.com/sysrun/node-raspiio

Will make the new Project more generic (i2c, gpio)

@sysrun
Copy link
Owner

sysrun commented Apr 8, 2013

If you only need raw i2c support you can use this: https://github.com/sysrun/node-i2c

You need it for a specific Project?

@AccaliaDeElementia
Copy link
Author

Yeah actually. I'm creating a Raspberry Pi based media player box incorporating a Adafruit RGB Negative LCD plate (http://www.adafruit.com/products/1110)

Since the rest of the interface is written in node.js I wanted to keep this part of the interface in the same language.

I must admit I'm finding it hard to find a stable library that actually communicates with the LCD plate

@sysrun
Copy link
Owner

sysrun commented Apr 9, 2013

I will try to checkin the LCD-Module in my new repo later this day

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