EACCES error when running npm link


I’m trying to run npm link ./utils from within a project that has a utils directory, but I’m getting an EACCES error. As I’m only trying to create a symlink to something that is local, is there a way around the error? Are there any plan to support symlinking in the future?




Have you tried creating the symlink from the terminal, using the syntax:
ln -s source_file myfile?

you may also need to make your symlink use a non-relative path: https://unix.stackexchange.com/questions/84175/create-a-symbolic-link-relative-to-the-current-directory

hopefully that helps/works!

source: https://kb.iu.edu/d/abbe