I reiterate that I’m a novice, but I want to learn
I’m using an install docker in, which I think comes with Linux Alpine and I get this message:
“in production mode”
marting@3570e3b6ada5:/var/lib/ghost/content/themes/London-master$ yarn install
yarn install v1.19.1
[1/5] Validating package.json…
warning london@1.0.0: The engine “ghost” appears to be invalid.
warning london@1.0.0: The engine “ghost-api” appears to be invalid.
[2/5] Resolving packages…
[3/5] Fetching packages…
info fsevents@1.2.7: The platform “linux” is incompatible with this module.
info “fsevents@1.2.7” is an optional dependency and failed compatibility check. Excluding it from installation.
[4/5] Linking dependencies…
error Could not write file “/var/lib/ghost/content/themes/London-master/yarn-error.log”: “EACCES: permission denied, open ‘/var/lib/ghost/content/themes/London-master/yarn-error.log’”
error An unexpected error occurred: “EACCES: permission denied, mkdir ‘/var/lib/ghost/content/themes/London-master/node_modules’”.
info Visit yarn install | Yarn for documentation about this command.
marting@3570e3b6ada5:/var/lib/ghost/content/themes/London-master$ yarn version
yarn version v1.19.1
info Current version: 1.0.0
ops…
We’ve recently added a tutorial on how to use Gulp with Ghost themes. Gulp is the tool we use to help with compiling our CSS and JavaScript in themes such as London. The following tutorial explains how you can use it when editing Ghost themes and how to use it yourself from scratch: https://ghost.org/tutorials/how-to-use-gulp-in-a-ghost-theme/