Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

404 Not Found #683

Open
asinwang opened this issue Feb 18, 2024 · 3 comments
Open

404 Not Found #683

asinwang opened this issue Feb 18, 2024 · 3 comments

Comments

@asinwang
Copy link

image

npm run custom-svelte-client && vite dev

[email protected] custom-svelte-client
node ./svelteKitCustomClient/replace

Forced re-optimization of dependencies

VITE v4.5.2 ready in 722 ms

➜ Local: http://localhost:5173/
➜ Network: use --host to expose
➜ press h to show help
NotFound [Error]: Not found: /
at resolve (/private/var/folders/00/j3d6n1nx6t9bbxc_8j_9bkl40000gp/T/tmp5d4m20p1/kit/node_modules/@sveltejs/kit/src/runtime/server/respond.js:483:13)
at resolve (/private/var/folders/00/j3d6n1nx6t9bbxc_8j_9bkl40000gp/T/tmp5d4m20p1/kit/node_modules/@sveltejs/kit/src/runtime/server/respond.js:277:5)
at #options.hooks.handle (/private/var/folders/00/j3d6n1nx6t9bbxc_8j_9bkl40000gp/T/tmp5d4m20p1/kit/node_modules/@sveltejs/kit/src/runtime/server/index.js:49:56)
at Module.respond (/private/var/folders/00/j3d6n1nx6t9bbxc_8j_9bkl40000gp/T/tmp5d4m20p1/kit/node_modules/@sveltejs/kit/src/runtime/server/respond.js:274:40) {
status: 404
}

warn - The @variants directive has been deprecated in Tailwind CSS v3.0.
warn - Use @layer utilities or @layer components instead.
warn - https://tailwindcss.com/docs/upgrade-guide#replace-variants-with-layer
NotFound [Error]: Not found: /chapter1/3
at resolve (/private/var/folders/00/j3d6n1nx6t9bbxc_8j_9bkl40000gp/T/tmp5d4m20p1/kit/node_modules/@sveltejs/kit/src/runtime/server/respond.js:483:13)
at resolve (/private/var/folders/00/j3d6n1nx6t9bbxc_8j_9bkl40000gp/T/tmp5d4m20p1/kit/node_modules/@sveltejs/kit/src/runtime/server/respond.js:277:5)
at #options.hooks.handle (/private/var/folders/00/j3d6n1nx6t9bbxc_8j_9bkl40000gp/T/tmp5d4m20p1/kit/node_modules/@sveltejs/kit/src/runtime/server/index.js:49:56)
at Module.respond (/private/var/folders/00/j3d6n1nx6t9bbxc_8j_9bkl40000gp/T/tmp5d4m20p1/kit/node_modules/@sveltejs/kit/src/runtime/server/respond.js:274:40)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
status: 404
}
NotFound [Error]: Not found: /chapter1/6
at resolve (/private/var/folders/00/j3d6n1nx6t9bbxc_8j_9bkl40000gp/T/tmp5d4m20p1/kit/node_modules/@sveltejs/kit/src/runtime/server/respond.js:483:13)
at resolve (/private/var/folders/00/j3d6n1nx6t9bbxc_8j_9bkl40000gp/T/tmp5d4m20p1/kit/node_modules/@sveltejs/kit/src/runtime/server/respond.js:277:5)
at #options.hooks.handle (/private/var/folders/00/j3d6n1nx6t9bbxc_8j_9bkl40000gp/T/tmp5d4m20p1/kit/node_modules/@sveltejs/kit/src/runtime/server/index.js:49:56)
at Module.respond (/private/var/folders/00/j3d6n1nx6t9bbxc_8j_9bkl40000gp/T/tmp5d4m20p1/kit/node_modules/@sveltejs/kit/src/runtime/server/respond.js:274:40)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
status: 404
}
NotFound [Error]: Not found: /chapter1/6
at resolve (/private/var/folders/00/j3d6n1nx6t9bbxc_8j_9bkl40000gp/T/tmp5d4m20p1/kit/node_modules/@sveltejs/kit/src/runtime/server/respond.js:483:13)
at resolve (/private/var/folders/00/j3d6n1nx6t9bbxc_8j_9bkl40000gp/T/tmp5d4m20p1/kit/node_modules/@sveltejs/kit/src/runtime/server/respond.js:277:5)
at #options.hooks.handle (/private/var/folders/00/j3d6n1nx6t9bbxc_8j_9bkl40000gp/T/tmp5d4m20p1/kit/node_modules/@sveltejs/kit/src/runtime/server/index.js:49:56)
at Module.respond (/private/var/folders/00/j3d6n1nx6t9bbxc_8j_9bkl40000gp/T/tmp5d4m20p1/kit/node_modules/@sveltejs/kit/src/runtime/server/respond.js:274:40)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
status: 404
}

@ChenNingCong
Copy link

Hi, I also encountered this problem. It turns out that the doc-builder in the pip repo is out-dated.
Please install and build the doc-builder from scratch doc-builder

cd doc-builder
pip install -e .

Then run doc-builder.

@bewygs
Copy link

bewygs commented Feb 29, 2024

Hi, I encountered the same issue even when installing doc-builder from the source. I used Python 3.8 and Node version 20 as it seems to be the version used in doc-builder/.github/workflows.

@ChenNingCong which version of python and node did you use ?

@confiq
Copy link

confiq commented Mar 12, 2024

@bewygs :

❯ python3 --version && node --version
Python 3.12.2
v21.7.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants