Comments (5)
Hope this helps... I use this course as part of my new hire training program and we recently had to get this running again. For us, at least, the fix is pretty easy:
- In package.json, change “node-sass”:”^4.9.0” to “sass”:”^1.32.5”
- If you’re version of Node (check using “node --version") is 17 or greater, at terminal, run “npm install [email protected] --save-dev”
After #1, "npm install" should work. If you have node version 17 or greater, then #2 is required for "npm run serve" to work.
from vue-getting-started.
Can anyone provide the solution
from vue-getting-started.
Same error once I get to 'npm install'. I see a whole lot of "gyp verb ERR!" and it starts with "npm ERR! code path 1". The first path it references is ..\vue-heroes\node_modules\node-sass. Every line is an error after that.
from vue-getting-started.
I know the error has to do with the node referenced in the code is an older version, as well as node-sass and sass-loader. For hours, I tried to get to the bottom of things but never could. Here are the best leads I could find...
Find the correct versions of Node and node-sass here: https://github.com/sass/node-sass (I believe it is Node 16.x.x + node-sass 6.x.x)
Once I was using these, the sass-loader error came up where 6.0.0 wouldn't work with ^4.0.0. There was also a possible issue with a webpack and also "TypeError: this.getOptions is not a function
at Object.loader".
I couldn't figure all of these out, so I will just watch the rest and do my best to pick up everything I can.
from vue-getting-started.
Hope this helps... I use this course as part of my new hire training program and we recently had to get this running again. For us, at least, the fix is pretty easy:
- In package.json, change “node-sass”:”^4.9.0” to “sass”:”^1.32.5”
- If you’re version of Node (check using “node --version") is 17 or greater, at terminal, run “npm install [email protected] --save-dev”
After #1, "npm install" should work. If you have node version 17 or greater, then #2 is required for "npm run serve" to work.
Spent the last hour trying to see if I can fix this, your solution worked like a charm. Thank you.
from vue-getting-started.
Related Issues (14)
- Error with Sass HOT 5
- npm install fails HOT 2
- npm install fails every time now HOT 14
- 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
- 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.