Sass error Undefined variable
Sass error Undefined variable
Loading saved threads...
Hserix · External communityPost link
External question — Stellar Stack Exchange
Author: Hserix
Original post: https://stellar.stackexchange.com/questions/4549
License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/
Adaptation: HTML converted to plain text; contact email addresses removed.
I just started to set up my first wallet, and I got an an error I cant solve when I run npm start:
sass error Undefined variable. src/global/style.scss textarea { font-family: $font-family; font-size: 15px;
I followed the steps in the stellar tutorial on how to set up your first project:
https://developers.stellar.org/docs/building-apps/project-setup/
What could be solution to this? Is the code compiling before the saas variable has been declared?
Im pretty new to coding after just finishing a 3 months bootcamp, but Im eager to learn and build new products!
Thanks for any input :)
Henrik
Quote
Report
Tyler van der Hoeven · External communityPost link
External answer — Stellar Stack Exchange
Author: Tyler van der Hoeven
Original post: https://stellar.stackexchange.com/a/4573
License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/
Adaptation: HTML converted to plain text; contact email addresses removed.
sorry for the issue. I think it may have something to do with some version mismatch stuff with stencil, autoprefixer and capacitor. I've added some better npm install instructions for ensuring specific versions are installed.
Specifically:
npm i -D @stencil/postcss @stencil/sass autoprefixer @types/autoprefixer rollup-plugin-node-polyfills
You may need to remove your
package-lock.json
and
node_modules
files before attempting to reinstall those packages.
rm -rf node_modules package-lock.json
Hope that helps! You can also pull down the
setup
branch of the repo to see what the currently working version
should
be:
https://github.com/stellar/docs-wallet/tree/setup
Quote
Report
Post Reply
Quoted from Forex.com.bd-Editorial External question — Stellar Stack Exchange Author: Hserix Source score (net votes, not local likes): 1 Original post: https://stellar.stackexchange.com/questions/4549 License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/ Adaptation: HTML converted to plain text; contact email addresses removed. I just started to set up my first wallet, and I got an an error I cant solve when I run npm start: sass error Undefined variable. src/global/style.scss textarea { font-family: $font-family; font-size: 15px; I followed the steps in the stellar tutorial on how to set up your first project: https://developers.stellar.org/docs/building-apps/project-setup/ What could be solution to this? Is the code compiling before the saas variable has been declared? Im pretty new to coding after just finishing a 3 months bootcamp, but Im eager to learn and build new products! Thanks for any input :) Henrik
Checking account access…