Build error on same app built 4 months ago

Getting this error trying to build a web app.

The app hasn’t changed since last build - 4 months ago. It’s exactly the same except the updated components.

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’

Anyone knows what this is about?

1 Like

I am suddenly getting the same error, so there is probably no problem on our side…

1 Like

Same error all day. Web builds throw erros like this:
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 │

1 Like

Same here with exactly the same errors.

@Vlad_Airoofs WebApp Build FixedSAP AppGyver Changelog