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
Hi again! I have been getting Vike set up with vite-node, and I'm coming up stuck with the following error. Of note to my set up is that I have streaming enabled via https://github.com/brillout/react-streaming.
Note: please see my comment related to vite-node here as well.
Stack trace:
TypeError: A dynamic import callback was not specified.
at importModuleDynamicallyCallback (node:internal/modules/esm/utils:182:9)
at eval (eval at dynamicImport (C:\dev\Intergen.EventTools\Client\node_modules\vike\dist\esm\utils\dynamicImport.js:3:12), <anonymous>:3:1)
at Module.dynamicImport (C:\dev\Intergen.EventTools\Client\node_modules\vike\dist\esm\utils\dynamicImport.js:3:53)
at loadStreamNodeModule (C:\dev\Intergen.EventTools\Client\node_modules\vike\dist\esm\node\runtime\html\stream.js:780:54)
at createStreamWrapper (C:\dev\Intergen.EventTools\Client\node_modules\vike\dist\esm\node\runtime\html\stream.js:426:36)
at Module.processStream (C:\dev\Intergen.EventTools\Client\node_modules\vike\dist\esm\node\runtime\html\stream.js:266:62)
at renderHtmlStream (C:\dev\Intergen.EventTools\Client\node_modules\vike\dist\esm\node\runtime\html\renderHtml.js:85:27)
at Module.renderDocumentHtml (C:\dev\Intergen.EventTools\Client\node_modules\vike\dist\esm\node\runtime\html\renderHtml.js:55:35)
at Module.executeOnRenderHtmlHook (C:\dev\Intergen.EventTools\Client\node_modules\vike\dist\esm\node\runtime\renderPage\executeOnRenderHtmlHook.js:42:24)
at Module.renderPageAlreadyRouted (C:\dev\Intergen.EventTools\Client\node_modules\vike\dist\esm\node\runtime\renderPage\renderPageAlreadyRouted.js:80:30)�[39m
If I change the implementation of dynamicImport to the following, it seems to work just fine with the page rendering as expected. Could you please help me understand why you've chosen to use the syntax you have?
Specifics of my Windows 10 environment:
vite 5.0.10
vike 0.4.152
vite-node 1.1.0
react-streaming 0.3.15
node 20.10.0
Please let me know if there's any other information I can provide to help with debugging. 😊 As yet I have not reproduced this with one of the examples, but I will try do so to create a minimal reproduction.
The text was updated successfully, but these errors were encountered:
Description
Hi again! I have been getting Vike set up with vite-node, and I'm coming up stuck with the following error. Of note to my set up is that I have streaming enabled via https://github.com/brillout/react-streaming.
Note: please see my comment related to vite-node here as well.
Stack trace:
If I change the implementation of
dynamicImport
to the following, it seems to work just fine with the page rendering as expected. Could you please help me understand why you've chosen to use the syntax you have?Specifics of my Windows 10 environment:
Please let me know if there's any other information I can provide to help with debugging. 😊 As yet I have not reproduced this with one of the examples, but I will try do so to create a minimal reproduction.
The text was updated successfully, but these errors were encountered: