Comments (9)
Guys i think i just found out how to solve this, my problem was with the "node-sass" version in the "package.json" file, i found out that the current version on the project is "4.11.0" and works with node 11.x:
https://github.com/sass/node-sass
So i changed my "node-sass" version to "4.12.0" >> deleted the "node_modules" folder >> "npm i"
Now it seens to work just fine.
from argon-dashboard-react.
Same here. TONS of errors during npm install
from argon-dashboard-react.
Hello there guys,
What nodejs version do you have?
Can you please make sure that you have the latest version: https://nodejs.org/en/ (12.13.1)?
Best,
Manu
from argon-dashboard-react.
I'm on v12.1.0, that may have been the issue. I ended up downloading your other template: Light Bootstrap React Admin and it worked great!
from argon-dashboard-react.
Hello again,
Please make sure you have the latest node-sass version and also you have the latest LTS version of NodeJS, which at the moment is 12.13.1.
Let me know if that was the issue.
Best,
Manu
from argon-dashboard-react.
Hello,
I also have problem with npm start it showed
'react-scripts' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: react-scripts start
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Kimhorng\AppData\Roaming\npm-cache_logs\2019-11-29T19_10_26_730Z-debug.log
from argon-dashboard-react.
Hello there, @kimhorng
Please make a video with the following:
- Download the product
- Unzip the product
- Open terminal and cd into the project
- Run in terminal
node -v
- If working on Mac: Run
npm run install:clean
- If working on Windows: Run
npm install
- If working on Windows: Run
npm start
- Showcase the issue
Best,
Manu
from argon-dashboard-react.
I'am having the exact same problem here, just downloaded today both the project and nodeJS but i get the error bellow (also attached print):
PS C:\argon-dashboard-react-master> npm start
[email protected] start C:\argon-dashboard-react-master
react-scripts start
Starting the development server...
Failed to compile.
./src/assets/scss/argon-dashboard-react.scss (./node_modules/css-loader??ref--6-oneOf-5-1!./node_modules/postcss-loader/src??postcss!./node_modules/sass-loader/lib/loader.js??ref--6-oneOf-5-3!./src/assets/scss/argon-dashboard-react.scss)
To import Sass files, you first need to install node-sass.
Run npm install node-sass
or yarn add node-sass
inside your workspace.
Require stack:
- C:\argon-dashboard-react-master\node_modules\sass-loader\lib\loader.js
- C:\argon-dashboard-react-master\node_modules\loader-runner\lib\loadLoader.js
- C:\argon-dashboard-react-master\node_modules\loader-runner\lib\LoaderRunner.js
- C:\argon-dashboard-react-master\node_modules\webpack\lib\NormalModule.js
- C:\argon-dashboard-react-master\node_modules\webpack\lib\NormalModuleFactory.js
- C:\argon-dashboard-react-master\node_modules\webpack\lib\Compiler.js
- C:\argon-dashboard-react-master\node_modules\webpack\lib\webpack.js
- C:\argon-dashboard-react-master\node_modules\react-scripts\scripts\start.js
My node version:
PS C:\argon-dashboard-react-master> node -v
v12.14.1
from argon-dashboard-react.
Compiled with problems:
×
ERROR in ./src/Assets/scss/argon-dashboard-pro-react.scss?v1.2.1 (./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[7].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[7].use[2]!./node_modules/resolve-url-loader/index.js??ruleSet[1].rules[1].oneOf[7].use[3]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[7].use[4]!./src/Assets/scss/argon-dashboard-pro-react.scss?v1.2.1)
Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
SassError: $color: linear-gradient(to right, #FE932C, #F75100) is not a color.
╷
255 │ $link-hover-color: darken($link-color, 15%) !default;
│ ^^^^^^^^^^^^^^^^^^^^^^^^
╵
src\Assets\scss\custom_variables.scss 255:20 @import
src\Assets\scss\argon-dashboard-pro-react.scss 27:9 root stylesheet
from argon-dashboard-react.
Related Issues (20)
- Guide for integration with Gatsby HOT 5
- Unable to setup HOT 1
- Sidebar opens when any button is clicked on mobile screen HOT 1
- TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined HOT 1
- [Bug] Template will crash on TypeError HOT 1
- [Bug] Template will crash on TypeError HOT 1
- scss files are coming in production build HOT 1
- [Bug] SCSS files are appearing in the browser even after removing from build HOT 4
- [Bug] The documentation page is not working HOT 1
- [Help Wanted] form filter fields based in select field input HOT 2
- Is there an accordion Component? HOT 1
- Fast Clicks in Sidebar Menu HOT 1
- Hide the component in Sidebar HOT 1
- [Bug] Could not resolve dependency: HOT 2
- [Feature Request] Dropdown in sidebar HOT 1
- [Bug] npm not install HOT 5
- but.. "npm install" HOT 1
- Icons HOT 1
- Updating for react router v6 HOT 1
- [Feature Request] Not able to use react lazy() for code splitting
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 argon-dashboard-react.