please how do you add a symlink to module from node_modules?
What exactly do you want to achieve?
Hi. I was trying to import glide from node_modules in react but it keeps telling me modules can’t be resolved but when I tried a a different way, it keeps telling me I need to add a symlink
You need to explain how you’ve set up everything. There are specific situations where dependencies you install get symlinked rather than just being a bundle of files you install directly in node_modules which are referenced directly.
Things should normally Just Work if you install something in a project, if it’s telling you that something relating to symlinks needs to happen then that suggests you are doing something unusual, but without having any idea what that unusual thing is it’s not going to be possible to help.
Need to know what package manager you’re using, how you’ve set up the project, what your package.json looks like etc. A GitHub project would be useful.
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.