• HOME
    • PRODUCT
    • PRICING
    • ABOUT
    • COMMUNITY
    Menu
    • HOME
    • PRODUCT
    • PRICING
    • ABOUT
    • COMMUNITY
    Get in touch
    Get in touch
    Menu
    • HOME
    • PRODUCT
    • PRICING
    • ABOUT
    • COMMUNITY
    • Sign in
    • Start free trial
    • Get in touch
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags
    • Users
    • Groups
    • Documentation
      • Home
      • Read API
      • Write API
      • Plugin Development
    1. Home
    2. professor_lupin
    • Profile
    • Following 1
    • Followers 1
    • Topics 1
    • Posts 2
    • Best 0
    • Controversial 0
    • Groups 0

    professor_lupin

    @professor_lupin

    0
    Reputation
    2
    Profile views
    2
    Posts
    1
    Followers
    1
    Following
    Joined Last Online

    professor_lupin Unfollow Follow

    Latest posts made by professor_lupin

    • RE: Is it possible to run NodeBB locally (e.g. localhost:4567) and run npm test at the same time?

      Thanks for your reply. I don't suppose it's necessary to run both at the same time. Am I right in assuming that all the testing is done with a headless version of NodeBB that runs for the lifetime of the tests?

      posted in Technical Support
      professor_lupin
      professor_lupin
    • Is it possible to run NodeBB locally (e.g. localhost:4567) and run npm test at the same time?

      When I have my local NodeBB installation up and running on localhost in my browser I tried running the tests via npm test.

      It looks like the tests are attempting to start another NodeBB process and failing to do so, because I've already started it. Here is the error that I get:

      0 passing (4s)
      1 failing

      1) "before all" hook in "{root}":
         Uncaught Error: listen EADDRINUSE: address already in use 0.0.0.0:4567
          at Server.setupListenHandle [as _listen2] (net.js:1309:16)
          at listenInCluster (net.js:1357:12)
          at doListen (net.js:1496:7)
          at processTicksAndRejections (internal/process/task_queues.js:85:21)
      

      Is it possible to run NodeBB in the browser and run the tests at the same time, or do I have to stop NodeBB first before running npm test?

      Thank you.

      posted in Technical Support
      professor_lupin
      professor_lupin

    Get Started

    • Product
    • Pricing

    Resources

    • Demo Site
    • Answers
    • Docs
    • Bug Bounty

    Company

    • About
    • Blog
    • Contact
    Start Free Trial
    Github Facebook Instagram Twitter
    © 2014 – 2022 NodeBB, Inc. — Made in Canada.
    • Terms
    • Privacy
    • GDPR
    • DMCA
    • Contact
    Menu
    • Terms
    • Privacy
    • GDPR
    • DMCA
    • Contact