Replies: 3 comments 1 reply
-
is your problem solved as i am stuck with same issue. Please help! |
Beta Was this translation helpful? Give feedback.
-
It fixed for me when i used |
Beta Was this translation helpful? Give feedback.
-
Español/Spanish: La solución a este problema es bastante simple, debes de descargar una versión similar a la que anteriormente tenías en Node.JS o una que esté relacionada con tu entorno por ejemplo si es para temas de programación la versión LTS funcionan bien, en especial la 18. Como recomendación es preferible antes de hacer un cambio en tu entorno de trabajo tomar nota de todas las versiones importantes de cualquier herramienta de este tipo, para evitar más problemas a futuro. En conclusión la solución a este problema es regresar a la versión anterior de tu Node.JS o cualquier software similar que es necesario en tu proyecto. Inglés/English: The solution to this problem is quite simple: you should download a version similar to the one you previously had in Node.JS or one that is related to your environment. For example, if it's for programming purposes, the LTS version works well, especially version 18. It's recommended that before making a change to your work environment, it's preferable to take note of all the important versions of any tool of this type to avoid further problems in the future. In conclusion, the solution to this problem is to return to the previous version of Node.JS or any similar software that is necessary for your project. |
Beta Was this translation helpful? Give feedback.
-
I am having a problem when running
I get the following error:
Previously, it wouldn't even let me install node_modules because it got stuck at idealTree. Finally, after looking for solutions, I decided to downgrade the Node version to 18, and it worked. However, then I got the following error, and it was working fine yesterday. This morning, when I tried to run it, I got the error. I have already tried disabling IPv6 on Windows, deleting package-lock.json and node_modules, and reinstalling, but I get the same error. It's as if temporary files are being created and it tries to find them. If I rename the file to the temporary one it was looking for, the error goes away, but the application doesn't work. I don't know what else to do. If anyone knows how to fix it, I would appreciate your help.
I also tried changing the extension from .js to .mjs and it didn't work.
Another thing I have tried is installing Vite 4.2.2 and its React plugin version 1.0.0, but it didn't work.
If I rename the file to the one it tries to find, I get this error:
However, even if I fix this error, I don't think it will work. The one I want to fix is the ENOENT error.
I managed to fix the last error by deleting the .vite folder, and now it seems to run on localhost, but it keeps loading infinitely and does nothing.
The error lies in the fact that the -timestamp.mjs file does not exist, and it tries to load the configuration from a non-existent file instead of loading it from vite.config.js.
I tried creating a new project from scratch and copying the files, but when I run npm run dev, I get the same error, so it's not an issue with the project.
Beta Was this translation helpful? Give feedback.
All reactions