Closed mtsurov closed 1 year ago
Based on your Console Output, it looks like you don't have vite-node
installed, which is a requirement for Quokka to run your code using vite
. From our docs:
For projects using Vite, Quokka uses vite-node to run your JavaScript/TypeScript code in node.js using Viteβs resolvers and transformers. To use Quokka with vite-node, The vite-node package must be installed in your project; Quokka will automatically detect and use vite-node once it is installed.
unable to run quokka in vs code on React project created with Vite.
Is this issue related to Quokka not outputting the expected results of your code?: Yes
Sample code
Quokka.js Console Output
Code editor version
Version: 1.82.2 (user setup) Commit: abd2f3db4bdb28f9e95536dfa84d8479f1eb312d Date: 2023-09-14T05:55:25.390Z Electron: 25.8.1 ElectronBuildId: 23779380 Chromium: 114.0.5735.289 Node.js: 18.15.0 V8: 11.4.183.29-electron.0 OS: Windows_NT x64 10.0.19044