- Run Powershell
- Install scoop
Set-ExecutionPolicy RemoteSigned -scope CurrentUser
iex (new-object net.webclient).downloadstring('https://get.scoop.sh')
- Install curl, git and openssh
scoop install curl
Set-ExecutionPolicy RemoteSigned -scope CurrentUser
iex (new-object net.webclient).downloadstring('https://get.scoop.sh')
scoop install curl
.test { color:green} |
$$("div.cues.style-scope.ytd-transcript-body-renderer > div").map(a=>a.innerHTML.trim()).reduce((a, c)=> a + c + '. ') |
<!DOCTYPE html> | |
<html> | |
<head> </head> | |
<body> | |
<script> | |
const max = 5, | |
min = 1, | |
prevGuesses = []; | |
let secretNum = null, |
If you can not find you question, put it as comment below. I will answer it and add it to the list.
It means that products
is null.
check the value of products
when loading = true
, It should be empty array []
Also, check the value of products
when loading = false
, It should be products array.
Hello and Welcome to my coding course to build a multi-vendor ecommerce website by MERN stack. In this course you will learn the essential tools and skills to design, develop and deploy a fully-function marketplace website using React and Redux in frontend and Node and MongoDB in backend.
This is a practical coding course and we are gonna learn and build lots of stuff in this multi-vendor ecommerce website like:
import React, { useEffect, useState } from 'react'; | |
import { useDispatch, useSelector } from 'react-redux'; | |
import { PayPalButton } from 'react-paypal-button-v2'; | |
import { Link } from 'react-router-dom'; | |
import axios from 'axios'; | |
import { detailsOrder, payOrder, deliverOrder } from '../actions/orderActions'; | |
import MessageBox from '../components/MessageBox'; | |
import LoadingBox from '../components/LoadingBox'; | |
import { | |
ORDER_PAY_RESET, |
the issue is because of loading PayPal script multiple times.
try placing orders on the demo website at https://proshopapp.herokuapp.com/
You will not get this error. Please clone this repo and run it on your computer. It works.
https://github.com/bradtraversy/proshop_mern/
Then compare your code with this.
add this line at the top of the file: import fs from 'fs';
it is because of heroku policy for free dyno. It delete all files after 30 mins idle. if you want to keep them you need to buy a paid dyno. get it from here: https://www.heroku.com/pricing
Check why the product link does not contain the product id in HomeScreen.js and Product.js component.