Can´t find the category for the node.js backend.
I set up the backend as described in the readme. With a little bit trouble with the postgres part everything should be fine now, but i am receiving the follow error after starting the backend with "yarn start:dev":
SyntaxError: Cannot use import statement outside a module
at Object.compileFunction (node:vm:355:18)
at wrapSafe (node:internal/modules/cjs/loader:1022:15)
at Module.compile (node:internal/modules/cjs/loader:1056:27)
at Module.compile (/Users//workspace/salesbackend/nodemodules/pirates/lib/index.js:99:24)
at Module.extensions..js (node:internal/modules/cjs/loader:1121:10)
at Object.newLoader as .js
at Module.load (node:internal/modules/cjs/loader:972:32)
at Function.Module._load (node:internal/modules/cjs/loader:813:14)
at Function.executeUserEntryPoint as runMain
at Object.
[nodemon] app crashed - waiting for file changes before starting...
What am i doing wrong?
Thank you in advance for your help.