Skip to content
This repository was archived by the owner on Jun 8, 2023. It is now read-only.

Wolfram.coffee error #1521

Closed
Neoanarika opened this issue Jul 22, 2014 · 4 comments
Closed

Wolfram.coffee error #1521

Neoanarika opened this issue Jul 22, 2014 · 4 comments

Comments

@Neoanarika
Copy link

I recently ran this wolfram.coffee script and got this error, could anyone help me resolve the issue. Thanks

Error: Cannot find module 'wolfram-alpha'
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. (/Users/angmingliang/myhubot/scripts/wolfram.coffee:1:11, :4:13)
at Object. (/Users/angmingliang/myhubot/scripts/wolfram.coffee:1:1, :24:4)
at Module._compile (module.js:456:26)
at Object.loadFile (/Users/angmingliang/myhubot/node_modules/hubot/node_modules/coffee-script/lib/coffee-script/coffee-script.js:182:19)
at Module.load (/Users/angmingliang/myhubot/node_modules/hubot/node_modules/coffee-script/lib/coffee-script/coffee-script.js:211:36)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Robot.loadFile (/Users/angmingliang/myHubot/node_modules/hubot/src/robot.coffee:218:9, :164:11)
at /Users/angmingliang/myHubot/node_modules/hubot/src/robot.coffee:234:11, :184:33
at Object.cb as oncomplete

@technicalpickles
Copy link
Contributor

Some scripts have additional npm dependencies: https://github.com/github/hubot-scripts/blob/master/src/scripts/wolfram.coffee#L4-L5

Can you make sure you have that in your package.json and try again?

@notpeter
Copy link

I've forked this script and create a proper new-style repo for it.
https://github.com/notpeter/hubot-wolfram

What's the process for officially becoming the maintainer for various scripts? I've taken to creating repos and npm packages for a handful of hubot-scripts we use. I'm happy to be maintainer for the foreseeable future.

@technicalpickles
Copy link
Contributor

@notpeter great! If you want to make a PR to this script to deprecate it (see pagerduty.coffee or karma.coffee for an example), that would help move people towards it.

I've taken to creating repos and npm packages for a handful of hubot-scripts we use. I'm happy to be maintainer for the foreseeable future.

👍

Se https://github.com/hubot-scripts/packages for official maintainerness.

@technicalpickles
Copy link
Contributor

This repository has been deprecated for awhile in favor of npm packages. As @notpeter said, it's been https://github.com/notpeter/hubot-wolfram so I'd give that a try to see if it works any better. We are in the process of finding scripts that have been extracted, and deprecating them over in #1641

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Projects
None yet
Development

No branches or pull requests

3 participants