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
There is no build dist after npm run dev #33
Comments
Thank you for your contribution. We will check and reply to you as soon as possible. |
Any chance that you don't have yarn installed? In a recent PR they change the |
I also encountered this problem recently, how did you solve it? |
Would you like to pull the latest source from the repository and try again? As namnguyen191 said, I suspect the problem is caused by yarn not being installed. Removed yarn inside package.json and replaced it with npm run. |
Yes, I am running the latest code and yarn is installed with the latest version. I find that the command line gets stuck after the wss command is executed and does not execute the nodemon command that follows. If I re-execute yarn dev at this point, it reports an error about the port being occupied, and the nodemon command continues to be executed later, and the project runs normally and generates the dist directory. I'm not sure why this is happening. |
I am experiencing the same problem |
Hi, bro! I have solved this problem by running "yarn build:hmr && start /b yarn wss && nodemon" instead of "yarn build:hmr && (yarn wss & nodemon)" command, and the reason is Windows command line does not recognize & command. |
Thanks it works, I used concurrently it worked aswell but this way one dependency less |
Sorry, I don't quite understand what the second sentence means |
Not worked in dev, build working fine 😎 |
I am unable to run this in dev mode. How is the dev mode done exactly and what does it do? There is no dist directory after npm run dev. Am I suppose to npm run build first? But it does not rebuild whenever I change the code. Sorry just starting out building chrome extensions
Edit: I tried the https://github.com/extend-chrome/ts-react-boilerplate.git and it works. It builds to dist and hrm also works.
The text was updated successfully, but these errors were encountered: