RiseVision / rise-node

:rainbow: RISE blockchain node
http://rise.vision/
GNU General Public License v3.0
71 stars 23 forks source link

Failed to use npm start for running RISE node #194

Closed 1indian closed 5 years ago

1indian commented 5 years ago

Steps to reproduce

Actual behaviour

❯ npm start

> Rise-node@1.3.4 start /rise-node
> node app.js

module.js:550
    throw err;
    ^

Error: Cannot find module '/rise-node/app.js'
    at Function.Module._resolveFilename (module.js:548:15)
    at Function.Module._load (module.js:475:25)
    at Function.Module.runMain (module.js:694:10)
    at startup (bootstrap_node.js:204:16)
    at bootstrap_node.js:625:3
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! Rise-node@1.3.4 start: `node app.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the Rise-node@1.3.4 start script.
vekexasia commented 5 years ago

hey @1indian try with node dist/app.js

1indian commented 5 years ago

Thank you @vekexasia , I got the fix, I created this issue so that we can fix it in package.json https://github.com/RiseVision/rise-node/blob/9c48391a4297f93159830da20bbe06e44a71ff11/package.json#L6

1indian commented 5 years ago

If I have to give PR, do I need to create PR against master branch?

vekexasia commented 5 years ago

development plz... Thanks :)