Skip to content

Conversation

@mitra42
Copy link

@mitra42 mitra42 commented Dec 7, 2019

It said node start which of course complains

node start
internal/modules/cjs/loader.js:783
    throw err;
    ^

Error: Cannot find module '/Users/mitra/git/epubjs-reader/start'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:780:15)
    at Function.Module._load (internal/modules/cjs/loader.js:685:27)
    at Function.Module.runMain (internal/modules/cjs/loader.js:1014:10)
    at internal/main/run_main_module.js:17:11 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []

Pretty sure it meant npm start to run the "start": "node tools/serve", line in package.json

It said `node start` which of course complains 
```
node start
internal/modules/cjs/loader.js:783
    throw err;
    ^

Error: Cannot find module '/Users/mitra/git/epubjs-reader/start'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:780:15)
    at Function.Module._load (internal/modules/cjs/loader.js:685:27)
    at Function.Module.runMain (internal/modules/cjs/loader.js:1014:10)
    at internal/main/run_main_module.js:17:11 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
```
Pretty sure it meant `npm start` to run the `"start": "node tools/serve",` line in package.json
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

Successfully merging this pull request may close these issues.

1 participant