The blogging features seem to work fine however trying to change or upload any images fails to work. The Ghost settings gives “Ghost is down for maintenance etc…”
Going back to glitch the log debugger shows many warnings like
[2019-08-22 02:50:09] WARN Cookie members-ssr not found
And specifically when trying to add images shows
Something went wrong installing the "sharp" module
Cannot find module '../build/Release/sharp.node'
- Remove the "node_modules/sharp" directory, run "npm install" and look for errors
- Consult the installation documentation at https://sharp.pixelplumbing.com/en/stable/install/
- Search for this error at https://github.com/lovell/sharp/issues
hi @paceandfizzle - i’m sorry you had this issue, it appears to be happening on all remixes of ~ghost, probably because of a version update!! i’m working on finding out how to fix or if there’s another app running ghost that works and will post here when i do!
hey i’m back @paceandfizzle, @robocopkaka - so i got a remix of ~ghost working by doing a few things: updating the ghost package in package.json, changing the node version in the same file to 10.x since ghost only supports 8 and 10 LTE versions, and then i ran enable-npm in the console because i believe the version of pnpm we are using is not compatible with properly building the sharp package.
getting pnpm updated is something the platform team is working on and can take some time. in the meantime, if you remix https://glitch.com/edit/#!/evergreen-sassafras - it should have working image uploads. let me know if it does/doesn’t work out for y’all! if so, i’m going to make that the canonical ghost app for folks to remix off of.
awesome, so glad to hear!! it may take me some time but i’m going to make sure that app i made that works gets renamed to ~ghost so that no one else runs into this problem!!
I am running into the same issue with the Ghost 3.0 blog. It is not possible to upload images.
Something went wrong installing the "sharp" module
Cannot find module '../build/Release/sharp.node'
- Remove the "node_modules/sharp" directory, run "npm install" and look for errors
- Consult the installation documentation at https://sharp.pixelplumbing.com/en/stable/install/
- Search for this error at https://github.com/lovell/sharp/issues
Also, the remix referred to above by @jenn shows a notice that the project evergreen-sassafras has been suspended.
Running enable-npm and then enable-pnpm does appear to work.
However, if I try updating to the latest version of ghost by updating the npm packages in the package.json file, then Glitch goes into an infinite loop with this error:
Error: ENOENT: no such file or directory, open '/app/data/ghost.ghost.2020-04-07-19-13-53.json'
and
ERROR Target log folder does not exist: /app/logs/