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
Describe the bug
In multipage setup, when I build a post, I get following error:
PS D:\github_projects\site\posts\post-1> idyll build
Building Idyll project with output directory: ../../docs/post-1/
Could not import component custom-component for server-side rendering.
Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: 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:387:5)
at throwIfUnsupportedURLScheme (node:internal/modules/esm/resolve:1075:11)
at defaultResolve (node:internal/modules/esm/resolve:1155:3)
at nextResolve (node:internal/modules/esm/loader:173:28)
at ESMLoader.resolve (node:internal/modules/esm/loader:852:30)
at ESMLoader.getModuleJob (node:internal/modules/esm/loader:439:18)
at ESMLoader.import (node:internal/modules/esm/loader:536:22)
at importModuleDynamically (node:internal/modules/cjs/loader:1059:29)
at importModuleDynamicallyWrapper (node:internal/vm/module:438:21)
at importModuleDynamically (node:vm:389:46) {
code: 'ERR_UNSUPPORTED_ESM_URL_SCHEME'
}
Could not import component custom-d3-component for server-side rendering.
Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: 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:387:5)
at throwIfUnsupportedURLScheme (node:internal/modules/esm/resolve:1075:11)
at defaultResolve (node:internal/modules/esm/resolve:1155:3)
at nextResolve (node:internal/modules/esm/loader:173:28)
at ESMLoader.resolve (node:internal/modules/esm/loader:852:30)
at ESMLoader.getModuleJob (node:internal/modules/esm/loader:439:18)
at ESMLoader.import (node:internal/modules/esm/loader:536:22)
at importModuleDynamically (node:internal/modules/cjs/loader:1059:29)
at importModuleDynamicallyWrapper (node:internal/vm/module:438:21)
at importModuleDynamically (node:vm:389:46) {
code: 'ERR_UNSUPPORTED_ESM_URL_SCHEME'
}
To Reproduce
Steps to reproduce the behavior:
Go to '<root_folder/posts/post-1'
Run idyll build
See error
Expected behavior
Should build without any errors
Desktop:
OS: Windows 11
The text was updated successfully, but these errors were encountered:
Describe the bug
In multipage setup, when I build a post, I get following error:
To Reproduce
Steps to reproduce the behavior:
idyll build
Expected behavior
Should build without any errors
Desktop:
The text was updated successfully, but these errors were encountered: