Skip to content
This repository has been archived by the owner on Jan 8, 2021. It is now read-only.

Feature request: Support scoped packages #24

Open
jhenninger opened this issue Nov 16, 2015 · 0 comments
Open

Feature request: Support scoped packages #24

jhenninger opened this issue Nov 16, 2015 · 0 comments

Comments

@jhenninger
Copy link

Right now, linking scoped packages will fail with an ENOENT because the scope directory does not exist in node_modules:

[npm-workspace] Installing workspace /tmp/npmtest
[npm-workspace] npm install for /tmp/npmtest/A
Error: ENOENT: no such file or directory, mkdir '/tmp/npmtest/B/node_modules/@scopename/A'
    at Error (native)
    at Object.fs.mkdirSync (fs.js:799:18)
    at /home/jo/code/nvm/versions/node/v4.2.1/lib/node_modules/npm-workspace/lib/npm-workspace.js:353:12
[...]

workspace.json:

{
  "links": {
    "@scopename/A": "A"
  }
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants