Error: Cannot find module 'colors/safe'
TenPotatoes opened this issue · comments
I hit this today on fresh install of 0.9.0
Sounds like the fix is to add colors as a dependency of cypress-parallel
Same here
Error: Cannot find module 'colors/safe'
It reproduces on CI. Locally works without issues.
Installing the colors
package on CI also didn’t help.
I have the same issue and installing colors package also is not fixed. Are there any suggestions to fix it?
cypress-parallel -s npm run test -t 4
node:internal/modules/cjs/loader:936
throw err;
^
Error: Cannot find module 'colors/safe'
Require stack:
- D:------\node_modules\cypress-parallel\cli.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (D:--------\frontend-react\node_modules\cypress-parallel\cli.js:4:16)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'D:---\.---\frontend-react\node_modules\cypress-parallel\cli.js'
]
}
Process finished with exit code 1
This should have been definitely fixed using the latest version of colors 1.4.0.