ngx-admin icon indicating copy to clipboard operation
ngx-admin copied to clipboard

Why still using node-sass?

Open tomavic opened this issue 3 years ago • 3 comments

After fresh install, I found that after running npm start

> ng serve

⠋ Generating browser application bundles (phase: setup)...    'node-sass' usage is deprecated and will be removed in a future major version. To opt-out of the deprecated behaviour and start using 'sass' uninstall 'node-sass'.
✔ Browser application bundle generation complete.

It's causing problems with setup environment with Mac M1. Is there is any help or guide that we can do?

tomavic avatar Oct 30 '21 09:10 tomavic

I had the same problem, this fixed it for me:

  • delete node_modules folder
  • npm install
  • npm install node-sass@npm:sass
  • npm start

ltonn02 avatar Nov 15 '21 09:11 ltonn02

I have the same problem with my Mac M1, I saw this sentence on the npm homepage of node-sass

Warning: LibSass and Node Sass are deprecated.
While they will continue to receive maintenance releases indefinitely, there are no plans to add additional features or compatibility with any new CSS or Sass features. Projects that still use it should move onto Dart Sass.

I tried to uninstall node-sass and successfully solved the errors in the compilation phase. but I don't know if there will be other problems

npm uninstall node-sass
npm i sass

xueelf avatar Jan 04 '22 06:01 xueelf

I confirm switching node-sass dependency tosass is working. I had to fix some compilations error because of the usage of /deep/ which is deprecated too in some of my stylings.

Symro avatar Jan 20 '22 18:01 Symro