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
TypeError [ERR_INVALID_RETURN_PROPERTY_VALUE]: Expected array buffer, or typed array to be returned for the "source" from the "transformSource" function but got type object.
at new NodeError (node:internal/errors:405:5)
at assertBufferSource (node:internal/modules/esm/translators:84:9)
at stringify (node:internal/modules/esm/translators:94:3)
at createCJSModuleWrap (node:internal/modules/esm/translators:218:12)
at ModuleLoader. (node:internal/modules/esm/translators:266:10)
at callTranslator (node:internal/modules/esm/loader:265:14)
at ModuleLoader. (node:internal/modules/esm/loader:269:24)
at new ModuleJob (node:internal/modules/esm/module_job:65:26)
at #createModuleJob (node:internal/modules/esm/loader:282:17)
Expected behavior 🤔
The tests should pass
Steps to reproduce 🕹
Run pnpm test:all
Context 🔦
For some reason seemingly unrelated to the PR where they broke tests stopped working in Node 20. Going back to previous commits and re-installing does not appear to fix the issue. It is as if some non-locked down dependency broke. I have no idea what is causing it.
Your environment 🌎
No response
The text was updated successfully, but these errors were encountered:
Edit 2: Ok! Got it to work on 20.6.x by converting bin.cjs to esm. I am back at thinking it is a weird regression on node's side. Debugger was showing that require on sade was triggering the error... but only on the tests... 😕
Edit: nvm still fails with 20.6.1 so I don't know...
The issue is probably related to Node 20.6.0. With Node 20.5.1 the tests work. Just a guess... nodejs/node#49497 apparently broke a lot of things.
Duplicates
Latest version
Current behavior 😯
The tests fail with:
Expected behavior 🤔
The tests should pass
Steps to reproduce 🕹
Run pnpm test:all
Context 🔦
For some reason seemingly unrelated to the PR where they broke tests stopped working in Node 20. Going back to previous commits and re-installing does not appear to fix the issue. It is as if some non-locked down dependency broke. I have no idea what is causing it.
Your environment 🌎
No response
The text was updated successfully, but these errors were encountered: