The issue that I am finding is that the 4.6.14 is that the build is failing due to a webpack. The error points to ‘react-leaflet’ but I do not have any maps or location integrated into my application. The actual error is as follows:
Runtime version: 4.6.14;
AB version: 1.7.6
COMMAND:
ASSETS_ARCHIVE_URL=https://appgyver-meap-assets.s3.amazonaws.com/175g9ede9rcuql95myqjidh8vje4?response-content-disposition=attachment%3B%20filename%3D"assets.zip"%3B%20filename*%3DUTF-8’'assets.zip&response-content-type=application%2Fzip&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJJSXXQRL4UNGBAXQ%2F20221018%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221018T200251Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=3d3bf31308af9a09a77423a24ea55bed88757775b08de2c74cbb9db9410b4c00 NODE_OPTIONS=–max-old-space-size=8096 dockerrun --rm -v /tmp/535085-web-250289:/app:z -v /home/ec2-user/.npmrc:/home/node/.npmrc web ash -c ‘NODE_OPTIONS=“–max-old-space-size=8096” NEXT_SUPPORT_RELATIVE_PATHS=true ASSETS_ARCHIVE_URL=“https://appgyver-meap-assets.s3.amazonaws.com/175g9ede9rcuql95myqjidh8vje4?response-content-disposition=attachment%3B%20filename%3D"assets.zip"%3B%20filename*%3DUTF-8’'assets.zip&response-content-type=application%2Fzip&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJJSXXQRL4UNGBAXQ%2F20221018%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221018T200251Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=3d3bf31308af9a09a77423a24ea55bed88757775b08de2c74cbb9db9410b4c00” npx rnv export -p web -s standalone -c standalone --ci --yes --skipRnvCheck --packageManager yarn --template @appgyver/orchestra-template-standalone@4.6.14 -r’
FAILED with ERROR:
│ [ error ] [build] COMMAND:
npx next build
FAILED with ERROR:
Build failed because of webpack errors
Command failed with exit code 1: npx next build
Failed to compile.
./node_modules/@appgyver/orchestra-plugin-maps/lib/primitives/maps/runtime.web.js
Module not found: Can’t resolve ‘react-leaflet’ in ‘/app/node_modules/@appgyver/orchestra-plugin-maps/lib/primitives/maps’
Import trace for requested module:
Build failed because of webpack errors
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:
Next.js - Telemetry
Found custom dir:/app/src/pages
Build failed because of webpack errors
Error: Command failed with exit code 1: npx next build
Failed to compile.
./node_modules/@appgyver/orchestra-plugin-maps/lib/primitives/maps/runtime.web.js
Module not found: Can’t resolve ‘react-leaflet’ in ‘/app/node_modules/@appgyver/orchestra-plugin-maps/lib/primitives/maps’
Import trace for requested module:
./node_modules/@appgyver/orchestra-plugin-maps/lib/index.js
Build failed because of webpack errors
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:
Next.js - Telemetry
Found custom dir:/app/src/pages
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 │