-
Notifications
You must be signed in to change notification settings - Fork 205
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
Webserver stops soon after starting in new project on Mac #533
Comments
@RyanHedges Thanks for reporting this issue. I will if I can repro this as well on Mac using the latest version of NodeJs. I will keep you posted. -Courtney |
Thanks @TCourtneyOwen! I want to confirm the expected behavior of using this tool so that we're both not attempting to fix a problem that's a red herring and something that's local to only me. After generating the project, I should be able to |
In any case, once the dev-server is running, you can go to the browser You could likely go back to a previous webpack / webpack-dev-server version which doesn't have the problem. Or once there is a version available that has the fix, you can update to it. |
Thanks @akrantz! It sounds like I might have misunderstood the expectations after reading the README. The dev-server process does continue to run. When I visit |
Thanks for the help! I'm going to close this issue since the exceptions thrown don't seem to cause the seen issue. If I can help with anything, please let me know. |
I created a new Angular project with typescript using this generator for a Word Add-in. I've done some debugging, and I hope it helps us solve the problem. Or someone can help correct my assumptions about how everything is working together if I'm off track! 😉
I'm running a fresh install of Node
14.2.0
using NVM after uninstalling node to help me debug the issue. The problem is that shortly after starting the web server the web server dies and I can't hit the default built app.Ultimately I think the problem stems from a new dependency issue in
webpack-dev-server
that the community has been attempting to address and release the past few weeks. I got there as I was trying to understand an error wherefsevents
was throwing "Cannot find module 'nan'" while runningyo office
. I had tried clearingnode_modules
and runningnpm install
directly, as well as installingnan
as a project dependency before finding those github Issues.I'm going to fiddle with different node/dependency versions and see if I can get into a state where I can develop the Add-in but I wanted to bring it up if there is anyone else experiencing the same problem, or if anyone has any suggestions or workarounds.
$ npm run start:web --verbose
outputKey
$ yo office
outputThe text was updated successfully, but these errors were encountered: