Comments (5)
When I installed 'yarn' and ran 'yarn install' as suggested in doc it failed.
However, in another page I saw the command 'yarn' on its own and I tried that.
All worked.
Now 'yarn start' and 'npm start' fail
[email protected] start /home/jamesl/dev/React-Bootstrap-with-Material-Design
yarn run sass-compile && concurrently --kill-others "yarn run sass-compile --watch" "yarn run webpack"
yarn run v1.5.1
$ node-sass dist/scss -o dist/css
{
"status": 1,
"file": "/home/jamesl/dev/React-Bootstrap-with-Material-Design/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"
}
error An unexpected error occurred: "Command failed.
Exit code: 1
Command: sh
Arguments: -c node-sass dist/scss -o dist/css
Directory: /home/jamesl/dev/React-Bootstrap-with-Material-Design
Output:
".
info If you think this is a bug, please open a bug report with the information provided in "/home/jamesl/dev/React-Bootstrap-with-Material-Design/yarn-error.log".
from mdb-react-ui-kit.
I had the same problem here.
The alternative I found was to change the version of the node-sass package in the package.json file to:
"node-sass": "^ 3.4.2"
from mdb-react-ui-kit.
from mdb-react-ui-kit.
Thanks for letting us know about node-sass. We'll test MDB React with all latest versions of that package to find errors.
from mdb-react-ui-kit.
from mdb-react-ui-kit.
Related Issues (20)
- iOS/Android Deployment Error HOT 1
- Broken MDBCollapse component in version 2.1.0 HOT 1
- Dropdown menu position issue HOT 1
- TimePicker can not get the value I set HOT 1
- ReferenceError: document is not defined HOT 1
- Replace 'transition-property' with 'transition' HOT 2
- MDBDropdown has issue when using in react-styleguidist HOT 6
- Question: mdbreact vs mdb-react-ui-kit - which package is better? HOT 4
- cli is looking for react v17 HOT 1
- Runtime error HOT 1
- MDBModal keeps display:block after 2nd time closed HOT 7
- Module parse failed error HOT 2
- MDBCollapse keep height after animation ends HOT 2
- MDBCollapse does not have onHide and onShow events HOT 3
- uncaught TypeError: Failed to execute 'getComputedStyle' occurs and keeps racking up but doesnt crash anything HOT 7
- Failed to execute 'getComputedStyle' on 'Window' HOT 1
- Using MDBootstrap with next.js App Router HOT 1
- Error when installed version of chart.js is > 4.3.3
- Uncaught TypeError when setting leaveHiddenModal to false on MDBModal HOT 1
- Community & Migration HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mdb-react-ui-kit.