Git Product home page Git Product logo

Comments (5)

jamesladd avatar jamesladd commented on May 10, 2024 1

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.

bezerrathm avatar bezerrathm commented on May 10, 2024

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.

jamesladd avatar jamesladd commented on May 10, 2024

from mdb-react-ui-kit.

smolenski-mikolaj avatar smolenski-mikolaj commented on May 10, 2024

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.

jamesladd avatar jamesladd commented on May 10, 2024

from mdb-react-ui-kit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.