Linting funktioniert mit meinen Versuchen, The Right Stuff lokal auszuführen, aber in GitHub erhalte ich Folgendes:
Run yarn install --frozen-lockfile
error This project's package.json defines "packageManager": "yarn@pnpm@9.15.5". However the current global version of Yarn is 1.22.22.
Presence of the "packageManager" field indicates that the project is meant to be used with Corepack, a tool included by default with all official Node.js distributions starting from 16.9 and 14.19.
Corepack must currently be enabled by running corepack enable in your terminal. For more information, check out https://yarnpkg.com/corepack.
Und das ist im Schritt “JS-Abhängigkeiten installieren”, daher scheint es nicht an mir zu liegen?
Das stimmt. Ich fange an, mich daran zu erinnern, das zu tun; es ist nur noch nicht automatisiert. Ich schaffe es etwa 30 % der Zeit.
Jetzt habe ich das:
Run pnpm install --frozen-lockfile
ERR_PNPM_LOCKFILE_CONFIG_MISMATCH Kann mit der eingefrorenen Installation nicht fortfahren. Die aktuelle Konfiguration \"settings.autoInstallPeers\" stimmt nicht mit dem Wert in der Lockdatei überein.
Aktualisieren Sie Ihre Lockdatei mit \"pnpm install --no-frozen-lockfile\"
Also habe ich getan, was mir gesagt wurde, und jetzt bekomme ich:
Run bundle install
Bundler nicht als Root ausführen. Wenn Sie Ihr Bundle als Root installieren, wird diese Anwendung für alle Nicht-Root-Benutzer auf diesem Computer fehlschlagen.
Could not locate Gemfile
Aber als ich pnpm install --no-frozen-lockfile ausgeführt und dann die neue Lock-Datei verwendet habe, gab Github mir den Bundler-Fehler. Ich sollte doch die in discourse-theme-skeleton verwenden können, oder?
Das sind die Sachen, die wir brauchen, richtig? Es stellt sich heraus, dass stylelint.config.mjs veraltet war, das ist also etwas.
Wie auch immer, ich habe immer noch
ERR_PNPM_LOCKFILE_CONFIG_MISMATCH Cannot proceed with the frozen installation. The current "settings.autoInstallPeers" configuration doesn't match the value found in the lockfile