ambitious-animal-14300
04/14/2023, 10:24 AMstart-cypress file next to index.jsc and couldnt find it anywhere in the server package.
Havent been able to find any related issues.
bash
$ C:\Users\{user}\Documents\code\vue-webapp\node_modules\.bin\cypress run --e2e
Error: Cannot find module './start-cypress'
Require stack:
- C:\Users\{user}\AppData\Local\Cypress\Cache\12.9.0\Cypress\resources\app\packages\server\index.jsc
at Module._resolveFilename (node:internal/modules/cjs/loader:940:15)
at Module._load (node:internal/modules/cjs/loader:785:27)
at c._load (node:electron/js2c/asar_bundle:5:13339)
at Module.require (node:internal/modules/cjs/loader:1012:19)
at i (C:\Users\{user}\AppData\Local\Cypress\Cache\12.9.0\Cypress\resources\app\index.js:1:2232)
at startCypress (evalmachine.<anonymous>:1:799866)
at evalmachine.<anonymous>:1:800126
at v (C:\Users\{user}\AppData\Local\Cypress\Cache\12.9.0\Cypress\resources\app\index.js:1:2573)
at Object.<anonymous> (C:\Users\{user}\AppData\Local\Cypress\Cache\12.9.0\Cypress\resources\app\index.js:1:2764)
at Module._compile (node:internal/modules/cjs/loader:1120:14) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'C:\\Users\\{user}\\AppData\\Local\\Cypress\\Cache\\12.9.0\\Cypress\\resources\\app\\packages\\server\\index.jsc'
]
}many-airline-45402
04/14/2023, 12:02 PMambitious-animal-14300
04/14/2023, 12:08 PMhusky@^4.3.0:
version "4.3.8"
husky@^8.0.3:
version "8.0.3"
package.json
json
{
"devDependencies": {
"husky": "^8.0.3",
}
}many-airline-45402
04/14/2023, 12:17 PMHUSKY=0. There are too many issues with paths and different bash versions, which gets worse if you have WSL enabled. I work with git at the CLI level and GitHub Desktop as a UI. I don't use VSCode to commit. If necessary I run the equivalent of the Husky pre-commit commands by hand. For serious stuff I move to Ubuntu 🙂 !ambitious-animal-14300
04/14/2023, 12:23 PM