-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
BugError or unexpected behaviorsError or unexpected behaviorsPriority:HighShould be addressed soon but not criticalShould be addressed soon but not critical
Description
Description
The Docker/CI build started failing during the build:examples step with the following error:
Module parse failed: Identifier 'UserModel' has already been declared
You may need an appropriate loader to handle this file type
This is probably caused by webpack/config.examples.js, which currently only transpiles .js files. Building the examples imports server/models/user.ts, so when webpack attempted to parse TypeScript, it caused a syntax error.
Steps to Reproduce
Run npm run build in the command line, which will show an error.
Metadata
Metadata
Assignees
Labels
BugError or unexpected behaviorsError or unexpected behaviorsPriority:HighShould be addressed soon but not criticalShould be addressed soon but not critical