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
The server application was created using
npx nx generate @nx/express:application server--directory=./ --babelJest --frontendProject=sg --no-interactive
Error: Only URLs with a scheme in: file, data are supported by the default ESM loader. On Windows, absolute paths
must be valid file:// URLs. Received protocol 'd:'
at new NodeError (node:internal/errors:393:5)
at throwIfUnsupportedURLScheme (node:internal/modules/esm/resolve:1026:11)
at defaultResolve (node:internal/modules/esm/resolve:1106:3)
at nextResolve (node:internal/modules/esm/loader:163:28)
at ESMLoader.resolve (node:internal/modules/esm/loader:841:30)
at ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:18)
at ESMLoader.import (node:internal/modules/esm/loader:525:22)
at importModuleDynamically (node:internal/modules/cjs/loader:1098:29)
at importModuleDynamicallyWrapper (node:internal/vm/module:438:21)
at importModuleDynamically (node:vm:389:46)
Operating System
macOS
Linux
Windows
Other (Please specify)
Additional Information
I tried creating express applications with multiple approaches, but no luck
The text was updated successfully, but these errors were encountered:
Current Behavior
When running nx serve server which is Express application, getting error
https://stackblitz.com/edit/react-ts-yza5hs?file=README.md
Expected Behavior
Should be able to serve the server app
should be able to open in the browser
GitHub Repo
https://github.com/kalingaCoder/NX16
Steps to Reproduce
The server application was created using
npx nx generate @nx/express:application server--directory=./ --babelJest --frontendProject=sg --no-interactive
Nx Report
Failure Logs
Error: Only URLs with a scheme in: file, data are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'd:' at new NodeError (node:internal/errors:393:5) at throwIfUnsupportedURLScheme (node:internal/modules/esm/resolve:1026:11) at defaultResolve (node:internal/modules/esm/resolve:1106:3) at nextResolve (node:internal/modules/esm/loader:163:28) at ESMLoader.resolve (node:internal/modules/esm/loader:841:30) at ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:18) at ESMLoader.import (node:internal/modules/esm/loader:525:22) at importModuleDynamically (node:internal/modules/cjs/loader:1098:29) at importModuleDynamicallyWrapper (node:internal/vm/module:438:21) at importModuleDynamically (node:vm:389:46)
Operating System
Additional Information
I tried creating express applications with multiple approaches, but no luck
The text was updated successfully, but these errors were encountered: