Unable to run the docs locally
See original GitHub issueQwik Version
0.0.36
Operating System (or Browser)
Linux
Node Version (if applicable)
16.13.0
Which component is affected?
Qwik Optimizer (rust)
Expected Behaviour
I would like to run the qwik-docs on my machine, I’m running yarn workspace qwik-docs dev
to do so.
Actual Behaviour
Here is what I get in return:
error when starting dev server:
Error [ERR_REQUIRE_ESM]: require() of ES Module /**/qwik/node_modules/node-fetch/src/index.js from /**/qwik/packages/qwik/dist/optimizer.cjs not supported.
Instead change the require of index.js in /**/qwik/packages/qwik/dist/optimizer.cjs to a dynamic import() which is available in all CommonJS modules.
at Object.sys.dynamicImport (/**/qwik/packages/qwik/dist/optimizer.cjs:603:37)
at Object.configureServer (/**/qwik/packages/qwik/dist/optimizer.cjs:2065:37)
at createServer (file:///**/qwik/node_modules/vite/dist/node/chunks/dep-561c5231.js:59066:41)
at async CAC.<anonymous> (file:///**/qwik/node_modules/vite/dist/node/cli.js:699:24)
Additional Information
No response
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Unable to run a doc build locally · Issue #2154 - GitHub
Details. I want to look into contributing to readthedocs and started setting up my local version. Now i'm stuck at a point i...
Read more >Development Installation
Install a local development instance of Read the Docs with our step by step ... Go to http://devthedocs.org to access your local instance...
Read more >Unable to build docs on local host - Google Groups
When I run "make docs" on the local Ubuntu host, the command consistently fails with the following error: ----------. AssertionError: The page "index.md" ......
Read more >Not able to run angular material docs on locally - Stack Overflow
then I run gulp docs to build docs, it was build and created /dist folder at root directory. after I run the gulp...
Read more >Fix common issues in Google Drive
If you're having trouble viewing a file in Google Drive, here's how you can try to fix the issue. 1. Wait and try...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
i think this is a known issue. Still in the midst of migrating everything to the latest Vite 3 and Qwik City
Hi, I confirm the issue is gone. Thank you.