1
Error building WebApp with Runtime 4.3.3
complete
I
Izzuddin Yussof
Hi,
App ID: 188030
Runtime Version: 4.3.3
I just updated all of my components to the latest one and tried building the app for all three platforms
Build was successful for Android and Apple app, but failed for the WebApp
I get the error message but I can't figure out where is the error coming from just from this message. Please help, thank you
Below is the error message:
Runtime version: 4.3.3; AB version: 1.5.3 COMMAND: dockerrun --rm -v /tmp/290255-web-217812:/app:z -v /home/ec2-user/.npmrc:/home/node/.npmrc web ash -c 'NEXT_SUPPORT_RELATIVE_PATHS=true npx rnv export -p web -s standalone -c standalone --ci --yes --skipRnvCheck --packageManager yarn --template @appgyver/orchestra-template-standalone@4.3.3 -r' FAILED with ERROR: │ [ error ] [build] COMMAND: npx next build FAILED with ERROR: triggerUncaughtException(err, true /
fromPromise
/); ^ /app/node_modules/@miblanchard/react-native-slider/lib/index.js:1 import React, { PureComponent } from 'react'; ^^^^^^ SyntaxError: Cannot use import statement outside a module at Object.compileFunction (node:vm:352:18) at wrapSafe (node:internal/modules/cjs/loader:1031:15) at Module._compile (node:internal/modules/cjs/loader:1065:27) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10) at Module.load (node:internal/modules/cjs/loader:981:32) type: 'SyntaxError' } Command failed with exit code 1: npx next build ./node_modules/peerjs/dist/peerjs.min.js Critical dependency: the request of a dependency is an expression Import trace for requested module: triggerUncaughtException(err, true / fromPromise
/); ^ /app/node_modules/@miblanchard/react-native-slider/lib/index.js:1 import React, { PureComponent } from 'react'; ^^^^^^ SyntaxError: Cannot use import statement outside a module at Object.compileFunction (node:vm:352:18) at wrapSafe (node:internal/modules/cjs/loader:1031:15) at Module._compile (node:internal/modules/cjs/loader:1065:27) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10) at Module.load (node:internal/modules/cjs/loader:981:32) type: 'SyntaxError' } Attention: Next.js now collects completely anonymous telemetry regarding usage. This information is used to shape Next.js' roadmap and prioritize features. You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL: https://nextjs.org/telemetry triggerUncaughtException(err, true / fromPromise
/); ^ /app/node_modules/@miblanchard/react-native-slider/lib/index.js:1 import React, { PureComponent } from 'react'; ^^^^^^ SyntaxError: Cannot use import statement outside a module at Object.compileFunction (node:vm:352:18) at wrapSafe (node:internal/modules/cjs/loader:1031:15) at Module._compile (node:internal/modules/cjs/loader:1065:27) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10) at Module.load (node:internal/modules/cjs/loader:981:32) type: 'SyntaxError' } Error: Command failed with exit code 1: npx next build ./node_modules/peerjs/dist/peerjs.min.js Critical dependency: the request of a dependency is an expression Import trace for requested module: ./node_modules/@appgyver/orchestra-sdk/src/coreApi/rtc/imports.web.js ./node_modules/@appgyver/orchestra-sdk/src/coreApi/rtc/index.js triggerUncaughtException(err, true / fromPromise
/); ^ /app/node_modules/@miblanchard/react-native-slider/lib/index.js:1 import React, { PureComponent } from 'react'; ^^^^^^ SyntaxError: Cannot use import statement outside a module at Object.compileFunction (node:vm:352:18) at wrapSafe (node:internal/modules/cjs/loader:1031:15) at Module._compile (node:internal/modules/cjs/loader:1065:27) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10) at Module.load (node:internal/modules/cjs/loader:981:32) type: 'SyntaxError' } Attention: Next.js now collects completely anonymous telemetry regarding usage. This information is used to shape Next.js' roadmap and prioritize features. You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL: https://nextjs.org/telemetry at makeError (/app/node_modules/execa/lib/error.js:60:11) at handlePromise (/app/node_modules/execa/index.js:118:26) at processTicksAndRejections (node:internal/process/task_queues:96:5) │ │ │ Project location: │ │ ./platformBuilds/standalone_web │Log In
Activity
Newest
Oldest
Kristian Gerkman
complete
Kristian Gerkman
Hey Izzuddin Yussof, you would need to update the
Forms
component set from the marketplace, in order to build web apps with >4.1.x build versions.Thanks,
Kristian
I
Izzuddin Yussof
Kristian Gerkman: Noted and thank you. I'll try building it again after I've updated the components
T
Timo Kapanen
under review
T
Timo Kapanen
Hi Izzuddin Yussof and thank for your report. This is under study why the build is failing. Best Regards, Timo Kapanen