Comments (23)
This issue is from remix remixDevTools, remove it from "vite.config.ts":
import { vitePlugin as remix } from "@remix-run/dev";
import { installGlobals } from "@remix-run/node";
import { defineConfig } from "vite";
import tsconfigPaths from "vite-tsconfig-paths";
installGlobals();
export default defineConfig({
plugins: [remix(), tsconfigPaths()],
});
from vite.
override rollup to 4.15.0, this is rollup issue.
from vite.
override rollup to 4.15.0, this is rollup issue.
I don't have rollup
in my package.json
...
below is my package.json
:
"dependencies": {
"@remix-run/node": "^2.8.1",
"@remix-run/react": "^2.8.1",
"@remix-run/serve": "^2.8.1",
"flowbite-react": "^0.9.0",
"isbot": "^4.1.0",
"preline": "^2.0.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-icons": "^5.0.1",
"tailwind-merge": "^2.2.2"
},
"devDependencies": {
"@remix-run/dev": "^2.8.1",
"@types/react": "^18.2.20",
"@types/react-dom": "^18.2.7",
"@typescript-eslint/eslint-plugin": "^6.7.4",
"@typescript-eslint/parser": "^6.7.4",
"autoprefixer": "^10.4.19",
"cssnano": "^6.1.1",
"eslint": "^8.38.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"prettier": "^3.2.5",
"prettier-plugin-tailwindcss": "^0.5.12",
"remix-development-tools": "^4.1.4",
"tailwindcss": "^3.4.1",
"typescript": "^5.1.6",
"vite": "^5.1.0",
"vite-tsconfig-paths": "^4.2.1"
},
"engines": {
"node": ">=18.0.0"
}
from vite.
https://docs.npmjs.com/cli/v10/configuring-npm/package-json#overrides
from vite.
{
"overrides": {
"vite": {
"rollup": "4.15.0"
}
}
}
@huijiewei it's need to be this way?
from vite.
https://docs.npmjs.com/cli/v10/configuring-npm/package-json#overrides
from vite.
https://docs.npmjs.com/cli/v10/configuring-npm/package-json#overrides
Sir I saw that, based on that I am asking, it should be as below?
{
"overrides": {
"vite": {
"rollup": "4.15.0"
}
}
}
because this is something I am doing first time
from vite.
try ‘’’{
"overrides": {
"rollup": "4.15.0"
}
}’’’
from vite.
try ‘’’{ "overrides": { "rollup": "4.15.0" } }’’’
still I am encountering the same issue as shown /shared in the Video as I am using Remix with Vite, and this is happening during I am running npm run dev
from vite.
even though, right after this I upgraded the vite
as well, but the issue is still persistant
from vite.
Hello @dhavalveera. Please provide a minimal reproduction using a GitHub repository or StackBlitz. Issues marked with needs reproduction
will be closed if they have no activity within 3 days.
from vite.
@sapphi-red - how to provide a minimal reproduction using a GitHub repository?
from vite.
Please read the linked article and then upload that code to GitHub.
from vite.
Please read the linked article and then upload that code to GitHub.
I've already the code on GitHub, but it's a Private Repo I've currently and in that I've another branch. @sapphi-red
from vite.
If you already made a minimal reproduction, then I think you can make a new public repository and put it in the new repository.
from vite.
If you already made a minimal reproduction, then I think you can make a new public repository and put it in the new repository.
https://github.com/dhavalveera/mediateck-remix
here is the Repository.
I am getting error in such like, go to About Us Page, wait for 2 seconds, modify something in the code, save and the HMR
will happen and then go to top and click on home page and it will crash for me as I've shown in the above shared video.
from vite.
Please make a minimal reproduction.
from vite.
Please make a minimal reproduction.
I don't have & I don't know from where the issue is occuring, that's why I shared entire repo @sapphi-red
from vite.
Please read the linked article. It describes how you can trim down the code.
from vite.
This issue is from remix remixDevTools, remove it from "vite.config.ts":
import { vitePlugin as remix } from "@remix-run/dev"; import { installGlobals } from "@remix-run/node"; import { defineConfig } from "vite"; import tsconfigPaths from "vite-tsconfig-paths"; installGlobals(); export default defineConfig({ plugins: [remix(), tsconfigPaths()], });
I guess I tried that as well, but it was failing for me, but I'll look again.
from vite.
This issue is from remix remixDevTools, remove it from "vite.config.ts":
import { vitePlugin as remix } from "@remix-run/dev"; import { installGlobals } from "@remix-run/node"; import { defineConfig } from "vite"; import tsconfigPaths from "vite-tsconfig-paths"; installGlobals(); export default defineConfig({ plugins: [remix(), tsconfigPaths()], });I guess I tried that as well, but it was failing for me, but I'll look again.
Make public your repository, to see whats happening
from vite.
This issue is from remix remixDevTools, remove it from "vite.config.ts":
import { vitePlugin as remix } from "@remix-run/dev"; import { installGlobals } from "@remix-run/node"; import { defineConfig } from "vite"; import tsconfigPaths from "vite-tsconfig-paths"; installGlobals(); export default defineConfig({ plugins: [remix(), tsconfigPaths()], });I guess I tried that as well, but it was failing for me, but I'll look again.
Make public your repository, to see whats happening
https://github.com/dhavalveerarediff/dv-temp-repo
here it is @Ian-inein
from vite.
@Ian-inein --- have you checked the repository?
from vite.
Related Issues (20)
- Add the ability to prevent transforming some assets files HOT 1
- The esbuild-transpile error occurred when vite5.0+ build HOT 1
- Allow to specify resolve.alias or virtual module based on entry HOT 7
- Vite config loadEnv exposing all envs to frontend. HOT 7
- AsideSponsors is outdated HOT 1
- Build --watch need HMR HOT 2
- Proxy processing OPTIONS requests will always return a 204 response HOT 3
- Vite `--watch` mode break after first change (Vite v.5.X) HOT 2
- Sourcemap for "xxx" points to missing source files, while inject `script.src` to index.html HOT 3
- Uncaught TypeError: t._reverse is not a function HOT 6
- ReferenceError: Cannot access 'q' before initializatio
- [vite] Internal server error: Missing "./../etc/passwd" export in "vite" package
- vue3 import() import variables HOT 1
- package.json - JSON does not support comments HOT 1
- Symlink only supports set of libararies HOT 2
- Service worker files do not get chunked HOT 2
- Infinite HMR loop if circular dep calls `import.meta.hot.invalidate()`
- when upgrade NodeJS up to v20+ local proxy not work HOT 1
- The `proxyGuardOnlyEsm` does not work consistently HOT 2
- Missmatch between dev / build for typescript files with ?url HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vite.