Silence SASS deprecation warnings
While hopefully... trying to migrate from Nuxt
v2.14
to v2.17
, I am also changing node-sass
to sass
,
When I ran NODE_ENV='--openssl-legacy-provider' npx nuxt2 build --modern=client
, I am getting expected SASS deprecation warnings like:
I have added quiteDeps
to Nuxt configuration build options:
Nevertheless, it still outputs the warnings.
What is the correct way to silence those at least temporarily while... hopefully... migrating to new Nuxt, Vue, TypeScript, and then... Vuetify?
I would appreciate a clarification/suggestion whether it's even possible without upgrading to Vuetify 3 or downgrading SASS, where current versions:
1 Reply
I know those are quite outdated, but... it's been days since I am trying to update this project not started by me am being mostly in back-end even (still learning ineffably marvelous Nuxt, Vue...)... I am not sure how much time will it require, and hence am trying to update it step by step.
Since this change is SASS v1.33, I have installed
"sass": "~1.32"
as also suggested in the mentioned GitHub issue comment, but am still getting the warnings...
I see...
I'll try setting a Yarn resolution for Vuetify to SASS ~1.32
.
Interesting... I added the following Yarn resolution to package.json
Removed node_modules
and yarn.lock
, and with yarn install
, it still returns the same SASS version 1.75.0
for Vuetify, but the required is ~1.32
. What might it be?