App Not Compiling

0
I recently added the Forget Password module along with all the dependencies and now my app won’t compile. When I remove everything, it works. How do I go about tracking down the problem and resolution?  
asked
2 answers
0

I have added each module individual and tested and the problem occurs when I add the actual Forgot Password module.

 

The first issue that comes up is a missing parameter on the SSL check. I have changed that and attempt to compile, I then  get a compile error.

 

Compile log:

 

[webpack-cli] ModuleNotFoundError: Module not found: Error: Can't resolve '\\Mac\Home\Documents\Mendix\DetaiLED Tracker-main_3\deployment\tmp\jsactions' in 'C:\Program Files\Mendix\9.3.0.22930\modeler\tools\node'     at C:\Program Files\Mendix\9.3.0.22930\modeler\tools\node\node_modules\webpack\lib\Compilation.js:1762:28     at C:\Program Files\Mendix\9.3.0.22930\modeler\tools\node\node_modules\webpack\lib\NormalModuleFactory.js:732:13     at eval (eval at create (C:\Program Files\Mendix\9.3.0.22930\modeler\tools\node\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:10:1)     at C:\Program Files\Mendix\9.3.0.22930\modeler\tools\node\node_modules\webpack\lib\NormalModuleFactory.js:274:22     at eval (eval at create (C:\Program Files\Mendix\9.3.0.22930\modeler\tools\node\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:22:1)     at C:\Program Files\Mendix\9.3.0.22930\modeler\tools\node\node_modules\webpack\lib\NormalModuleFactory.js:403:22     at C:\Program Files\Mendix\9.3.0.22930\modeler\tools\node\node_modules\webpack\lib\NormalModuleFactory.js:117:11     at C:\Program Files\Mendix\9.3.0.22930\modeler\tools\node\node_modules\webpack\lib\NormalModuleFactory.js:648:24     at C:\Program Files\Mendix\9.3.0.22930\modeler\tools\node\node_modules\webpack\lib\NormalModuleFactory.js:802:8     at C:\Program Files\Mendix\9.3.0.22930\modeler\tools\node\node_modules\webpack\lib\NormalModuleFactory.js:922:5 resolve '\\Mac\Home\Documents\Mendix\DetaiLED Tracker-main_3\deployment\tmp\jsactions' in 'C:\Program Files\Mendix\9.3.0.22930\modeler\tools\node'   Parsed request is a module   No description file found in C:\Program Files\Mendix\9.3.0.22930\modeler\tools\node or above   resolve as module     looking for modules in C:\Program Files\Mendix\9.3.0.22930\modeler\tools\node\node_modules       single file module         No description file found in C:\Program Files\Mendix\9.3.0.22930\modeler\tools\node\node_modules\Mac\Home\Documents\Mendix\DetaiLED Tracker-main_3\deployment\tmp or above         no extension           C:\Program Files\Mendix\9.3.0.22930\modeler\tools\node\node_modules\Mac\Home\Documents\Mendix\DetaiLED Tracker-main_3\deployment\tmp\jsactions doesn't exist         .js           C:\Program Files\Mendix\9.3.0.22930\modeler\tools\node\node_modules\Mac\Home\Documents\Mendix\DetaiLED Tracker-main_3\deployment\tmp\jsactions.js doesn't exist         .json           C:\Program Files\Mendix\9.3.0.22930\modeler\tools\node\node_modules\Mac\Home\Documents\Mendix\DetaiLED Tracker-main_3\deployment\tmp\jsactions.json doesn't exist         .wasm           C:\Program Files\Mendix\9.3.0.22930\modeler\tools\node\node_modules\Mac\Home\Documents\Mendix\DetaiLED Tracker-main_3\deployment\tmp\jsactions.wasm doesn't exist       C:\Program Files\Mendix\9.3.0.22930\modeler\tools\node\node_modules\Mac\Home\Documents\Mendix\DetaiLED Tracker-main_3\deployment\tmp\jsactions doesn't exist     C:\Program Files\Mendix\9.3.0.22930\modeler\tools\node_modules doesn't exist or is not a directory     C:\Program Files\Mendix\9.3.0.22930\modeler\node_modules doesn't exist or is not a directory     C:\Program Files\Mendix\9.3.0.22930\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

 

 

answered
0

I think this may be down to the way you have Parallels setup on your Mac.

It looks like it’s trying to use a network drive, and I have had problems with JavaScript Actions failing to compile properly when mine was setup like that.

The solution I found was to map the network drive to a letter (M: in my case), and access all work from that.

So in your case, map \\Mac\Home\Documents\Mendix to M: and reopen the project from there. You may need to reinstall the module so the new path is correctly picked up.

answered