Giter Site home page Giter Site logo

Comments (5)

MikeMcC399 avatar MikeMcC399 commented on June 3, 2024

@naeemakram

  • What is your operating system? Windows x?
  • Which version of Node.js are you using? 20.11.0
  • Which command did you run? yarn dev?
  • Have you modified your clone of the example repo https://github.com/cypress-io/cypress-realworld-app and / or installed any different versions of dependencies?

I am not seeing any errors on Windows 11 with Node.js 20.11.0

git clone https://github.com/cypress-io/cypress-realworld-app
cd cypress-realworld-app
npm install yarn@latest -g
yarn
yarn dev

from cypress-realworld-app.

MikeMcC399 avatar MikeMcC399 commented on June 3, 2024

This is the normal log of yarn dev on Windows 11:

$ yarn dev
yarn run v1.22.19
$ yarn db:seed:dev
$ yarn predev:cognito:ci
$ yarn copy:mock:awsexports && yarn copy:mock:awsexportses5
$ ncp scripts/mock-aws-exports.js src/aws-exports.js
$ ncp scripts/mock-aws-exports-es5.js aws-exports-es5.js
$ ncp ./data/database-seed.json ./data/database.json
$ cross-env NODE_ENV=development concurrently yarn:start:react yarn:start:api:watch
$ nodemon --exec yarn tsnode --watch 'backend' backend/app.ts
$ vite:react]
[start:api:watch] [nodemon] 2.0.22
[start:api:watch] [nodemon] to restart at any time, enter `rs`
[start:api:watch] [nodemon] watching path(s): 'backend'
[start:api:watch] [nodemon] watching extensions: ts,json
[start:api:watch] [nodemon] starting `yarn tsnode backend/app.ts`
$ nyc --silent ts-node -P tsconfig.tsnode.json backend/app.ts
[start:react]
[start:react]   VITE v4.4.2  ready in 3938 ms
[start:react]
[start:react]   ➜  Local:   http://localhost:3000/
[start:react]   ➜  Network: use --host to expose
[start:api:watch] Browserslist: caniuse-lite is outdated. Please run:
[start:api:watch]   npx update-browserslist-db@latest
[start:api:watch]   Why you should do it regularly: https://github.com/browserslist/update-db#readme
[start:api:watch] express-validator: sanitize(), sanitizeBody() and other sanitization-only middlewares have been deprecated.
[start:api:watch] Please use check(), body() and others instead, which must offer the same API, and more.
[start:api:watch] Backend server running at http://localhost:3001

from cypress-realworld-app.

naeemakram avatar naeemakram commented on June 3, 2024

I have the following:
Windows 11
Node 18.13.0
Yar 1.22.22

Yes, I ran Yarn dev command. I cloned the repo from Git.

from cypress-realworld-app.

MikeMcC399 avatar MikeMcC399 commented on June 3, 2024

@naeemakram

You say you are using Node.js 18.13.0. The README says:

This project requires Node.js to be installed on your machine. Refer to the .node-version file for the exact version.

so you should update Node.js to the requested version. I don't know if that will resolve your issue though as I am not able to reproduce it. Good luck!

from cypress-realworld-app.

jennifer-shehane avatar jennifer-shehane commented on June 3, 2024

Closing as stale

from cypress-realworld-app.

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.