-
-
Notifications
You must be signed in to change notification settings - Fork 273
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
Error: Cannot find module './reports/base' #624
Comments
I've experienced this issue as well with npm. I determined that having Adding |
Not sure what happened, the 'use strict';
module.exports = {
overrides: [{
test: ['src/**'],
plugins: [
'@babel/plugin-transform-modules-commonjs'
]
}]
}; |
This issue should be resolved by [email protected], can anyone confirm? |
If anyone still experiences the issue with tap 14.10.6+ let us know and this issue can be reopened. |
I'm seeing something similar to this with certain modules and Node.js 16. For example, this is from running npm's test suite:
Adding a reporter as suggested here resolves the issue. Refs: nodejs/citgm#852 (comment), nodejs/citgm#852 (comment) |
* document xlsx (minimalist, we'll work on the notebook first) * fix coverage reporter (avoids a crash on my computer; solution found at tapjs/tapjs#624) * unknown sheet name * simplify rows naming * NN is always called on string (cell specifier such as "AA99") * test name * more range specifiers
* XLSX support with ExcelJS * Prettier * Change range option to nested arrays General code clean up * Tests and bug fixes * Respect header row order when resolving conflicts * Fil/xlsx (#249) * document xlsx (minimalist, we'll work on the notebook first) * fix coverage reporter (avoids a crash on my computer; solution found at tapjs/tapjs#624) * unknown sheet name * simplify rows naming * NN is always called on string (cell specifier such as "AA99") * test name * more range specifiers * Column only range test case * sheetNames is enumerable * One more test to check for empty columns Prettier + use default/base tap reporter * Add Node 16 to the test matrix * Revert reporter to classic for Node 16 * Don't fail matrix quickly in actions * More coverage. * Example of .xlsx in README * Remove Excel from Workbook naming * Fix dates * Fix for sharedFormula * Coerce errors to NaN * Properly escape html * Make sheetNames read-only * Require colons in range specifiers * Include row numbers * Use only string form ranges * Coerce range specifiers to strings * Update README.md Co-authored-by: Mike Bostock <[email protected]> * Apply suggestions from code review Co-authored-by: Mike Bostock <[email protected]> * Simplify hyperlinks * Prettier * Pass options through * Rename helper functions for clarity, range tests * Simpler * Consistent comment format * Consistent regexes * Fix hyperlinks for certain cases Co-authored-by: Philippe Rivière <[email protected]> Co-authored-by: Mike Bostock <[email protected]>
Also adds 16.x (latest LTS) to testing suite. xref: tapjs/tapjs#624 The issue is closed, but it is still being reported. xref: nodejs/citgm#852 (comment) This is the fix being used in this commit.
I just installed tap and received the follow errors:
How to reproduce:
yarn add tap esm
tap my-test-file.js
Info
How did I solved:
It seems that adding a reporter solves the problem:
tap my-test-file.js --reporter classic
Let me know if you need more information,
Best
The text was updated successfully, but these errors were encountered: