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
{{ message }}
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.
I'm running the SystemJS tests with mocha -b -r esm, where the package.json of SystemJS didn't previously have "type": "module" set. The tests are located in test/*.js.
As soon as I added "type": "module" to the package, I get the error:
/home/guybedford/Projects/systemjs/test/import-map.js:1
import './fixtures/tracing.js';
^
SyntaxError: Unexpected string
at Object.Module._extensions..js (internal/modules/cjs/loader.js:827:10)
Setting "mode": "all" or "use module" doesn't seem to fix this either.
Any help would be much appreciated.
The text was updated successfully, but these errors were encountered:
I'm running the SystemJS tests with
mocha -b -r esm
, where the package.json of SystemJS didn't previously have"type": "module"
set. The tests are located intest/*.js
.As soon as I added
"type": "module"
to the package, I get the error:Setting
"mode": "all"
or"use module"
doesn't seem to fix this either.Any help would be much appreciated.
The text was updated successfully, but these errors were encountered: