Unable to start the dev server
See original GitHub issueI was following the steps here: https://docs.microsoft.com/en-us/office/dev/add-ins/quickstarts/excel-quickstart-jquery?tabs=yeomangenerator
Once I run npm start:
npm start
> office-addin-taskpane-js@0.0.1 start .....\My Office Add-in
> office-addin-debugging start manifest.xml
Debugging is being started...
App type: desktop
Enabled debugging for add-in 05c2e1c9-3e1d-406e-9a91-e9ac64854143. Debug method: 0
Starting the dev server... (webpack-dev-server --mode development)
Unable to start the dev server. Error: The dev server is not running on port 3000.
Sideloading the Office Add-in...
Debugging started.
I am on Windows 10 Please can you help me run the add-in? Would really like to try this out 😃
Issue Analytics
- State:
- Created 4 years ago
- Comments:15 (1 by maintainers)
Top Results From Across the Web
Unable to start the dev server. Error: The dev server is not ...
The error about being unable to start the dev server is likely because it is timing out waiting for the prompt.
Read more >Unable to start webpack-dev-server - Stack Overflow
I have tried deleting and re-installing the the node_modules folder (many times), as well as deleting just the webpack-dev-server folder and re- ...
Read more >Unable to start webpack-dev-server - Render community
It looks like the error is telling you that you don't have a dev_server: config in your webpacker.yml file. When you run webpack-dev-server...
Read more >Error: Unable to Start Debugging on the Web Server
When you try to debug an ASP.NET application running on a Web server, you may get this error message: Unable to start debugging...
Read more >webpack-dev-server: command not found error [Solved]
To solve the error "webpack-dev-server: command not found", install the package globally by running npm install -g webpack-dev-server and restart your terminal.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@sarahboyce If you go to the directory “c:\users\Sarah Boyce.office-addin-dev-certs”, you could manually install the CA certificate.
Once the CA certificate is installed,
npm run dev-server
should be able to run successfully.@sarahboyce Run this command:
npx office-addin-dev-certs install
.If the certificates are already installed, you’ll see a message:
If the certificates are not installed, it will show a message:
You should then see the dialog asking to install the certificate.
After saying yes, it should then show:
Once the certificates are installed, you should be able to run the dev server without problems.