reacttraining / react-router-5-course Goto Github PK
View Code? Open in Web Editor NEWLearn React Router 5 - by ReactTraining.com
Home Page: https://courses.reacttraining.com
Learn React Router 5 - by ReactTraining.com
Home Page: https://courses.reacttraining.com
./src/styles/main.scss (./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/lib/loader.js!./src/styles/main.scss)
Module build failed (from ./node_modules/sass-loader/lib/loader.js):
Error: Cannot find module 'node-sass'
Not sure what you need to debug?
I'm using node v12.20 (I figured it might work with a lower version of node?) I have all the branches, in fact, I had to do an npm install node-sass -D
to get one other branch to work. Here's what the terminal shows after npm start
ERROR in ./src/wireframe/wireframes.scss (./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/lib/loader.js!./src/wireframe/wireframes.scss)
Module build failed (from ./node_modules/sass-loader/lib/loader.js):
Error: Cannot find module 'node-sass'
Require stack:
Hi,
I wanted to try your course but faced a compilation error when doing npm install
. Here is the error log:
Dans le fichier inclus depuis /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/cassert:44,
depuis /home/stephane/.node-gyp/12.13.0/include/node/node_object_wrap.h:26,
depuis ../../nan/nan.h:55,
depuis ../src/binding.cpp:1:
../../nan/nan_object_wrap.h: Dans le destructeur « virtual Nan::ObjectWrap::~ObjectWrap() »:
../../nan/nan_object_wrap.h:24:25: erreur: « class Nan::Persistent<v8::Object> » n'a pas de membre nommé « IsNearDeath »
24 | assert(persistent().IsNearDeath());
| ^~~~~~~~~~~
../../nan/nan_object_wrap.h: Dans la fonction membre statique « static void Nan::ObjectWrap::WeakCallback(const v8::WeakCallbackInfo<Nan::ObjectWrap>&) »:
../../nan/nan_object_wrap.h:127:26: erreur: « class Nan::Persistent<v8::Object> » n'a pas de membre nommé « IsNearDeath »
127 | assert(wrap->handle_.IsNearDeath());
| ^~~~~~~~~~~
Do you have an idea of what the problem is?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.