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
{{ message }}
This repository has been archived by the owner on Sep 17, 2022. It is now read-only.
Same result on 3 separate machines, Windows 10 + Node 16.10.0 / 16.13.0 / 16.15.0
Ran npm init vitebook
Go through the steps for a Vue project
Run npm install
Add one sample story (literally just one element in a .vue template
Then run npm vitebook:build
Build then fails with the following error:
Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only file and data URLs 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:371:5)
at defaultResolve (node:internal/modules/esm/resolve:1016:11)
at ESMLoader.resolve (node:internal/modules/esm/loader:422:30)
at ESMLoader.getModuleJob (node:internal/modules/esm/loader:222:40)
at ESMLoader.import (node:internal/modules/esm/loader:276:22)
at importModuleDynamically (node:internal/modules/esm/translators:111:35)
at importModuleDynamicallyCallback (node:internal/process/esm_loader:35:14)
at build2 (file:///C:/Source/any/node_modules/@vitebook/core/dist/node/cli/run.js:17335:50)
at async buildCommand (file:///C:/Source/any/node_modules/@vitebook/core/dist/node/cli/run.js:18057:3) {
code: 'ERR_UNSUPPORTED_ESM_URL_SCHEME'
Has anyone had this and been able to resolve it? We've tried on 3 separate machines and all return this error. Not much helpful info on this either.
And vitebook:dev command runs and loads the site/story as expected.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Same result on 3 separate machines, Windows 10 + Node 16.10.0 / 16.13.0 / 16.15.0
Ran
npm init vitebook
Go through the steps for a Vue project
Run
npm install
Add one sample story (literally just one element in a .vue template
Then run
npm vitebook:build
Build then fails with the following error:
Has anyone had this and been able to resolve it? We've tried on 3 separate machines and all return this error. Not much helpful info on this either.
And vitebook:dev command runs and loads the site/story as expected.
The text was updated successfully, but these errors were encountered: