Topic: Error Installing React Pro version

demystdata pro asked 6 years ago


Following the readme...did 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"}

Villarrubia pro commented 6 years ago

Downgrade node-sass to 4.7.2/


What is your version of node-sass? In fact, this problem has been fixed in MDB jQuery 4.5.1 so this will be also fixed in MDB React

demystdata pro commented 6 years ago

Running `npm - v node-sass` gives me 5.5.1. However, locally it is 4.7.1

Bartłomiej Malanowski staff commented 5 years ago

What's the output of `node -e "console.log(require('node-sass').info)"`?

Wington R. Brito pro commented 5 years ago

Was this issue solved ? Im having the same problem

Bartłomiej Malanowski staff commented 5 years ago

Wington, what's your version of Node? What's your version of MDB React?


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB React
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: Yes
  • Provided link: No
Tags