Hi I'm trying to use the development / local area, having not used it for a while and i get the following error.
Would appreciate any ideas how to fix?
thanks
Nigel
Hi I'm trying to use the development / local area, having not used it for a while and i get the following error.
Would appreciate any ideas how to fix?
thanks
Nigel
Hi Nigel,
Is your localhost running through Docker Desktop or another software? If so, it is running?
You have to install the npm packages. In the same line you see the button Deploy, try to figure if there's a button for that
Hi, I'm using nodejs and not knowingly going through other software.
I have stopped, restarted the local server .. using the buttons next to deploy, also checked the system by clickign on that button.
It seems from the screenshot as if something is missing... but Im not sure what
I've found another thread re missing modules - which this seems to be?
Error: Cannot find module './parent-namespace'
and they suggest.
I had the same issue caused by a Wappler upgrade a few release ago, and solved it by deleting the contents of the Wappler project lib folder and restarting Wappler, this will recreate the contents of the lib folder and add the missing memorystore.js file.
I'm a bit nervous about deleting all the files in the lib folder any thoughts??
Many thanks
The button next to Publish, "Install Node packages"
You can always make a backup of your project
Bizarrely I've just introduced a new target staging (which is another set of issues im trying to resolve) and it shows the Install Node packages, clean etc
but for development and production it doesnt??
Im wondering if something else isnt setup correctly ???
Could you show your target settings? Could you maybe try to set the version to NodeJS 18?
Are you using “Wappler Local Server” in your development target?
You might want to switch to “Own Server” that will use your system more and install all the required modules.
Do run “Install modules” command from the bottom toolbar afterwards.
I've changed to own server and the install modules button is present and have run and it now seems to work.
Many thanks Apple for your continued support in trying to help me fix this and to George for the Own Server suggestion.