Single spa not working properly in DEV
Author: e19465Created Feb 7, 2026Updated Feb 24, 2026
Bug: Single spa projects not running correctly and throw errors when try to run start/stard:standalone scripts.
When i put --mode=production, then it works fine.
"start": "webpack serve --port 9001 --env isLocal --mode=production",
"start:standalone": "webpack serve --port 9001 --env standalone --mode=production",When i put these in package json it works.
Error: dispatcher.getOwner is not a function
Source: single-spa/single-spa