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
Unfortunately no stack trace is shown so I don't know where the failing import is taking place but is should be as easy to fix as adding assert { type: 'json' } after the import like import tsconfig from './tsconfig.json' assert { type: 'json' };.
The text was updated successfully, but these errors were encountered:
I am getting this error on node 17.9.0 when using tsconfig-paths from mocha through ts-node.
mocha command:
mocha -n experimental-specifier-resolution=node -n loader=ts-node/esm --serial -p tsconfig.json --spec ./test/**/*.spec.ts
tsconfig.json:
Unfortunately no stack trace is shown so I don't know where the failing import is taking place but is should be as easy to fix as adding
assert { type: 'json' }
after the import likeimport tsconfig from './tsconfig.json' assert { type: 'json' };
.The text was updated successfully, but these errors were encountered: