Page 1 of 1

Cannot find module @phpmaker\core (v2022)

Posted: Sun Jan 02, 2022 1:55 am
by Roland

With PhpMaker 2022.8.0

Hi all,

For any unknown reason, generating scripts stopped suddenly working:

Error: Cannot find module 'C:\Users\rolan\AppData\Roaming\PHPMaker2022\node_modules\@phpmaker\core\phpmaker.js'
at Function.Module.resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module.
load (node:internal/modules/cjs/loader:778:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:17:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Error(s) occurred. Compilation of .scss files skipped.

I have reinstall PhpMaker. Maybe I have to use a former backup?

Thank you for comments.


Re: Generating scripts stopped working

Posted: Sun Jan 02, 2022 10:26 am
by arbei

The node module is missing. You may try to delete C:\Users\<user>\AppData\Roaming\PHPMaker2022, and open PHPMaker again.


Re: Generating scripts stopped working

Posted: Wed Mar 22, 2023 2:26 am
by leophpmaker

Thank you so much.
It worked for phpmaker v2023.11


Re: Generating scripts stopped working (v2022)

Posted: Sun Aug 13, 2023 8:20 am
by orbarra

It works!! Thanks a lot
v2023.13