title: How do I add a package to my Lerna repository?
body: <p>I am newbee to Lerna,learning from <a href="https://medium.com/@harshverma04111989/creating-monorepo-using-lerna-dd431d0db072" rel="nofollow noreferrer">create lerna monorepo.</a></p>
  <p>My repo structure</p>
  <pre><code>drwxrwxr-x  8 jholmes jholmes 4096 јан 21 19:40 .git
  drwxrwxr-x  3 jholmes jholmes 4096 јан 22 10:14 .history
  -rw-rw-r--  1 jholmes jholmes 1133 јан 21 18:38 lerna-debug.log
  -rw-rw-r--  1 jholmes jholmes   63 јан 21 18:14 lerna.json
  -rw-rw-r--  1 jholmes jholmes   91 јан 21 18:14 package.json
  drwxrwxr-x  4 jholmes jholmes 4096 јан 21 19:08 packages
  </code></pre>
  <p>I added myapp(Create-react-app),so packages have two folders
  library and myapp.
  When I go to myapp/package.json file and manually add below dependency to use the library package</p>
  <pre><code>&quot;@myrapp/library&quot;: &quot;1.0.0&quot;,
  </code></pre>
  <p>With</p>
  <pre><code>lerna bootstrap
  </code></pre>
  <p>I got error</p>
  <pre><code>lerna notice cli v3.22.1
  lerna info Bootstrapping 2 packages
  lerna info Installing external dependencies
  lerna ERR! npm install exited 1 in 'myapp'
  lerna ERR! npm install stderr:
  npm ERR! code E404
  npm ERR! 404 Not Found - GET https://registry.npmjs.org/@myrapp%2flibrary - Not found
  npm ERR! 404 
  npm ERR! 404  '@myrapp/library@1.0.0' is not in the npm registry.
  </code></pre>
  <p>Repo structure</p>
  <pre><code>.
  ├── lerna-debug.log
  ├── lerna.json
  ├── package.json
  └── packages
      ├── library
      │   ├── lib
      │   ├── node_modules
      │   ├── package.json
      │   ├── package-lock.json
      │   ├── README.md
      │   └── __tests__
      └── myapp
          ├── node_modules
          ├── package.json
          ├── public
          ├── README.md
          ├── src
          └── yarn.lock
  </code></pre>
  <p>Packages tree</p>
  <pre><code>├── library
  │   ├── lib
  │   │   └── library.js
  │   ├── node_modules
  │   ├── package.json
  │   ├── package-lock.json
  │   ├── README.md
  │   └── __tests__
  │       └── library.test.js
  └── myapp
      ├── package.json
      ├── public
      │   ├── favicon.ico
      │   ├── index.html
      │   ├── logo192.png
      │   ├── logo512.png
      │   ├── manifest.json
      │   └── robots.txt
      ├── README.md
      ├── src
      │   ├── App.css
      │   ├── App.js
      │   ├── App.test.js
      │   ├── components
      │   │   └── button
      │   │       ├── index.js
      │   │       └── index.stories.js
      │   ├── index.css
      │   ├── index.js
      │   ├── logo.svg
      │   ├── reportWebVitals.js
      │   └── setupTests.js
      └── yarn.lock
  
  
  
  Lerna.json
  
      {
        &quot;packages&quot;: [
          &quot;packages/*&quot;
        ],
        &quot;version&quot;: &quot;0.0.0&quot;
      }
  </code></pre>
  <p>How to inform myapp about library?</p>