Re-installing Quire v0 #908
Replies: 7 comments 7 replies
-
Hi @christinaweyl, because your project was built with v0 you will need to install an older version of Quire with this command: |
Beta Was this translation helpful? Give feedback.
-
Hi @Erin-Cecele, thanks for these instructions! I was able to install and preview the old site, using the older version of Node.js. Changes made locally are displaying on the local host. Hurray! However, I'm now stuck at christinaweyl@ChristinasAir3 atelier17 % quire site ERROR in ./node_modules/leaflet-fullscreen/dist/leaflet.fullscreen.css (./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/src??ref--6-3!./node_modules/sass-loader/lib/loader.js!./node_modules/leaflet-fullscreen/dist/leaflet.fullscreen.css) ERROR in ./source/css/application.scss (./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/src??ref--5-3!./node_modules/sass-loader/lib/loader.js!./source/css/application.scss) ERROR in ./node_modules/leaflet/dist/leaflet.css (./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/src??ref--6-3!./node_modules/sass-loader/lib/loader.js!./node_modules/leaflet/dist/leaflet.css) ERROR in ./node_modules/magnific-popup/dist/magnific-popup.css (./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/src??ref--6-3!./node_modules/sass-loader/lib/loader.js!./node_modules/magnific-popup/dist/magnific-popup.css)
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js!node_modules/postcss-loader/src/index.js??ref--6-3!node_modules/sass-loader/lib/loader.js!node_modules/leaflet-fullscreen/dist/leaflet.fullscreen.css:
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js!node_modules/postcss-loader/src/index.js??ref--6-3!node_modules/sass-loader/lib/loader.js!node_modules/leaflet/dist/leaflet.css:
Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js!node_modules/postcss-loader/src/index.js??ref--6-3!node_modules/sass-loader/lib/loader.js!node_modules/magnific-popup/dist/magnific-popup.css:
|
Beta Was this translation helpful? Give feedback.
-
Thank you, @Erin-Cecele and @geealbers. Here's the Terminal output from those commands: christinaweyl@ChristinasAir3 ~ % quire --version |
Beta Was this translation helpful? Give feedback.
-
I saw that, but I've installed the download and am still getting this response. |
Beta Was this translation helpful? Give feedback.
-
I think you might need to use NVM to manage the different versions of Node. The full instructions are here: https://github.com/nvm-sh/nvm. But this condensed version should cover the basics: Install the NVM script with the following command:
Verify with this command: Install the older version of node you want to use:
This will set version 14.18.1 as your default. To tether a specific node version to a specific Quire version: Run I think this should do the trick, but let me know if it doesn't. |
Beta Was this translation helpful? Give feedback.
-
Hi @christinaweyl, to recap our call last week, it's very odd that installing Node version 14 somehow installs version 19 instead. Very bizarre. Can you try using NVM one more time?
If that doesn't work, then @geealbers and I believe the best course of action is uninstalling Node, which is a slightly cumbersome process. The steps you and I took on our call last week were only part of the process. To completely uninstall node + npm, do the following:
Let me know if that works. If it does, follow the NVM steps again or install using this: https://nodejs.org/download/release/v14.18.1/node-v14.18.1.pkg. If it doesn't, any additional troubleshooting steps are probably best done together. Thanks for your patience as we work together to figure this out. |
Beta Was this translation helpful? Give feedback.
-
Hi @christinaweyl, here's another thought, rather than trying to download 14, try installing this Node version instead node-v16.17.0.pkg. I noticed that when I revert to v. 0.20.4, I use it with Node 16. So, maybe there is an issue with Node 14 being deprecated. Just something else to try. |
Beta Was this translation helpful? Give feedback.
-
Hello! I would like to update a site I built on Quire back in 2019. However, since then, I have a new computer and would need to reinstall Quire v0. The "Quick Install" instructions did not work initially, and I'm wondering what I can do. After completing steps 1-3 (see Terminal readout below) and changing to the correct Quire directory, I receive the following from the
quire preview
command:Xcode installed successfully.
Below is the Terminal message when installing Node.js:
christinaweyl@ChristinasAir3 ~ % npm install --global @thegetty/quire-cli
npm WARN deprecated @babel/polyfill@7.12.1: 🚨 This package has been deprecated in favor of separate inclusion of a polyfill and regenerator-runtime (when needed). See the @babel/polyfill docs (https://babeljs.io/docs/en/babel-polyfill) for more information.
npm WARN deprecated puppeteer@20.9.0: < 21.5.0 is no longer supported
npm WARN deprecated domexception@4.0.0: Use your platform's native DOMException instead
npm WARN deprecated abab@2.0.6: Use your platform's native atob() and btoa() methods instead
npm WARN deprecated core-js@2.6.12: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
added 567 packages in 28s
136 packages are looking for funding
run
npm fund
for detailsnpm notice
npm notice New major version of npm available! 9.4.0 -> 10.5.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.5.0
npm notice Run npm install -g npm@10.5.0 to update!
npm notice
quire --help
command:christinaweyl@ChristinasAir3 ~ % quire --help
Usage: quire-cli [options] [command]
Quire command-line interface
Options:
-v, --version output quire version number
-h, --help display help for command
Commands:
build [options] Generate publication outputs
clean [options] Remove build outputs
new [options] [projectPath] [starter] Start a new Quire project from a template.
epub [options] Generate publication EPUB
info [options] List Quire cli, quire-11ty, and node versions
pdf [options] Generate publication PDF
preview [options] Run the development server and watch on file changes
version Sets the Quire version to use when running commands on the project.
help [command] display help for command
Beta Was this translation helpful? Give feedback.
All reactions