-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
6.2.1 fails for node 8.x if there is a --require #4035
Labels
Comments
boneskull
added
type: bug
a defect, confirmed by a maintainer
and removed
unconfirmed-bug
labels
Oct 11, 2019
I just hit this; will fix. |
probably 5f1cad5 |
no, it's not directly responsible, but exposed the bug |
boneskull
added a commit
that referenced
this issue
Oct 12, 2019
Signed-off-by: Christopher Hiller <boneskull@boneskull.com>
see #4063 |
Thanks |
boneskull
added a commit
that referenced
this issue
Oct 18, 2019
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Labels
Prerequisites
faq
labelnode node_modules/.bin/mocha --version
(Local) andmocha --version
(Global). We recommend that you not install Mocha globally.Description
6.2.0 the command below works
NODE_ENV=test PORT=9999 node_modules/.bin/mocha -t 5000 --require esm --exit -b --recursive server/test/bootstrap.test.js
with 6.2.1 if fails with this output on Node 8.x (NB: works on Node 10.x for both)
bad option: --require=esm
Node 8.x expects the require to be in this format
--require esm
i.e. no equals=
signI can workaround this by running the underlying node more directly but wanted to let you know about this small regression.
Steps to Reproduce
See description
Expected behavior: [What you expect to happen]
See description
Actual behavior: [What actually happens]
See description
Reproduces how often: 100%
Versions
The output of
mocha --version
andnode node_modules/.bin/mocha --version
:No global install and local is 6.2.1
The output of
node --version
: v8.16.1Your operating system
Your shell (e.g., bash, zsh, PowerShell, cmd): zsh
Your browser and version (if running browser tests): N/A
Any third-party Mocha-related modules (and their versions): None
Any code transpiler (e.g., TypeScript, CoffeeScript, Babel) being used (and its version): none / ESM as a loader
Additional Information
The text was updated successfully, but these errors were encountered: