Topic: Error Installing React Pro version
demystdata pro asked 6 years ago
yarn
and yarn install
(same with npm) and keep getting this error:
{ "status": 1, "file": "/Users/user1/Desktop/MDB React Pro/dist/scss/core/_mixins.scss", "line": 215, "column": 15, "message": "Functions may not be defined within control directives or other mixins.", "formatted": "Error: Functions may not be defined within control directives or other mixins.\n on line 215 of dist/scss/core/_mixins.scss\n>> @function set-notification-text-color($color) {\n\n --------------^\n"}
Bartłomiej Malanowski staff answered 6 years ago
demystdata pro commented 6 years ago
Running `npm - v node-sass` gives me 5.5.1. However, locally it is 4.7.1Bartłomiej Malanowski staff commented 6 years ago
What's the output of `node -e "console.log(require('node-sass').info)"`?Wington R. Brito pro commented 6 years ago
Was this issue solved ? Im having the same problemBartłomiej Malanowski staff commented 6 years ago
Wington, what's your version of Node? What's your version of MDB React?FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Pro
- Premium support: No
- Technology: MDB React
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: Yes
- Provided link: No
Villarrubia pro commented 6 years ago
Downgrade node-sass to 4.7.2/