You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have created new react app using yarn create react-app myapp and I got this response of Success!
Although, I am trying to run the app using yarn start after getting into the directory as mentioned. I am getting binary not found issue.
Please find the below response.
Success! Created myapp1 at C:\Users\UpasnaGhandi\Documents\Backup\myapp
Inside that directory, you can run several commands:
Starts the development server.
yarn build
Bundles the app into static files for production.
yarn test
Starts the test runner.
yarn eject
Removes this tool and copies build dependencies, configuration files
and scripts into the app directory. If you do this, you can’t go back!
We suggest that you begin by typing:
cd myapp1
yarn start
Happy hacking!
Done in 45.70s.
PS C:\Users\UpasnaGhandi\Documents\Backup> cd myapp1
PS C:\Users\UpasnaGhandi\Documents\Backup\myapp1> yarn start
yarn run v1.22.11
warning ..\..\..\package.json: No license field
$ react-scripts start
error Couldn't find the binary react-scripts start
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
yarn -version
1.22.11
** Solutions tried**
I tried, changing the scripts path in package.json
"start": "node_modules/react-scripts/scripts/start.js start"
OR
"start": "node node_modules/react-scripts/scripts/start.js"
OR
"start": "node_modules/react-scripts/bin/react-scripts.js start"
and then
yarn install
yarn start
Though, nothing worked.
The text was updated successfully, but these errors were encountered:
Describe the bug
I have created new react app using
yarn create react-app myapp
and I got this response of Success!Although, I am trying to run the app using yarn start after getting into the directory as mentioned. I am getting binary not found issue.
Please find the below response.
yarn -version
1.22.11
** Solutions tried**
I tried, changing the scripts path in
package.json
and then
Though, nothing worked.
The text was updated successfully, but these errors were encountered: