Comments (14)
These two commands will do the trick:
-
npm uninstall node-sass
-
npm i -D sass
from vue-getting-started.
just install npm install node-sass
from vue-getting-started.
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.
There is also an option to run NPM with legacy dependencies: npm install --legacy-peer-deps
.
from vue-getting-started.
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.
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.
@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.
just install npm install node-sass
Thanks! in my case this solution worked very well!
from vue-getting-started.
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.
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.
If you run yarn install after deleting the node_modules folder, the problem will be solved.
from vue-getting-started.
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.
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.
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)
- Error with Sass HOT 5
- npm install fails HOT 2
- How does the delete mutation works if the action commit the id instead of the full hero object ? HOT 2
- Segment 7 - "Invalid Date" for Origin Date
- Begin script or PS video missing async during Watching Properties HOT 1
- Date mismatch in originDate, after using filter ahead one Day (+1)
- List and conditionals - v-if not working when selectedHero is undefined
- An error when get the heroes HOT 1
- Unable to load directly into hero/villain details after Vuex imp
- npm run serve failing HOT 5
- Cannot download "https://github.com/sass/node-sass/releases/download/v4.12.0/win32-x64-83_binding.node": HOT 2
- Vue latest library issue
- Proxy error 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 vue-getting-started.