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

Cannot find module 'contracts-js' #64

Open
mrkev opened this issue Nov 16, 2015 · 0 comments
Open

Cannot find module 'contracts-js' #64

mrkev opened this issue Nov 16, 2015 · 0 comments

Comments

@mrkev
Copy link

mrkev commented Nov 16, 2015

I've tried installing both contracts-js and contracts.js globally and locally, but keep getting this error both when I try to run coffee --contracts script.coffee or when I compile using contracts and then try to run the resulting javascript.

Error: Cannot find module 'contracts-js'
    at Function.Module._resolveFilename (module.js:337:15)
    at Function.Module._load (module.js:287:25)
    at Module.require (module.js:366:17)
    at require (module.js:385:17)
    at Undefined (/Users/Kevin/Desktop/play/contracts/test.coffee:1:208)
    at Object.<anonymous> (/Users/Kevin/Desktop/play/contracts/test.coffee:1:274)
    at Module._compile (module.js:425:26)
    at Object.exports.run (/Users/Kevin/.nvm/versions/node/v5.0.0/lib/node_modules/contracts.coffee/lib/coffee-script/coffee-script.js:78:25)
    at compileScript (/Users/Kevin/.nvm/versions/node/v5.0.0/lib/node_modules/contracts.coffee/lib/coffee-script/command.js:176:29)
    at /Users/Kevin/.nvm/versions/node/v5.0.0/lib/node_modules/contracts.coffee/lib/coffee-script/command.js:151:18
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

1 participant