Highlight.js: install 9.15.x fail workaround

Created on 25 Feb 2019  路  2Comments  路  Source: highlightjs/highlight.js

Apologies for posting this "workaround" as in issue, but it helped me to get past the recently reported 9.15.x npm install failures. Figured it might be helpful to share. The related threads, #1984 & #1986, are currently locked; otherwise, I would have posted there.

Basically, I just pulled the latest from the master repo:

npm install https://github.com/highlightjs/highlight.js.git --save-dev

To grab a specific working commit (e.g., 9.15.4)

npm install https://github.com/highlightjs/highlight.js/archive/bb1e500b75436eed4d905a0283ff8ec0002faab5.tar.gz --save-dev

Details on grabbing a specific commit @ SO

Most helpful comment

Thanks @tvkit, appreciate it you posting a workaround. I just pushed v9.15.5 - and it seems to get things working again.

All 2 comments

I agree with the guy about depending on open source projects and businesses to some degree, but this also breaks a lot of other hobbyists' projects (like mine). Also, not sure what the lesson is for businesses, most that I have worked for DO contribute a lot of open source code that many other open source projects depend on. The way I see it, business and open source work well together in the node / javascript space and I feel they mostly help each other out. To think otherwise is maybe a lack of experience, or at the very least the lack of good experiences.

Thanks @tvkit, appreciate it you posting a workaround. I just pushed v9.15.5 - and it seems to get things working again.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sustained picture sustained  路  4Comments

goloroden picture goloroden  路  3Comments

starikovs picture starikovs  路  8Comments

starikovs picture starikovs  路  5Comments

vladshcherbin picture vladshcherbin  路  5Comments