Compilation of JavaScript actions failed in Academy RAD course

0
Hi See the error I came into in deployment of the Academy RAD course applicaation - LearnNow. - [webpack-cli] ModuleNotFoundError: Module not found: Error: Can't resolve '\\mac\Home\Documents\Mendix\LearnNow Management\deployment\tmp\jsactions' in 'C:\Program Files\Mendix\9.15.0.47426\modeler\tools\node'     at C:\Program Files\Mendix\9.15.0.47426\modeler\tools\node\node_modules\webpack\lib\Compilation.js:2016:28     at C:\Program Files\Mendix\9.15.0.47426\modeler\tools\node\node_modules\webpack\lib\NormalModuleFactory.js:798:13     at eval (eval at create (C:\Program Files\Mendix\9.15.0.47426\modeler\tools\node\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:10:1)     at C:\Program Files\Mendix\9.15.0.47426\modeler\tools\node\node_modules\webpack\lib\NormalModuleFactory.js:270:22     at eval (eval at create (C:\Program Files\Mendix\9.15.0.47426\modeler\tools\node\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:35:1)     at C:\Program Files\Mendix\9.15.0.47426\modeler\tools\node\node_modules\webpack\lib\NormalModuleFactory.js:434:22     at C:\Program Files\Mendix\9.15.0.47426\modeler\tools\node\node_modules\webpack\lib\NormalModuleFactory.js:116:11     at C:\Program Files\Mendix\9.15.0.47426\modeler\tools\node\node_modules\webpack\lib\NormalModuleFactory.js:670:25     at C:\Program Files\Mendix\9.15.0.47426\modeler\tools\node\node_modules\webpack\lib\NormalModuleFactory.js:855:8     at C:\Program Files\Mendix\9.15.0.47426\modeler\tools\node\node_modules\webpack\lib\NormalModuleFactory.js:975:5 resolve '\\mac\Home\Documents\Mendix\LearnNow Management\deployment\tmp\jsactions' in 'C:\Program Files\Mendix\9.15.0.47426\modeler\tools\node'   Parsed request is a module   No description file found in C:\Program Files\Mendix\9.15.0.47426\modeler\tools\node or above   resolve as module     looking for modules in C:\Program Files\Mendix\9.15.0.47426\modeler\tools\node\node_modules       single file module         No description file found in C:\Program Files\Mendix\9.15.0.47426\modeler\tools\node\node_modules\mac\Home\Documents\Mendix\LearnNow Management\deployment\tmp or above         no extension           C:\Program Files\Mendix\9.15.0.47426\modeler\tools\node\node_modules\mac\Home\Documents\Mendix\LearnNow Management\deployment\tmp\jsactions doesn't exist         .js           C:\Program Files\Mendix\9.15.0.47426\modeler\tools\node\node_modules\mac\Home\Documents\Mendix\LearnNow Management\deployment\tmp\jsactions.js doesn't exist         .json           C:\Program Files\Mendix\9.15.0.47426\modeler\tools\node\node_modules\mac\Home\Documents\Mendix\LearnNow Management\deployment\tmp\jsactions.json doesn't exist         .wasm           C:\Program Files\Mendix\9.15.0.47426\modeler\tools\node\node_modules\mac\Home\Documents\Mendix\LearnNow Management\deployment\tmp\jsactions.wasm doesn't exist       C:\Program Files\Mendix\9.15.0.47426\modeler\tools\node\node_modules\mac\Home\Documents\Mendix\LearnNow Management\deployment\tmp\jsactions doesn't exist     C:\Program Files\Mendix\9.15.0.47426\modeler\tools\node_modules doesn't exist or is not a directory     C:\Program Files\Mendix\9.15.0.47426\modeler\node_modules doesn't exist or is not a directory     C:\Program Files\Mendix\9.15.0.47426\node_modules doesn't exist or is not a directory     C:\Program Files\Mendix\node_modules doesn't exist or is not a directory     C:\Program Files\node_modules doesn't exist or is not a directory     C:\node_modules doesn't exist or is not a directory[webpack-cli] ModuleNotFoundError: Module not found: Error: Can't resolve '\\mac\Home\Documents\Mendix\LearnNow Management\deployment\tmp\jsactions' in 'C:\Program Files\Mendix\9.15.0.47426\modeler\tools\node'     at C:\Program Files\Mendix\9.15.0.47426\modeler\tools\node\node_modules\webpack\lib\Compilation.js:2016:28     at C:\Program Files\Mendix\9.15.0.47426\modeler\tools\node\node_modules\webpack\lib\NormalModuleFactory.js:798:13     at eval (eval at create (C:\Program Files\Mendix\9.15.0.47426\modeler\tools\node\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:10:1)     at C:\Program Files\Mendix\9.15.0.47426\modeler\tools\node\node_modules\webpack\lib\NormalModuleFactory.js:270:22     at eval (eval at create (C:\Program Files\Mendix\9.15.0.47426\modeler\tools\node\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:35:1)     at C:\Program Files\Mendix\9.15.0.47426\modeler\tools\node\node_modules\webpack\lib\NormalModuleFactory.js:434:22     at C:\Program Files\Mendix\9.15.0.47426\modeler\tools\node\node_modules\webpack\lib\NormalModuleFactory.js:116:11     at C:\Program Files\Mendix\9.15.0.47426\modeler\tools\node\node_modules\webpack\lib\NormalModuleFactory.js:670:25     at C:\Program Files\Mendix\9.15.0.47426\modeler\tools\node\node_modules\webpack\lib\NormalModuleFactory.js:855:8     at C:\Program Files\Mendix\9.15.0.47426\modeler\tools\node\node_modules\webpack\lib\NormalModuleFactory.js:975:5 resolve '\\mac\Home\Documents\Mendix\LearnNow Management\deployment\tmp\jsactions' in 'C:\Program Files\Mendix\9.15.0.47426\modeler\tools\node'   Parsed request is a module   No description file found in C:\Program Files\Mendix\9.15.0.47426\modeler\tools\node or above   resolve as module     looking for modules in C:\Program Files\Mendix\9.15.0.47426\modeler\tools\node\node_modules       single file module         No description file found in C:\Program Files\Mendix\9.15.0.47426\modeler\tools\node\node_modules\mac\Home\Documents\Mendix\LearnNow Management\deployment\tmp or above         no extension           C:\Program Files\Mendix\9.15.0.47426\modeler\tools\node\node_modules\mac\Home\Documents\Mendix\LearnNow Management\deployment\tmp\jsactions doesn't exist         .js           C:\Program Files\Mendix\9.15.0.47426\modeler\tools\node\node_modules\mac\Home\Documents\Mendix\LearnNow Management\deployment\tmp\jsactions.js doesn't exist         .json           C:\Program Files\Mendix\9.15.0.47426\modeler\tools\node\node_modules\mac\Home\Documents\Mendix\LearnNow Management\deployment\tmp\jsactions.json doesn't exist         .wasm           C:\Program Files\Mendix\9.15.0.47426\modeler\tools\node\node_modules\mac\Home\Documents\Mendix\LearnNow Management\deployment\tmp\jsactions.wasm doesn't exist       C:\Program Files\Mendix\9.15.0.47426\modeler\tools\node\node_modules\mac\Home\Documents\Mendix\LearnNow Management\deployment\tmp\jsactions doesn't exist     C:\Program Files\Mendix\9.15.0.47426\modeler\tools\node_modules doesn't exist or is not a directory     C:\Program Files\Mendix\9.15.0.47426\modeler\node_modules doesn't exist or is not a directory     C:\Program Files\Mendix\9.15.0.47426\node_modules doesn't exist or is not a directory     C:\Program Files\Mendix\node_modules doesn't exist or is not a directory     C:\Program Files\node_modules doesn't exist or is not a directory     C:\node_modules doesn't exist or is not a directory
asked
3 answers
4

This occurs if you are building your application on a Mac using Parallels (or similar) and the application is located on a network.

The solution is to create a mapped drive in Windows. In your case, try mapping the M: drive (or a letter of your choice) to “\\mac\Home\Documents\Mendix”. Then open your project from the M: drive using Windows Explorer or the File menu in Studio Pro. When you build your application it should now compile. 

Hope this helps.

answered
0

Go to your project’s directory '\\mac\Home\Documents\Mendix\LearnNow Management\’ and remove directory ‘deployment’. As soon as you again run your project locally, it will recreate it. Hopefully without this error.

answered
0

Here is a screenshot.

answered