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
I am deploying to a subfolder, I have set the basePath: variable in evidence.config.yaml as per the base path docs. When building I get an error as below:
node:internal/event_target:1090
process.nextTick(() => { throw err; });
^
Error: 404 / does not begin with base, which is configured in paths.base and can be imported from $app/paths - see https://kit.svelte.dev/docs/configuration#paths for more info (linked from //)
To suppress or handle this error, implement handleHttpError in https://kit.svelte.dev/docs/configuration#prerender
at file:///Users/owen/repos//evidence/node_modules/@sveltejs/kit/src/core/config/options.js:202:13
at file:///Users/owen/repos//evidence/node_modules/@sveltejs/kit/src/core/postbuild/prerender.js:65:25
at visit (file:///Users/owen/repos//evidence/node_modules/@sveltejs/kit/src/core/postbuild/prerender.js:195:4)
at Object.fn (file:///Users/owen/repos//evidence/node_modules/@sveltejs/kit/src/core/postbuild/prerender.js:184:22)
at dequeue (file:///Users/owen/repos//evidence/node_modules/@sveltejs/kit/src/core/postbuild/queue.js:40:42)
at file:///Users/owen/repos//evidence/node_modules/@sveltejs/kit/src/core/postbuild/queue.js:49:7
It's failing running npx vite build in node_modules/@evidence-dev/evidence/cli.js:190
Steps to Reproduce
Create evidence app
Set basePath: in evidence.config.yaml
npm run build
Describe the bug
I am deploying to a subfolder, I have set the basePath: variable in evidence.config.yaml as per the base path docs. When building I get an error as below:
node:internal/event_target:1090
process.nextTick(() => { throw err; });
^
Error: 404 / does not begin with
base
, which is configured inpaths.base
and can be imported from$app/paths
- see https://kit.svelte.dev/docs/configuration#paths for more info (linked from //)To suppress or handle this error, implement
handleHttpError
in https://kit.svelte.dev/docs/configuration#prerenderat file:///Users/owen/repos//evidence/node_modules/@sveltejs/kit/src/core/config/options.js:202:13
at file:///Users/owen/repos//evidence/node_modules/@sveltejs/kit/src/core/postbuild/prerender.js:65:25
at visit (file:///Users/owen/repos//evidence/node_modules/@sveltejs/kit/src/core/postbuild/prerender.js:195:4)
at Object.fn (file:///Users/owen/repos//evidence/node_modules/@sveltejs/kit/src/core/postbuild/prerender.js:184:22)
at dequeue (file:///Users/owen/repos//evidence/node_modules/@sveltejs/kit/src/core/postbuild/queue.js:40:42)
at file:///Users/owen/repos//evidence/node_modules/@sveltejs/kit/src/core/postbuild/queue.js:49:7
It's failing running npx vite build in node_modules/@evidence-dev/evidence/cli.js:190
Steps to Reproduce
Create evidence app
Set basePath: in evidence.config.yaml
npm run build
This should fail after bundling
Logs
System Info
Severity
blocking all usage of Evidence
Additional Information, or Workarounds
No response
The text was updated successfully, but these errors were encountered: