You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey @mweststrate, I am wondering if this system is not suitable for working with a relative dep that yet to be published?
I am trying to work on a npm package locally, it hasn't been published yet.
I have linked it to my a local project using relative-deps.
It all seems to work fine, however, the package dependencies aren't installed in the project so it fails at runtime.
Am I doing something wrong or is it because it would normally install the dependencies from the actual dep, hence perhaps why this warning which I hit:
If your package is hosted in a github repository, you can first run npm i githubUserOrOrg/repoName - and optionally add suffix to that path of #branch-name or #commit-id. After that, do npx relative-deps add ../some-relative-path
Further, if you don't have it in github either - simply do npm install ../some-relative-path at first, and then add by npx relative-deps add ../some-relative-path - this way it will already be there first using normal relative filepath install, but relative-deps will overwrite it correctly inside node_modules
Hey @mweststrate, I am wondering if this system is not suitable for working with a relative dep that yet to be published?
I am trying to work on a npm package locally, it hasn't been published yet.
I have linked it to my a local project using
relative-deps
.It all seems to work fine, however, the package dependencies aren't installed in the project so it fails at runtime.
Am I doing something wrong or is it because it would normally install the dependencies from the actual dep, hence perhaps why this warning which I hit:
relative-deps/index.js
Line 35 in 543fd8f
Thanks!
The text was updated successfully, but these errors were encountered: