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
(node:2432990) ExperimentalWarning: `--experimental-loader` may be removed in the future; instead use `register()`:
--import 'data:text/javascript,import { register } from "node:module"; import { pathToFileURL } from "node:url"; register("file%3A///home/iojs/tmp/citgm_tmp/4ed0215e-d955-4a5a-9009-ef6a213716ab/yeoman-generator/node_modules/esmocha/dist/loader.js", pathToFileURL("./"));'
(Use `node --trace-warnings ...` to show where the warning was created)
(node:2432990) ExperimentalWarning: `globalPreload` is planned for removal in favor of `initialize`. `globalPreload` is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
TypeError [ERR_INVALID_RETURN_PROPERTY_VALUE]: Expected array buffer, or typed array to be returned for the "source" from the "transformSource" function but got null.
at assertBufferSource (node:internal/modules/esm/translators:104:9)
at stringify (node:internal/modules/esm/translators:119:3)
at createCJSModuleWrap (node:internal/modules/esm/translators:279:12)
at ModuleLoader.commonjsStrategy (node:internal/modules/esm/translators:358:10)
at callTranslator (node:internal/modules/esm/loader:285:14)
at ModuleLoader.moduleProvider (node:internal/modules/esm/loader:291:30)
Is esmocha used to test a yeoman-generator fork only?
Fixing that node behavior is not enough fix tests.
The main problem is the mocking lib that needs major changes due to loader/main thread communication.
I plan to fix esmocha, but for yeoman-generatormigrate to vitest is the best option.
See https://ci.nodejs.org/view/Node.js-citgm/job/citgm-smoker/3346/nodes=fedora-latest-x64/testReport/junit/(root)/citgm/yeoman_generator_v7_1_1/
@mshima
@nodejs/loaders
The text was updated successfully, but these errors were encountered: