Error Compilation of JavaScript actions failed

0
After updating my project from MX 10.6.8 to MX 10.18.3 I get an error. When running the app (locally) in step ‘build deployment structure’ an error occurs: Compilation of JavaScript actions failed:   Detail: [webpack-cli] [31mInvalid configuration object. Webpack has been initialized using a configuration object that does not match the API schema.  - configuration.output.path: The provided value "D:\\Mendix Projecten\\Check-IT!-UpdateNaarMX10.18.3\\deployment\\web" contains exclamation mark (!) which is not allowed because it's reserved for loader syntax.    -> The output directory as **absolute path** (required).[39m   As a test I created a new project, imported all used Marketplace Modules and all my exported modules. Then I can build the project without errors. Does anyone have an idea? Or where I should look for it?
asked
2 answers
1

Your project folder D:\\Mendix Projecten\\Check-IT!-UpdateNaarMX10.18. contains an exclamationmark (After Check-IT). Remove or change that character.

answered
0

The issue you're encountering seems to be related to the configuration of Webpack within your Mendix project after the upgrade. Specifically, the error mentions that the output.path configuration in Webpack contains an exclamation mark (!), which is not allowed because it is reserved for loader syntax in Webpack.

  • Verify the deployment Folder Path
  • Clear Cache and Rebuild
answered