Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why did my office add-in NPM fail to start? Can you check it for me please?

My program is written step by step in accordance with official documents, and so is the command.Port 3000 is not used. Why can't I start port 3000?

E:\My Office Add-in>npm start

> [email protected] start E:\My Office Add-in
> office-addin-debugging start manifest.xml

Debugging is being started...
App type: desktop
Enabled debugging for add-in af71531f-d6c5-4ff3-854d-7b8dc52e3dcd. 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.

enter image description here

like image 920
u33445687 Avatar asked Dec 07 '25 04:12

u33445687


1 Answers

I had almost the exact same problem, and I fixed it using sudo:

sudo npm start

like image 181
T Hummus Avatar answered Dec 10 '25 14:12

T Hummus



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!