question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

npm test broken out of the box

See original GitHub issue

After installing MERN, running npm test results in 4 errors which look like the following

3. Unhandled Rejection ValidationError: Path slug is required.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
jxodwyercommented, Aug 17, 2016

The test suite seems to be crashing while watching (may be related to this)

output is:


1. Uncaught Exception
   TypeError: callback is not a function
    start (../node_modules/mongodb-prebuilt/index.js:83:13)

   ✖ Test results were not received from server/models/__tests__/post.spec.js

Mockgoose seem to be calling out a similar issue in relation to Ava: https://github.com/mccormicka/Mockgoose/issues/204

0reactions
mattlubnercommented, Jun 3, 2018

I’m unable to reproduce this… would strongly suspect it was fixed in any one of the several commits to master since the issue was reported. Closing as a result.

Read more comments on GitHub >

github_iconTop Results From Across the Web

npm test appears broken out of the box. · Issue #2322 · mgechev ...
npm test fails right out of the box with a just-pulled and -built angular-seed . Expected behavior. Test suite runs, or at least...
Read more >
Common errors | npm Docs
Broken npm installation; Random errors; No compatible version found; Permissions errors ... Running a Vagrant box on Windows fails due to path length...
Read more >
Why does npm install say I have unmet dependencies?
Re-run the npm install command. The problem could be caused by npm's failure to download all the package due to timed-out or something...
Read more >
Getting Started - Node Tap
tap includes out of the box: A test framework for writing tests in Node.js. A command-line interface for running tests and reporting on...
Read more >
NPM Audit: How to Scan Packages for Security Vulnerabilities
If a fix has been published, it provides an out-of-the-box option for ... Whenever you install any package by running npm install, the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found