Code Monkey home page Code Monkey logo

comp-333-5's Issues

Jest Testing

@ananafrida I get the following errors when I try to run the tests:

npm install

up to date, audited 1579 packages in 2s

254 packages are looking for funding
run npm fund for details

9 vulnerabilities (3 moderate, 6 high)

To address issues that do not require attention, run:
npm audit fix

To address all issues (including breaking changes), run:
npm audit fix --force

Run npm audit for details.
npm run test

[email protected] test
react-scripts test
jest-haste-map: Watchman crawl failed. Retrying once with node crawler.
Usually this happens when watchman isn't running. Create an empty .watchmanconfig file in your project's root folder or initialize a git or hg repository in your project.
Error: Watchman error: std::__1::system_error: open: /Users/nishantaggarwal/Documents/git-repositories/comp-333-3-frontend/src: Operation not permitted. Make sure watchman is running for this project. See https://facebook.github.io/watchman/docs/troubleshooting.
node:events:497
throw er; // Unhandled 'error' event
^

Error: std::__1::system_error: open: /Users/nishantaggarwal/Documents/git-repositories/comp-333-3-frontend/src: Operation not permitted
at BunserBuf. (/Users/nishantaggarwal/Documents/git-repositories/comp-333-3-frontend/node_modules/fb-watchman/index.js:99:23)
at BunserBuf.emit (node:events:519:28)
at BunserBuf.process (/Users/nishantaggarwal/Documents/git-repositories/comp-333-3-frontend/node_modules/bser/index.js:292:10)
at /Users/nishantaggarwal/Documents/git-repositories/comp-333-3-frontend/node_modules/bser/index.js:247:12
at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
Emitted 'error' event on WatchmanWatcher instance at:
at Client. (/Users/nishantaggarwal/Documents/git-repositories/comp-333-3-frontend/node_modules/jest-haste-map/build/watchers/WatchmanWatcher.js:150:10)
at Client.emit (node:events:519:28)
at BunserBuf. (/Users/nishantaggarwal/Documents/git-repositories/comp-333-3-frontend/node_modules/fb-watchman/index.js:111:12)
at BunserBuf.emit (node:events:519:28)
at /Users/nishantaggarwal/Documents/git-repositories/comp-333-3-frontend/node_modules/bser/index.js:249:12
at process.processTicksAndRejections (node:internal/process/task_queues:77:11) {
watchmanResponse: {
error: 'std::__1::system_error: open: /Users/nishantaggarwal/Documents/git-repositories/comp-333-3-frontend/src: Operation not permitted',
version: '2023.09.25.00'
}
}

Node.js v21.2.0

Could you please fix them ASAP.

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.