-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Installing js-beautify fails #1247
Comments
me 2 we are preparing the latest update and now we fucked... |
@IvanFan fucked is a little bit exaggerating IMO... Just use |
We are using some third-party npm packages which are using js-beautify... |
@IvanFan I am sure other libraries haven't updated to this version yet. So just add the following line to your dependencies:
Mind the missing |
we are fucked... |
1 similar comment
we are fucked... |
we are fucked...
|
Just found this. vue-cli is breaking as a result. |
we are fucked |
I think some npm packages are using "js-beautify": "^1.6.14" at the moment... |
@IvanFan webpack |
@IvanFan Doesn't matter, if your project defines it without |
Adding this into the dependencies solved the build in our CI, should be good for a temporary fix. Thanks @danrot |
@danrot how do I fix webpack ? |
works thx @danrot :) |
@zuolin777 You don't have to, just add "js-beautify": "1.6.14" into your package.json dependencies, then it should work. |
we are fucked!!!! |
@benjamin658 thx, it works |
This bug report is only just over 30 minutes old for an upload that is only 1 hour old. How about giving the poor developer a chance to fix it? Or even better, providing a pull request to fix it? |
Be my guest to make a PR. This is just a notification to the dev to show what the impact is of this issue. |
vue-cli fails to install |
vue-cli npm install works well if you add dependency in package.json |
@brianmay Finally somebody reasonable... It's not like we all have to stop working now, the temporary fix is quite easy. My guess would also be that this library is primarily maintained in the spare time of the contributors, and I don't think that the attitude in this issue is very motivating... So I'd like to say thank you for the great work, and in advance for fixing this issue 😃 |
The problem is that I can't install vue-cli itself.. |
I can't install vue-cli itself 2 |
|
Temporary fix https://npm.r2net.pro/#/detail/js-beautify or you can checkout tag v1.6.14 then host it locally. |
But what to do with other packages that depend on this pack? |
@oronoa Add this package in your package.json with version lock for |
Description
I am trying to install a library, which is dependant on this one, and starting today (I've tried the last week the last time) I get the following error when installing my dependencies:
It looks to me like this is somehow connected to the latest 1.7.0 release... Any ideas?
Steps to Reproduce
Create a new folder and install this library as dependency using
npm install js-beautify
.Environment
OS: Mac OSX 10.11.6
Deleted most of the PR template, since it's not relevant.
The text was updated successfully, but these errors were encountered: