Giter Site home page Giter Site logo

Comments (9)

cai0m3ga avatar cai0m3ga commented on July 20, 2024 2

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.

print

print

from argon-dashboard-react.

TrueGeek avatar TrueGeek commented on July 20, 2024

Same here. TONS of errors during npm install

from argon-dashboard-react.

einazare avatar einazare commented on July 20, 2024

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.

TrueGeek avatar TrueGeek commented on July 20, 2024

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.

einazare avatar einazare commented on July 20, 2024

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.

kimhorng avatar kimhorng commented on July 20, 2024

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.

einazare avatar einazare commented on July 20, 2024

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.

cai0m3ga avatar cai0m3ga commented on July 20, 2024

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

print

My node version:

PS C:\argon-dashboard-react-master> node -v
v12.14.1

print

from argon-dashboard-react.

harikaran003 avatar harikaran003 commented on July 20, 2024

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)

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.