Hello. Im doing the tutorial from here on YouTube . When I tried to use the form that is in the tutorial nothing happened. So I checked the terminal output and it showed this:
ode.js v18.14.0
node:internal/modules/cjs/loader:1050
throw err;
^
Error: Cannot find module '/Volumes/D/wappler/communityproject/node_modules/nodemon/bin/nodemon.js'
at Module._resolveFilename (node:internal/modules/cjs/loader:1047:15)
at Module._load (node:internal/modules/cjs/loader:893:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:23:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Node.js v18.14.0
It seems to be a Wappler module that is missing. I tried System Check but all was ok. How do I rectify this?
I tried to fix by npm and got the missing pacakage fixed.
Im using the build-in Wappler server.
Now I got a bunch of SyntaxError I suspect is something I did wrong in the tutorial, so I’ll be double checking the lot. Not much else I can do with my present knowledge of Wappler.
Some insight is very welcome!
SyntaxError: app/api/registration/._register.json: Unexpected token in JSON at position 0
at JSON.parse (<anonymous>)
at Object.readFileSync (/Volumes/D/wappler/communityproject/node_modules/jsonfile/index.js:52:17)
at /Volumes/D/wappler/communityproject/lib/setup/routes.js:210:31
at Array.map (<anonymous>)
at map (/Volumes/D/wappler/communityproject/lib/core/async.js:63:32)
at createApiRoutes (/Volumes/D/wappler/communityproject/lib/setup/routes.js:206:16)
at /Volumes/D/wappler/communityproject/lib/setup/routes.js:220:24
at Array.map (<anonymous>)
at map (/Volumes/D/wappler/communityproject/lib/core/async.js:63:32)
at createApiRoutes (/Volumes/D/wappler/communityproject/lib/setup/routes.js:206:16)