appwrite / demo-todo-with-react

A basic demo example for integrating between Appwrite & React JS 💙
https://appwrite-todo-with-react.vercel.app
MIT License
201 stars 128 forks source link

Failed to compiled #22

Closed daseeds closed 3 years ago

daseeds commented 3 years ago

Hello,

Got the following error when trying to npm start the project ` Failed to compile.

./src/index.css (./node_modules/css-loader/dist/cjs.js??ref--5-oneOf-4-1!./node_modules/postcss-loader/src??postcss!./src/index.css) TypeError: [(...variantsValue),(...extensions)].flat is not a function `

npm 7.15.0

christyjacob4 commented 3 years ago

Hey, I tested it locally with these npm and node versions and it works

 node -v
v14.17.0
npm --v
6.14.13

It is recommended to switch to an LTS release of node and npm

Here's something you can try

  1. Clone the project again
  2. delete package-lock.json
  3. run npm install
  4. run npm-start