V2.21.1 upgrade problem

I just tried to upgrade from v2.20.1 to v2.21.1.
The upgrade failed with the following error;

neiljune@neiljune-desktop:~/Desktop/neil-projects/ghost-on-heroku-dwmx$ npm install ghost@v2.21.1
npm WARN deprecated nodemailer@0.7.1: All versions below 4.0.1 of Nodemailer are deprecated. See Status :: Nodemailer
npm WARN deprecated nomnom@1.5.2: Package no longer supported. Contact support@npmjs.com for more info.
npm WARN deprecated mailcomposer@0.2.12: This project is unmaintained
npm WARN deprecated mimelib@0.2.19: This project is unmaintained

ghost@2.21.1 postinstall /home/neiljune/Desktop/neil-projects/ghost-on-heroku-dwmx/node_modules/ghost
cp node_modules/@tryghost/members-theme-bindings/build/members-theme-bindings.js core/server/public/

cp: cannot stat ‘node_modules/@tryghost/members-theme-bindings/build/members-theme-bindings.js’: No such file or directory
npm ERR! errno 1
npm ERR! ghost@2.21.1 postinstall: cp node_modules/@tryghost/members-theme-bindings/build/members-theme-bindings.js core/server/public/
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ghost@2.21.1 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/neiljune/.npm/_logs/2019-05-03T14_25_20_808Z-debug.log

members-theme-bindings folder is missing from the local install.

For the moment I have successfully upgraded to v2.21.0


We’ve had a similar bug report on Windows for this issue and a fix for it is in master. I replicated this with 2.21.1 using the ghost-on-heroku repo, but could not replicate on master using the ghost-on-heroku repo.

We should have a new release out on Tuesday! :relaxed:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.