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

Cannot run from source #125

Open
Longhanks opened this issue May 11, 2018 · 0 comments
Open

Cannot run from source #125

Longhanks opened this issue May 11, 2018 · 0 comments

Comments

@Longhanks
Copy link

Hi,

after cloning the project, running npm install && gulp && npm test, I wasn't able to run the rtail-server at all. npm test fails to find socket.io:

> NODE_ENV=test node --harmony test/runner.js

  Running test suite with NODE_ENV=test (/./)
internal/modules/cjs/loader.js:573
    throw err;
    ^

Error: Cannot find module 'socket.io/node_modules/socket.io-client'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:571:15)
    at Function.Module._load (internal/modules/cjs/loader.js:497:25)
    at Module.require (internal/modules/cjs/loader.js:626:17)
    at require (internal/modules/cjs/helpers.js:20:18)
    at Object.<anonymous> (/home/aschulz/Projects/rtail/test/rtail-server.test.js:12:12)
    at Module._compile (internal/modules/cjs/loader.js:678:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:689:10)
    at Module.load (internal/modules/cjs/loader.js:589:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:528:12)
    at Function.Module._load (internal/modules/cjs/loader.js:520:3)
npm ERR! Test failed.  See above for more details.

I've tried to run npm install --save socket.io, but it didn't help. Can someone help me to get started?

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

1 participant