scorelab / com-dictionary

Community Dictionary
Apache License 2.0
15 stars 62 forks source link

Updating Package.json #81

Open swarupyeole11 opened 1 year ago

swarupyeole11 commented 1 year ago

image

The project gives the following error when the project start it is due to Version Update error we would need to update package.json to make it work .

swarupyeole11 commented 1 year ago

Please assignt the issue to me

priyansh2003 commented 1 year ago

How did you setup the project without a README? @swarupyeole11

swarupyeole11 commented 1 year ago

I ran the basic npm install Command after that when I ran npm start it gave me this issue . It is most probably due to package version error.

priyansh2003 commented 1 year ago

Ohkay got that

priyansh2003 commented 1 year ago

do npm init -y @swarupyeole11 then npm install should work.

IswarPatro commented 1 year ago

Assign me this issue because i am already solve this issue in my local server.

IswarPatro commented 1 year ago

This issue comes with the new update of Node.js 17. In React you can change the script attribute in the package.json file to:

"scripts": { "start": "react-scripts --openssl-legacy-provider start", "build": "react-scripts --openssl-legacy-provider build", }