Giter Site home page Giter Site logo

Comments (14)

shadyyehia avatar shadyyehia commented on August 13, 2024 27

These two commands will do the trick:

  • npm uninstall node-sass

  • npm i -D sass

from vue-getting-started.

riyajawa avatar riyajawa commented on August 13, 2024 10

just install npm install node-sass

from vue-getting-started.

YehiaMahmoud avatar YehiaMahmoud commented on August 13, 2024 4

I think this is working now:

In package.json I replaced
"node-sass": "^4.9.0",
with
"sass": "^1.32.5",

Then npm install

I found this solution in the discussion section by Jason Perry

from vue-getting-started.

ColemanTO avatar ColemanTO commented on August 13, 2024 3

There is also an option to run NPM with legacy dependencies: npm install --legacy-peer-deps.

from vue-getting-started.

IntelligentFunction avatar IntelligentFunction commented on August 13, 2024 1

It appears that this course is very out of date now as many of the dependencies are failing especially when packages are installed by the student. On this occasion, "date-fns" is problematic and breaks the whole site. Another issue is that node-sass is using an out of date package, but it can't be upgraded to node-sass 5.0.0 due to incompatibility issues. Plurasight should be updating these courses as a paid for platform.

For anyone looking for a workaround, to get to the start of module 05, the library encouraged to install "date-fns" is no longer compatible with the sourcecode due to updates. If you did install date-fns and went through the process of fixing the errors prompted by the install process, this then breaks node-sass 4.9.0 which is 2 years out of date. Current version of node-sass is now 5.0.0, but this is not backward compatible with node-sass 4, so node-sass 4.14.1 will get the node server running. I have not yet gone through the tutorial again to see if there are further issues, but npm install was successful but with deprecation errors.

from vue-getting-started.

mdanieltg avatar mdanieltg commented on August 13, 2024 1

I am on module 02, presenting the same issue when using npm install and the only thing that worked out was using Yarn instead. I am on Fedora 33 🚀.
Hope this helps.

from vue-getting-started.

davilo61 avatar davilo61 commented on August 13, 2024 1

@Kasopej thanks for the advice above. That worked and allowed me to complete the npm install and serve cmds. Also had a similar issue with another course and I bet that will fix it as well.

from vue-getting-started.

rafaspimenta avatar rafaspimenta commented on August 13, 2024

just install npm install node-sass

Thanks! in my case this solution worked very well!

from vue-getting-started.

fieldcommandergraeme avatar fieldcommandergraeme commented on August 13, 2024

just install npm install node-sass

Thanks! in my case this solution worked very well!

This doesn't work now, there's a version mismatch between the versions of SASS. Does anyone have an updated fix?

from vue-getting-started.

Kasopej avatar Kasopej commented on August 13, 2024

just install npm install node-sass

Worked for me, though with lots of warnings. At least I can get through the course. Thanks!

from vue-getting-started.

receptopalak avatar receptopalak commented on August 13, 2024

If you run yarn install after deleting the node_modules folder, the problem will be solved.

from vue-getting-started.

kafousis avatar kafousis commented on August 13, 2024

I installed node v10.24.1 which is compatible with node-sass 4.9.0 to fix this.
For anyone interested, I use Node Version Manager (nvm) to install and use different versions of node from the terminal which makes it very easy.

xx-final/vue-heroes is running now without problems.

from vue-getting-started.

noman0511 avatar noman0511 commented on August 13, 2024

I think this is working now:

In package.json I replaced "node-sass": "^4.9.0", with "sass": "^1.32.5",

Then npm install

I found this solution in the discussion section by Jason Perry

It worked for me, I am on NodeJS V16.

from vue-getting-started.

vediverg avatar vediverg commented on August 13, 2024

These two commands will do the trick:

  • npm uninstall node-sass
  • npm i -D sass

wow its amazing, how did you get it?

from vue-getting-started.

Related Issues (14)

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.