# rollup --config rollup.config.js
(node:2833) Warning: To load an ES module, set "type": "module" in the
package.json or use the .mjs extension.
(Use `node --trace-warnings ...` to show where the warning was created)
[!] RollupError: Node tried to load your configuration file as CommonJS
even though it is likely an ES module. To resolve this, change the
extension of your configuration to ".mjs", set "type": "module" in your
package.json file or pass the "--bundleConfigAsCjs" flag.
After a package update, transcrypt produces incomplete JS:
__target__/OOMAnalyser.js (147:15)
145: }
146: if (cols_to_strip) {
147: var line = ;
^
148: }
149: if (line.startswith ('kernel:')) {
instead of
146 if (cols_to_strip) {
147 var line = __getitem__ ((function () {
148 var __accu0__ = line;
149 return __call__ (__accu0__.py_split, __accu0__, ' ', cols_to_strip);
150 }) (), __neg__ (1));
151 }
152 if (line.startswith ('kernel:')) {
A temporary pinning of Transcrypt to Python 3.7 solves this issue.