-
Notifications
You must be signed in to change notification settings - Fork 782
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can't install - "Not found : @allenfang/react-toastr" #1152
Comments
This seems to only be an issue when using a company-specific npm repo. |
Hey @mvolkmann , I'm getting this error even when I tries to download this dependency from NPM.
|
Do you have a .npmrc file in your home directory? If so, what is in it?
…---
R. Mark Volkmann
Object Computing, Inc.
On Mar 17, 2017, at 7:24 PM, Rahul Verma ***@***.***> wrote:
Hey @mvolkmann ,
I'm getting this error even when I tries to download this dependency from NPM.
Please help.
npm http GET https://registry.npmjs.org/react-bootstrap-table
npm http GET https://registry.npmjs.org/allenfang/react-toastr
npm http 304 https://registry.npmjs.org/react-bootstrap-table
npm http 404 https://registry.npmjs.org/allenfang/react-toastr
npm ERR! 404 Not Found
npm ERR! 404
npm ERR! 404 'allenfang/react-toastr' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it
npm ERR! 404 It was specified as a dependency of 'frontend'
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, or http url, or git url.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Hi @mvolkmann , I don't have npmrc file in my home directory. What is that should I check specifically?
|
I'm still a little confused about this situation.
I don't think you explicitly state dependencies of react-bootstrap-table,
just list that. So try removing the line about "@allenfang/react-toastr".
…On Sat, Mar 18, 2017 at 9:48 AM, Rahul Verma ***@***.***> wrote:
Hi @mvolkmann <https://github.com/mvolkmann> ,
I don't have npmrc file in my home directory. What is that should I check
specifically?
Here is how I have mentioned the dependencies:
"react-bootstrap-table": "^3.1.1",
***@***.***/react-toastr": "^2.8.2",
"classnames": "^2.2.5"
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1152 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAE10JADBN211n9vpGJKL5TQRZ0EgFjBks5rm-7YgaJpZM4MeL0G>
.
--
R. Mark Volkmann
Object Computing, Inc.
|
Hi @mvolkmann , Thanks for the quick response. Here is what my project structure looks like: Initially I had added the dependencies in my In both cases it's giving me same error as below. Installation works fine when I don't have the react-bootstrap-table and it's dependencies.
|
I'm stumped. I'm reopening this so maybe someone can provide a solution. |
Hi @AllenFang, Can you please help with this issue? Looking forward for your response on this. |
It worked for me. I updated the npm & node version. I'm able to successfully build my project. @mvolkmann - You can close this issue. Thanks for the help. |
I too faced the same problem. This might happen when you are maintaining private packages. So the solution was to create a file named Also, I tried updating the npm and node but didn't work for me. |
yap, this scope npm package is a workaround for original |
Running
npm install --save react-bootstrap-table
gives this:The text was updated successfully, but these errors were encountered: