Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9185057
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T19:12:14+00:00 2026-06-17T19:12:14+00:00

I have a simple case, where I need to run grunt jasmine test. After

  • 0

I have a simple case, where I need to run grunt jasmine test.
After running

grunt jasmine

i get error response:

Running "jasmine" task                                                                                                                                                                               
Testing jasmine specs via phantom                                                                                                                                                                    

events.js:66                                                                                                                                                                                         
        throw arguments[1]; // Unhandled 'error' event                                                                                                                                               
                       ^                                                                                                                                                                             
Error: listen EACCES                                                                                                                                                                                 
    at errnoException (net.js:769:11)                                                                                                                                                                
    at Server._listen2 (net.js:892:19)                                                                                                                                                               
    at listen (net.js:936:10)                                                                                                                                                                        
    at Server.listen (net.js:985:5)                                                                                                                                                                  
    at Function.app.listen (/var/lib/stickshift/f1dad82f1ce14cd0bbaaa971c75eeedc/app-root/data/380712/node_modules/grunt-jasmine-runner/node_modules/connect/lib/proto.js:229:24)                    
    at Object.exports.start (/var/lib/stickshift/f1dad82f1ce14cd0bbaaa971c75eeedc/app-root/data/380712/node_modules/grunt-jasmine-runner/tasks/lib/server.js:17:17)                                  
    at startServer (/var/lib/stickshift/f1dad82f1ce14cd0bbaaa971c75eeedc/app-root/data/380712/node_modules/grunt-jasmine-runner/tasks/jasmine.js:141:17)                                             
    at Function.task.phantomRunner (/var/lib/stickshift/f1dad82f1ce14cd0bbaaa971c75eeedc/app-root/data/380712/node_modules/grunt-jasmine-runner/tasks/jasmine.js:109:16)                             
    at Object.<anonymous> (/var/lib/stickshift/f1dad82f1ce14cd0bbaaa971c75eeedc/app-root/data/380712/node_modules/grunt-jasmine-runner/tasks/jasmine.js:50:10)                                       
    at Object.task.registerTask.thisTask.fn (/var/lib/stickshift/f1dad82f1ce14cd0bbaaa971c75eeedc/app-root/data/380712/node_modules/grunt/lib/grunt/task.js:58:16)  

The hint that Cloud9 gives me is

 Cloud9  Error: you may be using the wrong PORT & HOST for your server app                                                                                                                           
         Node: use 'process.env.PORT' as the port and 'process.env.IP' as the host in your app scripts 

So my question is
How do I configure PORT & HOST ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T19:12:16+00:00Added an answer on June 17, 2026 at 7:12 pm

    Current docs on grunt-jasmine-runner are misleading (indetnation):

    it turns out that I have to configure server as object literal:

    //...
    'jasmine' : {
      server:{
        port:process.env.PORT
      }
    //...
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a simple test case failing in Django: Model (app/models.py): from django.db import
I have a simple unit test case (extensive question here ) on a configuration
I have been trying to get my head around C#'s new async/await and Task.Run
I have this simple question: In a service i need to run 2 more
I have a pretty simple case which I started solving using foreach(), but then
What is good design in this simple case: Let's say I have a base
I have a C# command-line application that I need to run in windows and
In this particular case I need to run .complicated NET application for Linux. By
During the running of my XSLT 2.0 stylesheet, I have need to find certain
I have a simple Console Project in Visual Studio that I want to run

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.