Topic: Error Installing React Pro version
demystdata pro asked 7 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 pro premium answered 7 years ago
demystdata pro commented 7 years ago
Runningnpm - v node-sass
gives me 5.5.1. However, locally it is 4.7.1
Bartłomiej Malanowski staff pro premium commented 7 years ago
What's the output ofnode -e "console.log(require('node-sass').info)"
?
Wington R. Brito pro commented 7 years ago
Was this issue solved ? Im having the same problemBartłomiej Malanowski staff pro premium commented 7 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
- User: Pro
- Premium support: No
- Technology: MDB React
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: Yes
- Provided link: No
Villarrubia pro commented 7 years ago
Downgrade node-sass to 4.7.2/