You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
I've tried installing both
contracts-js
andcontracts.js
globally and locally, but keep getting this error both when I try to runcoffee --contracts script.coffee
or when I compile using contracts and then try to run the resulting javascript.The text was updated successfully, but these errors were encountered: