This repository was archived by the owner on Sep 1, 2024. It is now read-only.
Commit 47f50b0
committed
Document TypeScript requirements
Without setting moduleResolution to `node16` or `nodenext`, the following
error may occur:
Your configFile is invalid: <...>/node_modules/@unflakable/cypress-plugin/dist/config-wrapper.mjs
It threw an error when required, check the stack trace below:
Error: Cannot find module 'file://<...>/node_modules/@unflakable/cypress-plugin/dist/config-wrapper.mjs'
Require stack:
- <...>/packages/server/lib/plugins/child/run_require_async_child.js
- <...>/packages/server/lib/plugins/child/require_async_child.js
For some reason, this error doesn't seem to happen on Linux, or at least not
in the `cypress/browsers:node16.16.0-chrome105-ff104-edge` Docker container.1 parent 26b42b0 commit 47f50b0
2 files changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
34 | 39 | | |
35 | 40 | | |
36 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
25 | 30 | | |
26 | 31 | | |
27 | 32 | | |
| |||
0 commit comments