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

App crashes when start #242

Open
guilhermetog opened this issue Jun 11, 2018 · 1 comment
Open

App crashes when start #242

guilhermetog opened this issue Jun 11, 2018 · 1 comment

Comments

@guilhermetog
Copy link

I've just installed on Windows, through the setup.exe.
When I try to run it crashes and close. I tried to run "npm start" in the console and it return this log:

module.js:549
    throw err;
    ^

Error: Cannot find module 'internal/util/types'
    at Function.Module._resolveFilename (module.js:547:15)
    at Function.Module._load (module.js:474:25)
    at Module.require (module.js:596:17)
    at require (internal/module.js:11:18)
    at evalmachine.<anonymous>:31:26
    at Object.<anonymous> (C:\MediacenterJS\node_modules\fs-extra\node_modules\graceful-fs\fs.js:11:1)
    at Module._compile (module.js:652:30)
    at Object.Module._extensions..js (module.js:663:10)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `node server.js`
npm ERR! Exit status 1

I tried 'npm update' without success.
What can I do to run it?

@eviabs
Copy link

eviabs commented Jul 15, 2018

I got this error too when I used the windows installer.

To overcome this, I cloned the repo (you can also just download it as a zip file and extract it), ran npm install and then ran node server.js.

Now it works.

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

2 participants