installing npm package
See original GitHub issueI have a Lerna solution up and running.
I want to install a third party lib, however, when I run “npm install” or “yarn add” it fails. The reason is that the npm is trying to resolve the packages, and one is a lerna package, not an offical npm package.
$ yarn add --dev react-router
yarn add v0.21.3
[1/4] Resolving packages...
error Couldn't find package "fl-server" on the "npm" registry.
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
note that ‘fl-server’ is a private package within my packages folder and included in
"devDependencies": {
"react": "^15.5.4",
"react-dom": "^15.5.4",
...
"fl-server": "^1.0.0",
"fl-components": "^1.0.0"
}
How do I install third party packages?
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Downloading and installing packages locally - npm Docs
You can install a package locally if you want to depend on the package from your own module, ... To install a public...
Read more >npm-install - npm Docs
This command installs a package and any packages that it depends on. If the package has a package-lock, or an npm shrinkwrap file,...
Read more >Downloading and installing packages globally - npm Docs
Installing a package globally allows you to use the code in the package as a set of tools on your local computer. To...
Read more >Downloading and installing Node.js and npm
To publish and install packages to and from the public npm registry or a private npm registry, you must install Node.js and the...
Read more >How the Heck Do You Install npm Packages?
Next up in this beginner's guide to npm is likely why you're here in the first place: installing npm packages, which uses the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yarn is a different beast. There really isn’t any lerna-specific documentation either way, sorry.
@evocateur – Does that mean the packages should also not have a
yarn.lock
? (Feel free to point me to documentation! 😄 )