You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(Thanks for reporting an issue to micromatch! If you haven't already read the contributor guidelines, Please do that now, then proceed to fill out the details below.)
Please describe the minimum necessary steps to reproduce this issue:
Install Jest (latest version) and create any test and try to run.
SyntaxError: Invalid or unexpected token
at wrapSafe (internal/modules/cjs/loader.js:1001:16)
at Module._compile (internal/modules/cjs/loader.js:1049:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:12)
at Module.require (internal/modules/cjs/loader.js:974:19)
at require (internal/modules/cjs/helpers.js:93:18)
at Object. (G:\Users\Work\Documents\Gits\JestIssue\node_modules\jest-haste-map\build\watchers\common.js:10:20)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
error Command failed with exit code 1.
…
What should be happening instead?
Test should run.
…
This seems to be an issue with micromatch as when I copy the development copy from 4.0.3 into the node_modules folder the problem stops.
(Thanks for reporting an issue to micromatch! If you haven't already read the contributor guidelines, Please do that now, then proceed to fill out the details below.)
Please describe the minimum necessary steps to reproduce this issue:
Install Jest (latest version) and create any test and try to run.
…
What is happening that shouldn't be?
Error returns:
G:\Users\Work\Documents\Gits\JestIssue\node_modules\micromatch\index.js:1
VW��
SyntaxError: Invalid or unexpected token
at wrapSafe (internal/modules/cjs/loader.js:1001:16)
at Module._compile (internal/modules/cjs/loader.js:1049:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:12)
at Module.require (internal/modules/cjs/loader.js:974:19)
at require (internal/modules/cjs/helpers.js:93:18)
at Object. (G:\Users\Work\Documents\Gits\JestIssue\node_modules\jest-haste-map\build\watchers\common.js:10:20)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
error Command failed with exit code 1.
…
What should be happening instead?
Test should run.
…
This seems to be an issue with micromatch as when I copy the development copy from 4.0.3 into the node_modules folder the problem stops.
Repo example of the problem:
https://github.com/Dizzienoo/JestIssue
The text was updated successfully, but these errors were encountered: