External dependencies with npm specifier in combination with vite does not work.
Hi,
I am new to Deno and want to build an app with deno, vite and react. Unfortunately the dependencies are not resolved correctly. It says:
I added my vite.config.mts and my deps.ts to the attachment. I start the app with the command
My deno version is
Do you need any further information?
I am pretty desperated and thanks in advance
I am new to Deno and want to build an app with deno, vite and react. Unfortunately the dependencies are not resolved correctly. It says:
The following dependencies are imported but could not be resolved:
npm:react (imported by.....)
npm:react-dom/client (imported by ...)
npm:styled-components (imported by...)
npm:vite@^4.3.9 (imported by ...)
npm:@vitejs/plugin-react@^4.0.0I added my vite.config.mts and my deps.ts to the attachment. I start the app with the command
deno run -A npm:viteMy deno version is
1.36.1Do you need any further information?
I am pretty desperated and thanks in advance
vite.config.mts454B
