Closed lzyor closed 10 months ago
There is a big difference in the output of vite dev server versions 2.8.1 and 2.8.0: 2.8.1-dev-server-output.js.log 2.8.0-dev-server-output.js.log
The vite build output of both versions is normal and the same.
No templates are being generated at all. Might be an issue with dom-expressions.
Upon testing, I think this was solid-refresh's issue. Weird that templates are not being generated at all.
meet same issue: vite-plugin-solid 2.8.1
When running vite-plugin-solid 2.8.1 with vitest I get the additional info
The exported identifier "App" is not declared in Babel's scope tracker
as a JavaScript value binding, and "@babel/plugin-transform-typescript"
never encountered it as a TypeScript type declaration.
It will be treated as a JavaScript value.
This problem is likely caused by another plugin injecting
"App" without registering it in the scope tracker. If you are the author
of that plugin, please use "scope.registerDeclaration(declarationPath)".
stderr | file:/home/workspac/node_modules/.pnpm/solid-js@1.8.11/node_modules/solid-js/dist/dev.js:1747:67
You appear to have multiple instances of Solid. This can lead to unexpected behavior.
stderr | src/App.test.tsx > App > should render the app
computations created outside a `createRoot` or `render` will never be disposed
Hello. I encountered this issue on version 2.10.2. Among 10 _tmpl$
variables the first one is missing. I tried downgrade - the dev server sent me a bunch of errors. On the 2.11.0.beta-0 9 of 10 variables are missing. For context, I have Stage 3 decorators in my files, so I had to add the babel plugin to vite-plugin-solid
:
{
babel: {
plugins: [
['@babel/plugin-proposal-decorators', { version: '2023-11' }],
],
},
}
And the same as the original issue - only dev server is affected.
Edit: the solution for me is to use the @babel/plugin-syntax-decorators
instead of the one above to just enhance the Babel parser and skip decorators transformation.
on 2.8.1
simple project as:
run:
browser get:
nothing rendered
but...
work fine
env
node v18.18.0 npm 9.8.1 kubuntu 22.04