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
> @agoric/[email protected] build-kernel /Users/michael/agoric/agoric-sdk/packages/SwingSet
> node -r esm scripts/build-kernel.js
(node:76257) Warning: require() of ES modules is not supported.
require() of /Users/michael/agoric/agoric-sdk/packages/bundle-source/src/index.js from /Users/michael/agoric/agoric-sdk/packages/SwingSet/scripts/build-kernel.js is an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which defines all .js files in that package scope as ES modules.
Instead rename index.js to end in .cjs, change the requiring code to use import(), or remove "type": "module" from /Users/michael/agoric/agoric-sdk/packages/bundle-source/package.json.
The text was updated successfully, but these errors were encountered:
When building SwingSet:
The text was updated successfully, but these errors were encountered: