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

npm test fails and I cannot start the server #1554

Closed
aniketkk opened this issue May 3, 2016 · 15 comments
Closed

npm test fails and I cannot start the server #1554

aniketkk opened this issue May 3, 2016 · 15 comments

Comments

@aniketkk
Copy link

aniketkk commented May 3, 2016

screen shot 2016-05-03 at 1 23 08 am

server does not start either - i cant load localhost:3000
screen shot 2016-05-03 at 1 25 01 am

Please help.
osX el capitan 10.11.4
i have run all the commands without sudo.
Please help!
this is probably the same issue as this .#1532

@timelf123
Copy link
Contributor

timelf123 commented May 3, 2016

@kajo404 are you also on mac? the only time I have seen this bug has been on my co-workers mac machines.

Please share your:

  • OS
  • node -v
  • npm -v
  • mean version
  • how did you install mean? cloning this repo or CLI install?

@zeeshanbashir
Copy link

having same issue :(

@timelf123
Copy link
Contributor

timelf123 commented May 3, 2016

@zeeshanbashir please share the requested details in #1554 (comment)

@aniketkk
Copy link
Author

aniketkk commented May 3, 2016

@timelf123 assuming this problem exists for the same config can you post a solution please. Also if there are changes that can be made for my config do suggest those as well. Thanks for your help

@timelf123
Copy link
Contributor

Please share your:
OS
node -v
npm -v
mean version
how did you install mean? cloning this repo or CLI install?

@aniketkk
Copy link
Author

aniketkk commented May 4, 2016

node - v v4.4.3
npm -v 3.8.8

@igorg1312
Copy link

Whatz test fails, run the test From shell?
Il 04 Mag 2016 06:08, "aniketkk" notifications@github.com ha scritto:

node - v v4.4.3
npm -v 3.8.8


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#1554 (comment)

@userspaced
Copy link

I am also running into this issue. Everything is fresh install, including the OS since it's only 2 weeks old:

OS X El Capitan 10.11.4
Node: 4.4.3
Npm: 2.15.1

@pashist
Copy link
Contributor

pashist commented May 8, 2016

#1560

@pedramp
Copy link

pedramp commented May 13, 2016

same issue.

OSX 10.11
$ node --version
v4.4.4
$ mean --version
0.12.1
$ npm --version
2.15.1

Centos 6.5 x86_64
$node --version
v4.4.4
$ mean --version
0.12.1
$ npm --version
2.15.1

@dnithinraj
Copy link

Same issue. localhost:3000 is not loading - please help.

@timelf123
Copy link
Contributor

timelf123 commented Jun 6, 2016

Works fine for me, make sure all of your dependencies are up to date. If in doubt, reclone this repo.

➜ npm -v
3.7.3
➜ node -v
v5.9.1
➜ mean status

    MEAN Status
    -----------

    MEAN VERSION: 0.6.1

    DB connection successful!

    MongoDB URI: ...

    checking meanio and global mean-cli versions
    meanio at latest version: 0.9.1
    mean-cli at latest version: 0.11.1
➜ npm test

> mean@0.6.1 test /home/tim/dev/mean
> gulp test

Invoking gulp - development
[10:51:50] Using gulpfile ~/dev/mean/gulpfile.js
[10:51:50] Starting 'startServer'...
================================SOCKETS SERVER STARTED===========================
Mean app started on port 3001 (test) cluster.worker.id: 0
[10:51:53] Finished 'startServer' after 2.87 s
[10:51:53] Starting 'runMocha'...


  0 passing (1ms)

[10:51:55] Finished 'runMocha' after 1.87 s
[10:51:55] Starting 'runKarma'...
06 06 2016 10:51:55.197:WARN [config]: "/" is proxied, you should probably change urlRoot to avoid conflicts
06 06 2016 10:52:12.126:INFO [karma]: Karma v0.13.22 server started at http://localhost:9876/
06 06 2016 10:52:12.159:INFO [launcher]: Starting browser PhantomJS
06 06 2016 10:52:26.744:INFO [PhantomJS 2.1.1 (Linux 0.0.0)]: Connected on socket /#uJPGmkLDc3bNlUp8AAAA with id 79629614
::ffff:127.0.0.1 - - [06/Jun/2016:15:52:41 +0000] "GET /_getModules HTTP/1.1" 200 999
::ffff:127.0.0.1 - - [06/Jun/2016:15:52:43 +0000] "GET /api/get-public-config HTTP/1.1" 200 154
::ffff:127.0.0.1 - - [06/Jun/2016:15:52:43 +0000] "GET /api/get-public-config HTTP/1.1" 200 154
PhantomJS 2.1.1 (Linux 0.0.0): Executed 1 of 1 SUCCESS (0.02 secs / 1.421 secs)
[10:52:44] Finished 'runKarma' after 50 s
[10:52:44] Starting 'stopServer'...

@dnithinraj
Copy link

Hi,

Please see below snapshots:

[image: Inline images 1]

[image: Inline images 2]

I am not able to update npm nor able to run mean status. I am new to this,
so please advise next steps.

Thanks,
Nithin

On 6 June 2016 at 21:27, Tim Elfelt notifications@github.com wrote:

Works fine for me, make sure all of your dependencies are up to date. If
in doubt, reclone this repo.

➜ npm -v
3.7.3
➜ node -v
v5.9.1
➜ mean status

MEAN Status
-----------

MEAN VERSION: 0.6.1

DB connection successful!

MongoDB URI: ...

checking meanio and global mean-cli versions
meanio at latest version: 0.9.1
mean-cli at latest version: 0.11.1

➜ npm test

mean@0.6.1 test /home/tim/dev/crowds-prediction-market
gulp test

Invoking gulp - development
[10:51:50] Using gulpfile ~/dev/crowds-prediction-market/gulpfile.js
[10:51:50] Starting 'startServer'...
================================SOCKETS SERVER STARTED===========================
Mean app started on port 3001 (test) cluster.worker.id: 0
[10:51:53] Finished 'startServer' after 2.87 s
[10:51:53] Starting 'runMocha'...

0 passing (1ms)

[10:51:55] Finished 'runMocha' after 1.87 s
[10:51:55] Starting 'runKarma'...
06 06 2016 10:51:55.197:WARN [config]: "/" is proxied, you should probably change urlRoot to avoid conflicts
06 06 2016 10:52:12.126:INFO [karma]: Karma v0.13.22 server started at http://localhost:9876/
06 06 2016 10:52:12.159:INFO [launcher]: Starting browser PhantomJS
06 06 2016 10:52:26.744:INFO [PhantomJS 2.1.1 (Linux 0.0.0)]: Connected on socket /#uJPGmkLDc3bNlUp8AAAA with id 79629614
::ffff:127.0.0.1 - - [06/Jun/2016:15:52:41 +0000] "GET /_getModules HTTP/1.1" 200 999
::ffff:127.0.0.1 - - [06/Jun/2016:15:52:43 +0000] "GET /api/get-public-config HTTP/1.1" 200 154
::ffff:127.0.0.1 - - [06/Jun/2016:15:52:43 +0000] "GET /api/get-public-config HTTP/1.1" 200 154
PhantomJS 2.1.1 (Linux 0.0.0): Executed 1 of 1 SUCCESS (0.02 secs / 1.421 secs)
[10:52:44] Finished 'runKarma' after 50 s
[10:52:44] Starting 'stopServer'...


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#1554 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AQYU-nGsuAI0QGl5DuxSaLtZhpWRWKt8ks5qJENigaJpZM4IV8B7
.

@diptenagile
Copy link

Did anyone fix this issue ? b'coz getting same error.

@diptenagile
Copy link

Got fixed with node version 6.2.2

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

10 participants