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
[!] Error: While loading the Rollup configuration from "rollup.config.ts", Node tried to require an ES module from a CommonJS file, which is
not supported. A common cause is if there is a package.json file with "type": "module" in the same folder. You can try to fix this by changing the extension of your configuration file to ".cjs" or ".mjs" depending on the content, which will prevent Rollup from trying to preprocess
the file but rather hand it to Node directly.
beatonma
added a commit
to beatonma/beatonma.org
that referenced
this issue
Oct 29, 2023
Minimal reproduction example:
gulpfile.ts:
package.json:
Solution
Install
6.1.1
version and use old api accordingly:The text was updated successfully, but these errors were encountered: