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
When trying to build the application in a Windows environment, fails with a path error.
Steps to Reproduce the Bug or Issue
Clone the repository
Issue a yarn command to build the project for the first time
Notice how it can be completed:
(node:29760) ExperimentalWarning: Import assertions are not a stable feature of the JavaScript language. Avoid relying on their current behavior and syntax as those might change in a future version of Node.js.
(Use `node --trace-warnings ...` to show where the warning was created)
(node:29760) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time
---
Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file, data, and node are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'c:'
at new NodeError (node:internal/errors:405:5)
at throwIfUnsupportedURLScheme (node:internal/modules/esm/load:131:11)
at defaultLoad (node:internal/modules/esm/load:82:3)
at nextLoad (node:internal/modules/esm/loader:163:28)
at C:\Users\LordR\repos\kaoto-next\node_modules\ts-node\src\esm.ts:255:45
at async addShortCircuitFlag (C:\Users\LordR\repos\kaoto-next\node_modules\ts-node\src\esm.ts:409:15)
at async nextLoad (node:internal/modules/esm/loader:163:22)
at async ESMLoader.load (node:internal/modules/esm/loader:603:20)
at async ESMLoader.moduleProvider (node:internal/modules/esm/loader:457:11)
at async link (node:internal/modules/esm/module_job:68:21) {
code: 'ERR_UNSUPPORTED_ESM_URL_SCHEME'
}
Screenshots or Videos
No response
Platform
OS: [Windows]
The text was updated successfully, but these errors were encountered:
For windows file path, `C:\` prefix are not supported as they
get confused with a regular URI.
The fix is to write the file path with `file://` protocol.
Fixes: KaotoIO#98
Related issue: nodejs/node#31710
For windows file path, `C:\` prefix are not supported as they
get confused with a regular URI.
The fix is to write the file path with `file://` protocol.
Fixes: #98
Related issue: nodejs/node#31710
Describe the Bug
When trying to build the application in a Windows environment, fails with a path error.
Steps to Reproduce the Bug or Issue
yarn
command to build the project for the first timeNotice how it can be completed:
Screenshots or Videos
No response
Platform
The text was updated successfully, but these errors were encountered: