Nikky
06/16/2021, 10:03 AMModule parse failed: 'import' and 'export' may appear only with 'sourceType: module' (9:0)
File was processed with these loaders:
* ../../node_modules/source-map-loader/dist/cjs.js
You may need an additional loader to handle the result of these loaders.
| *
| */
> export { FluentBundle } from "./bundle.js";
| export { FluentResource } from "./resource.js";
| export { FluentType, FluentNone, FluentNumber, FluentDateTime } from "./types.js";
SyntaxError: Unexpected token ')'
at C:/Users/nikky/AppData/Local/Temp/_karma_webpack_600784/runtime.js:1:0
i guess this is because webpack was updated, but i am completely clueless how to go about fixing thisIlya Goncharov [JB]
06/16/2021, 10:08 AMkotlin.js.webpack.major.version=4
in gradle.properties
to back to webpack 4
Possibly you use some custom loaders or plugins with not the latest version, and it can be updated to be compatible with webpack 5Nikky
06/16/2021, 3:24 PMimplementation(npm("@fluent/bundle", "0.16.1"))
Nikky
06/16/2021, 3:28 PMBig Chungus
06/16/2021, 3:39 PMNikky
06/16/2021, 4:19 PMNikky
06/16/2021, 4:19 PMSyntaxError: Unexpected token ')'
at C:/Users/nikky/AppData/Local/Temp/_karma_webpack_394117/runtime.js:1:0
java.lang.IllegalStateException: command 'C:\Users\nikky\.gradle\nodejs\node-v14.15.4-win-x64\node.exe' exited with errors (exit code: 1)
Nikky
06/16/2021, 4:20 PMNikky
06/16/2021, 4:22 PMusePhantomJS()