Upgrading to 0.4.3: nodebb-theme-lavender v0.0.25-16 not found
-
Hi there!
I upgraded to v0.4.3 this morning, and it appears that the ./nodebb upgrade (and npm install) scripts are failing due to an inability to get nodebb-theme-lavender v0.0.25-16. Actually, on the github page, it doesn't show v0.0.25-16 either:
https://github.com/designcreateplay/nodebb-theme-lavender/releases
Did you pull down v0.0.25-16 on purpose? If so, is there any other way to get the lavender theme installed again?
Thank you!
-
@po
Right place at the right timeI'm magic.Anyway -- according to the npm registry, that version is published, but for whatever reason, the shasum never seems to be correct. At this point it may be easier for me to republish that version as 0.0.25-17 (or simply 0.0.25), and re-publish v0.4.3.
-
@julian said:
npm install [email protected]
Thanks! However, I get a similar error when I do that:
npm http 200 https://registry.npmjs.org/nodebb-theme-lavender/-/nodebb-theme-lavender-0.0.26-1.tgz
npm ERR! Error: shasum check failed for /home/ec2-user/tmp/npm-554-0rn7OLgN/1400785828107-0.07058829977177083/tmp.tgz
npm ERR! Expected: 605867842e27b270ebc90ad2f45632a00ee2e9c4
npm ERR! Actual: 57a3e1badecdd876b68680a3f19554a9e74797ba
npm ERR! From: https://registry.npmjs.org/nodebb-theme-lavender/-/nodebb-theme-lavender-0.0.26-1.tgzand when I manually go to the URL, it returns:
{"error":"not_found","reason":"missing"}
Perhaps my npm is out of date? I'm investigating.
-
@julian Thanks for your help! We are indeed running again now, which is a nice relief.
Were there still supposed to be little previews of each post on the front page on the nodebb-theme-lavender v0.0.25? For some reason, they no longer render on ours:
I wonder if this is because I had previously updated to v0.0.32 (latest) though, possibly pulling down other upgrades.
-
@po Aha - I found the issue. This appears to be on purpose. In nodebb-theme-lavender's less/style.less file, the post-preview-content has a new section:
181 .post-preview-content {
182 max-height: 250px;
183 p {
184 display: none;
185 }
186 *:first-child + p + p, *:first-child + p + blockquote, *:fir st-child + p + blockquote p {
187 display: inline;
188 }
189 overflow: hidden;
190 }I personally prefer to see the posts, and so I'll override it on our site's implementation.