I installed the latest version of Sage (9.0.9) in the themes folder, chose Bootstrap as a framework, chose Yes to overwrite files, and everything seemed to be okay.
I navigated to my theme folder and ran Yarn and got these warning messages:
yarn install v1.16.0
info No lockfile found.
[1/5] Validating package.json…
[2/5] Resolving packages…
warning css-loader > cssnano > autoprefixer > browserslist@1.7.7: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
warning css-loader > cssnano > postcss-merge-rules > browserslist@1.7.7: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
warning css-loader > cssnano > postcss-merge-rules > caniuse-api > browserslist@1.7.7: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
warning css-loader > cssnano > postcss-minify-selectors > postcss-selector-parser > flatten@1.0.2: I wrote this module a very long time ago; you should use something else.
warning eslint > file-entry-cache > flat-cache > circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.
warning imagemin-mozjpeg > mozjpeg > bin-wrapper > download > gulp-decompress > gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at The Problem with gulp-util. A little postmortem | by Janiceilene | gulpjs | Medium
warning stylelint > autoprefixer > browserslist@2.11.3: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
[3/5] Fetching packages…
info fsevents@1.2.9: The platform “linux” is incompatible with this module.
info “fsevents@1.2.9” is an optional dependency and failed compatibility check. Excluding it from installation.
[4/5] Linking dependencies…
warning " > stylelint-webpack-plugin@0.10.5" has incorrect peer dependency “webpack@^1.13.2 || ^2.7.0 || ^3.11.0 || ^4.4.0”.
[--------------------------------------------------------------------------------------------------------------------------------------------------------] 0/1788Killed
I didn’t run “yarn && yarn build” as the message in the terminal suggested. Is this part of the issue?
In addition to the warning messages, I noticed that no lock file was found. I encountered this issue before when installing another package, and composer install in the package directory solved it. Can I do the same here?
Also, after installing this, I get “Error establishing a database connection” on my site’s front page. This happened before and I restarted MySQL and it solved the issue. But is this somehow related to the above issues?