We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to resolve entry for package "@vitejs/plugin-react".
conf.ts
import { defineConfig } from 'vite'; import react from '@vitejs/plugin-react';
// https://vitejs.dev/config/ export default defineConfig({ plugins: [react()], server: { proxy: { '/api': 'http://localhost:8080', '/images': 'http://localhost:8080', }, }, });
https://github.com/jnsangalang/ad-astral-express/tree/main/client
this my first time try to compile and run a vite repo
System: OS: Linux 5.10 Ubuntu 22.04.3 LTS 22.04.3 LTS (Jammy Jellyfish) CPU: (16) x64 AMD Ryzen 7 4800H with Radeon Graphics Memory: 6.99 GB / 7.45 GB Container: Yes Shell: 5.1.16 - /bin/bash Binaries: Node: 20.15.0 - /usr/bin/node npm: 10.7.0 - /usr/bin/npm pnpm: 9.4.0 - /usr/bin/pnpm npmPackages: @vitejs/plugin-react: ^4.3.1 => 4.3.1 System: OS: Linux 5.10 Ubuntu 22.04.3 LTS 22.04.3 LTS (Jammy Jellyfish) CPU: (16) x64 AMD Ryzen 7 4800H with Radeon Graphics Memory: 6.99 GB / 7.45 GB Container: Yes Shell: 5.1.16 - /bin/bash Binaries: Node: 20.15.0 - /usr/bin/node npm: 10.7.0 - /usr/bin/npm pnpm: 9.4.0 - /usr/bin/pnpm npmPackages: @vitejs/plugin-react: ^4.3.1 => 4.3.1
npm
No response
The text was updated successfully, but these errors were encountered:
The issue is probably specific to the repo, so you need to check with the author there about their specific setup.
Sorry, something went wrong.
No branches or pull requests
Describe the bug
Failed to resolve entry for package "@vitejs/plugin-react".
conf.ts
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
server: {
proxy: {
'/api': 'http://localhost:8080',
'/images': 'http://localhost:8080',
},
},
});
Reproduction
https://github.com/jnsangalang/ad-astral-express/tree/main/client
Steps to reproduce
this my first time try to compile and run a vite repo
System Info
Used Package Manager
npm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: