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
Hello Ryan!
Thanks for the interesting tool. But I can not start on vita
With a clean config in runtime, the error is ReferenceError: React is not defined
but i am getting error: "Internal server error: Failed to parse source for import analysis because the content contains invalid JS syntax. If you are using JSX, make sure to name the file with the .jsx or .tsx extension."
1:43:05 PM [vite] Internal server error: Failed to parse source for import analysis because the content contains invalid JS syntax. If you are using JSX, make sure to name the file with the .jsx or .tsx extension.
Plugin: vite:import-analysis
File: /project/src/client/index.tsx
10 | cleanup(() => clearInterval(timer));
11 |
12 | return <div>{state.counter}</div>;
| ^
13 | }
14 |
up. If add start-dom-jsx, then SyntaxError: The requested module '/node_modules/mobx-jsx/dist/h.js' does not provide an export named 'default' (client)
The text was updated successfully, but these errors were encountered:
Hello Ryan!
Thanks for the interesting tool. But I can not start on vita
With a clean config in runtime, the error is
ReferenceError: React is not defined
My problem is parsing jsx markup.
i tried to replace esBuild:
but i am getting error: "Internal server error: Failed to parse source for import analysis because the content contains invalid JS syntax. If you are using JSX, make sure to name the file with the .jsx or .tsx extension."
up. If add
start-dom-jsx
, thenSyntaxError: The requested module '/node_modules/mobx-jsx/dist/h.js' does not provide an export named 'default'
(client)The text was updated successfully, but these errors were encountered: