ngx-admin
ngx-admin copied to clipboard
Why still using node-sass?
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?
I had the same problem, this fixed it for me:
- delete node_modules folder
-
npm install
-
npm install node-sass@npm:sass
-
npm start
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
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.