-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
Hello,
I was trying to add the cloudflare worker KV integration on our Nuxt application, but when I try to build the application, I get the following error:
5: //# sourceMappingURL=sdkWrapper.js.map
[1:53:29 PM] ERROR Expected ';', '}' or <eof> in /Users/gbyesiltas/Desktop/mws/repos/gb-edge-demo/node_modules/@growthbook/edge-utils/dist/generated/sdkWrapper.js
at getRollupError (node_modules/rollup/dist/es/shared/parseAst.js:401:41)
at convertProgram (node_modules/rollup/dist/es/shared/parseAst.js:1107:26)
at parseAst (node_modules/rollup/dist/es/shared/parseAst.js:2092:87)
at tryParse (node_modules/@rollup/plugin-commonjs/dist/es/index.js:17:12)
at analyzeTopLevelStatements (node_modules/@rollup/plugin-commonjs/dist/es/index.js:37:15)
at Object.transformAndCheckExports (node_modules/@rollup/plugin-commonjs/dist/es/index.js:2161:68)
at Object.transform (node_modules/@rollup/plugin-commonjs/dist/es/index.js:2368:41)
at node_modules/rollup/dist/es/shared/node-entry.js:22571:40
[1:53:29 PM] ERROR Expected ';', '}' or <eof> in /Users/gbyesiltas/Desktop/mws/repos/gb-edge-demo/node_modules/@growthbook/edge-utils/dist/generated/sdkWrapper.js
This seems to happen when I build the app with the cloudflare_module nitro preset (I didn't test many other presets, but it doesn't fail with the default preset). Here's a very minimal reproduction: https://stackblitz.com/edit/stackblitz-starters-tnmyclk5?file=README.md
Thank you
Metadata
Metadata
Assignees
Labels
No labels