Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't run the project in local development??? #87

Closed
rajmaxi opened this issue May 22, 2020 · 3 comments
Closed

Can't run the project in local development??? #87

rajmaxi opened this issue May 22, 2020 · 3 comments

Comments

@rajmaxi
Copy link

rajmaxi commented May 22, 2020

I was followed by the instruction given in the GitHub for local development. Moreover, I haven't able to run this in my local machine. When I was run the command of npm run watch and I got the error as
[nodemon] app crashed like this. I have attached the screenshot and could you please help me on this to solve this issue
Capture2

@markbrocato
Copy link
Contributor

It looks like the scripts for watching and compiling react storefront aren't compatible with windows. Are you trying to make changes to the react-storefront library itself, or create an app based on react-storefront?

@rajmaxi
Copy link
Author

rajmaxi commented May 22, 2020

Thanks for the valuable response. I have tried to run the project using react-storefront only but whenever I have run this project using npm start, I got the error. I have attached the screenshot for the reference. My only concern was how to run this GitHub project in the local server.
Capture6

@markbrocato
Copy link
Contributor

This repo contains the React Storefront framework, not an app. So there is no start script. You can run npm watch or npm build to transpile the source so it can be used in an app. I suspect what you actually want is to create an app. For that you should use npm create react-storefront@latest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants