Change to "test": "cross-env NODE_OPTIONS=\"--experimental-vm-modules\" jest", (already modified above)
Issues with Codespaces: It is very slow to load new window with VS Code with local changes.
To do for Windows:
Most likely we can change the package.json in all the repos to have escaped double quotes, but need to test on Mac to make sure it still works like that.
Install cross-env as a dependency so its installed with npm i OR find an alternative.. because according to their GH repo its been archived (see https://github.com/kentcdodds/cross-env). So another similar library would be better.
On Windows in
package.json
we need to modify the single quotes to escaped double quotes in order to run commands:Specifically to run npm test:
npm install --save-dev cross-env
"test": "cross-env NODE_OPTIONS=\"--experimental-vm-modules\" jest",
(already modified above)Issues with Codespaces: It is very slow to load new window with VS Code with local changes.
To do for Windows:
npm i
OR find an alternative.. because according to their GH repo its been archived (see https://github.com/kentcdodds/cross-env). So another similar library would be better.