Typical errors

This page should help developers to easily solve and explain typical bugs we have noticed or had ourselves.

1. [webpack-cli] ModuleNotFoundError: Module not found: Error: Can't resolve 'prosemirror-keymap' TIPTAP

This error can occur when running "b2b:platform:build"
1. Go into path: custom/plugins/b2bsellerscore/src/Resources/app/b2b_platform 2. Install dependencies with this command:
npm i prosemirror-schema-list prosemirror-history prosemirror-dropcursor prosemirror-gapcursor prosemirror-keymap prosemirror-commands
Afterwards it should be possible to build our b2b platform.

2. Alternative:

// Quickfix, use specific npm version (
source ~/.bashrc
nvm install 16.15.1