WebApp build failed for two days, please help! Error: Can't resolve 'prosemirror-keymap' in '/app/node_modules/@tiptap/core/dist'

AppID - I think it is 511205 (number in URL)
Runtime 4.6.22 and 4.6.27
I tried plain build, build on copy of app, build on exported-imported app, all throw the same error:

Runtime version: 4.6.22;
AB version: 1.7.8
COMMAND:

ASSETS_ARCHIVE_URL=https://appgyver-meap-assets.s3.amazonaws.com/8t13xz7ef6azn50spl9ov8dhfw7l?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%2F20221206%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221206T092614Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=50eb7e055f1e63ee111ae478afaeba2e1c4cde88de919b39af3fc98d9de0d125 NODE_OPTIONS=–max-old-space-size=8096 dockerrun --rm -v /tmp/613967-web-260621:/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/8t13xz7ef6azn50spl9ov8dhfw7l?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%2F20221206%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221206T092614Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=50eb7e055f1e63ee111ae478afaeba2e1c4cde88de919b39af3fc98d9de0d125” npx rnv export -p web -s standalone -c standalone --ci --yes --skipRnvCheck --packageManager yarn --template @appgyver/orchestra-template-standalone@4.6.22 -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/@tiptap/core/dist/tiptap-core.cjs
Module not found: Can’t resolve ‘prosemirror-keymap’ in ‘/app/node_modules/@tiptap/core/dist’
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/@tiptap/core/dist/tiptap-core.cjs
Module not found: Can’t resolve ‘prosemirror-keymap’ in ‘/app/node_modules/@tiptap/core/dist’
Import trace for requested module:
./node_modules/@tiptap/extension-image/dist/tiptap-extension-image.cjs
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 │

3 Likes

same :frowning:

Module not found: Can’t resolve ‘prosemirror-keymap’ in ‘/app/node_modules/@tiptap/core/dist’

1 Like

I have the same problem… @Mevi when you can, come here and take a look… The status page ’ https://status.appgyver.com/ ’ is not showing any problems…

│ [ 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/@tiptap/core/dist/tiptap-core.cjs
Module not found: Can’t resolve ‘prosemirror-keymap’ in ‘/app/node_modules/@tiptap/core/dist’

exact same issue: 4.22.6 with .zip, same error message

Three days so far. Horrible.

@Alexander_Kornilov WebApp Build FixedSAP AppGyver Changelog

Same problem, with me today with de build 4.6.35 :frowning:

2 Likes

Hi,

We have released 4.6.36 to fully resolve the issue with ‘/app/node_modules/@tiptap/core/dist’.

1 Like

Not sure if it’s just me, or another general build issue, but this version seems to be throwing due to /tmp/633911-web-268822/oxide-node-api-shim

Also noticed below error which may be relevant
Resolution field "@babel/types@7.17.12" is incompatible with requested version "@babel/types@^7.20.7"

Hi, I can’t build my app now the only option that shows up is 4.6.36 and it throws:

error Package "" refers to a non-existing file '"./oxide-node-api-shim"'.
warning @rnv/engine-rn-web > @rnv/sdk-webpack > workbox-webpack-plugin > workbox-build > @surma/rollup-plugin-off-main-thread > magic-string > sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
Command failed with exit code 1: yarn
warning package.json: No license field
warning No license field
error Package "" refers to a non-existing file '"./oxide-node-api-shim"'.
warning @rnv/engine-rn-web > @rnv/sdk-webpack > workbox-webpack-plugin > workbox-build > @surma/rollup-plugin-off-main-thread > magic-string > sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
1 Like

For me now (08/02/23( I can build the web version but not the Android App.

I get the error:

FAILED with ERROR:
error Package “” refers to a non-existing file ‘“./oxide-node-api-shim”’.
info Visit yarn install | Yarn for documentation about this command.
Command failed with exit code 1: yarn
warning package.json: No license field
warning No license field
warning Resolution field “@jridgewell/gen-mapping@0.3.1” is incompatible with requested version “@jridgewell/gen-mapping@^0.1.0”
error Package “” refers to a non-existing file ‘“./oxide-node-api-shim”’.

Mesmo problema comigo

4.6.36 worked for me