elebeaup / live-coding-server

Live coding server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

npm start does not work in master

whren opened this issue · comments

commented

npm start uses the start script mentioned in package.json:

"start": "node server.js"

But server.js has been replaced by index.js and live-coding-server.js.
So the following error is raised:

> live-coding-server@0.1.0 start /opt/live-coding-server
> node server.js

module.js:549
    throw err;
    ^

Error: Cannot find module '/opt/live-coding-server/server.js'
    at Function.Module._resolveFilename (module.js:547:15)
    at Function.Module._load (module.js:474:25)
    at Function.Module.runMain (module.js:693:10)
    at startup (bootstrap_node.js:188:16)
    at bootstrap_node.js:609:3

package.json should be modified in accordance.