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: Cannot find module 'cheerio' #6

Closed
ilyador opened this issue Mar 31, 2015 · 2 comments
Closed

Error: Cannot find module 'cheerio' #6

ilyador opened this issue Mar 31, 2015 · 2 comments

Comments

@ilyador
Copy link

ilyador commented Mar 31, 2015

Getting this when running ./build.sh

module.js:340
    throw err;
          ^
Error: Cannot find module 'cheerio'
    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> (/Users/ilyo/dev/react-dash/src/modifyDocsHTML.js:1:77)
    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 Function.Module.runMain (module.js:497:10)

@bebraw
Copy link

bebraw commented Apr 1, 2015

You need to hit npm install before running the script.

That said it probably wouldn't hurt if the script itself ran it.

@chenglou
Copy link
Owner

chenglou commented Apr 2, 2015

Instructions are here: https://github.com/chenglou/react-dash#instructions
You'll also need to have wget, node and sqlite3 installed. I don't think that's something the build script should handle. Plus, the instructions are pretty short =).

Btw, it's already in dash's user contribution section. You don't have to build this yourself unless you wanna submit an update.

@chenglou chenglou closed this as completed Apr 2, 2015
chenglou added a commit that referenced this issue Apr 2, 2015
chenglou added a commit that referenced this issue Apr 2, 2015
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

3 participants