Cannot resolve path to local package. #17793
Unanswered
GiorgosSpil
asked this question in
Q&A
Replies: 1 comment
-
Is it possible that you used "composes:" in CSS files to reuse styles from other CSS classes in different files? If you move files without updating the composes: paths accordingly (for example, from ../../../cssModules/Global.module.css to ../../cssModules/Global.module.css), the paths may no longer be correct. This can cause errors like: I encountered this issue and fixed it by correcting the composes: paths to their new, accurate locations. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I am building a project and I am using my own ui-library. I know it works because it works on other projects as well. When I added it, this error keeps coming no matter what I do ( build, run dev etc). When running npm i the packages seems to install fine in node modules. I am referencing in dependencies like that
"ui-lib":"file:ui-lib-1.4.2.tgz"
. I tried all the things I found but nothing helped. Using node 18.18.2, react 18.3.1 , vite 5.3.4 .THIS IS MY CONFIG
Beta Was this translation helpful? Give feedback.
All reactions