Giter Site home page Giter Site logo

patientor's People

Contributors

cxcorp avatar dependabot[bot] avatar janirapo avatar kaltsoon avatar mluukkai avatar totutotu avatar tuukkap avatar woltsu avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

patientor's Issues

Getting a bunch of errors

U6kVvsGM9RU just cloned this, and off the bat, im getting a bunch of errors. I cant give proper info cause i dont know what is going on myself.
i get this after running yarn to installl deps

 % yarn build
yarn run v1.22.11
$ react-scripts build

There might be a problem with the project dependency tree.
It is likely not a bug in Create React App, but something you need to fix locally.

The react-scripts package provided by Create React App requires a dependency:

  "eslint": "^7.11.0"

Don't try to install it manually: your package manager does it automatically.
However, a different version of eslint was detected higher up in the tree:


     For example, you might have accidentally installed something in your home folder.

  7. Try running npm ls eslint in your project folder.
     This will tell you which other package (apart from the expected react-scripts) installed eslint.

If nothing else helps, add SKIP_PREFLIGHT_CHECK=true to an .env file in your project.
That would permanently disable this preflight check in case you want to proceed anyway.

P.S. We know this message is long but please read the steps above :-) We hope you find them helpful!

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Parsing error: Unexpected token, expected "]"

I cloned and launched the project and got this error

> [email protected] start /home/louis/fulFailed to compile.

src/AddPatientModal/FormField.tsx      
  Line 74:60:  Parsing error: Unexpected token, expected "]"

  72 | }: {
  73 |   diagnoses: Diagnosis[];       
> 74 |   setFieldValue: FormikProps<{ diagnosisCodes: string[] }>['setFieldValue'];
     | 
                           ^
  75 |   setFieldTouched: FormikProps<{ diagnosisCodes: string[] }>['setFieldTouched'];
  76 | }) => {
  77 |   const field = 'diagnosisCodes';

Build fails

After npm install, running npm start gives:
image

chokidar

On my machine (arch wsl on windows) the app wouldn't start because it couldn't find the package "chokidar". which it didn't install properly with npm install because fs events dependency wouldn't install because in the packagelock file i had to change "os": "darwin" to "os": "linux" under node_modules/fsevents. I open this in case someone stumbles at the same problem.

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.