You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please note the TodoApp still runs even though the error below is present.
Describe the bug
Using wasp v0.1.9
Follow the TodoApp setup steps to the 'Listing tasks' step.
I added the getTasks query to main.wasp and created ext/queries.js. Saved both files (save all to avoid intermediate 'file missing' errors).
Console shows:
Recompiling on file change...
Recompilation on file change succeeded.
Web app: Compiled successfully!
Server: [nodemon] restarting due to changes...
Server: [nodemon] starting `node ./src/server.js`
Server (stderr): (node:589921) ExperimentalWarning: The ESM module loader is experimental.
Server (stderr): internal/modules/run_main.js:54
Server (stderr): internalBinding('errors').triggerUncaughtException(
Server (stderr): ^
Server (stderr):
Server (stderr): Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/datadisk/ed/dev/TodoApp/.wasp/out/server/src/core/auth.js' imported from /datadisk/ed/dev/TodoApp/.wasp/out/server/src/dbClient.js
Server (stderr): at finalizeResolution (internal/modules/esm/resolve.js:284:11)
Server (stderr): at moduleResolve (internal/modules/esm/resolve.js:665:10)
Server (stderr): at Loader.defaultResolve [as _resolve] (internal/modules/esm/resolve.js:755:11)
Server (stderr): at Loader.resolve (internal/modules/esm/loader.js:97:40)
Server (stderr): at Loader.getModuleJob (internal/modules/esm/loader.js:243:28)
Server (stderr): at ModuleWrap.<anonymous> (internal/modules/esm/module_job.js:46:40)
Server (stderr): at link (internal/modules/esm/module_job.js:45:36) {
Server (stderr): code: 'ERR_MODULE_NOT_FOUND'
Server (stderr): }
Server: [nodemon] app crashed - waiting for file changes before starting...
To Reproduce
Install wasp-lang 0.1.9, follow TodoApp tutorial steps.
Expected behavior
No errors.
Screenshots
Desktop (please complete the following information):
OS: Pop_OS! 20.04
Browser: n/a
Version: n/a
Smartphone (please complete the following information):
n/a
Additional context
Add any other context about the problem here.
NodeJS v12.18.2
The text was updated successfully, but these errors were encountered:
Hi @edoloughlin , thanks a lot for reporting this, it was a bug from our side!
I just fixed it and deployed new version of Wasp, 0.1.9.1, download/install it and this should be problem no more.
You mentioned you are doing save all to avoid intermediate 'file missing' errors -> what exactly do you mean by that? Those were the errors you would get from Wasp I guess?
Please note the TodoApp still runs even though the error below is present.
Describe the bug
Using wasp v0.1.9
Follow the TodoApp setup steps to the 'Listing tasks' step.
I added the
getTasks
query tomain.wasp
and createdext/queries.js
. Saved both files (save all to avoid intermediate 'file missing' errors).Console shows:
To Reproduce
Install wasp-lang 0.1.9, follow TodoApp tutorial steps.
Expected behavior
No errors.
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
n/a
Additional context
Add any other context about the problem here.
NodeJS v12.18.2
The text was updated successfully, but these errors were encountered: