Cannot find module @phpmaker\core (v2022)

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
Roland
User
Posts: 24

Cannot find module @phpmaker\core (v2022)

Post 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.


arbei
User
Posts: 9284

Post by arbei »

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


leophpmaker
User
Posts: 3

Post by leophpmaker »

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


orbarra
User
Posts: 15

Post by orbarra »

It works!! Thanks a lot
v2023.13


Post Reply