Comments (9)
You can avoid this by starting it with npm run dev-server
in a separate Terminal window tab, or if using VS Code, use Terminal
, Run Task...
, Dev Server
to run it inside VS Code. You can then close the Terminal window tab or close VS Code to stop the task.
We've already done some work to know the process id of the detached process which is started. We need office-addin-debugging start
to write this to disk so that office-addin-debugging stop
can know to stop the process.
from office-addin-scripts.
Good to know... would have helped me this week. However as it stands now, the stop
command doesn't work when it says it successfully completed it's task.
from office-addin-scripts.
Yes, I agree. I'm not disputing that. We will work to make improvements here. Sorry if this caused problems for you.
from office-addin-scripts.
This is now fixed. I have published office-addin-debugging using the "next" dist-tag, so you install the updated package using "npm install -D office-addin-debugging@next".
from office-addin-scripts.
MacOS still appears to have the problem of getting
$ office-addin-debugging stop manifest.xml env: node\r: No such file or directory error Command failed with exit code 127.
The way to resolve the issue locally is to change the line ending in .bin -> office-addin-debugging from CRLF to LF.
from office-addin-scripts.
@jpshankle I opened a separate issue about that: #168.
from office-addin-scripts.
@jpshankle Please see comments in #168. I wasn't able to mention your username there. Not sure why, but please reply there and we will follow up. Thanks.
from office-addin-scripts.
This is now fixed. I have published office-addin-debugging using the "next" dist-tag, so you install the updated package using "npm install -D office-addin-debugging@next".
I tried doing so, updating from 5.0.12
, to 5.1.0
. However, running
office-addin-debugging stop manifest.xml
still shows webpack in my Activity Monitor. What is more worrying is that it is slowly creeping upwards - suggesting a memory leak.
from office-addin-scripts.
@akrantz, I found the solution! I need to run the command with sudo
!
So in my react based office add-in, I have to run sudo npm run stop
.
Which is the equivalent to sudo office-addin-debugging stop manifest.xml
😁
@andrewconnell, if you haven't found the solution yet, then hopefully this helps :)
from office-addin-scripts.
Related Issues (20)
- @microsoft/teams-manifest requires an insecure axios version HOT 12
- Web Addin certificate issue while building docker container image
- office-addin-manifest export fails when localization file is referenced
- getGraphToken is missing HOT 1
- why is the exception ignored when executing "certs verify" command? HOT 2
- office-addin-debugging Unsupported engine HOT 4
- CustomFunctionsMetadataPlugin ERROR in Conflict: Multiple assets emit different content to the same filename HOT 7
- validate works in CLI but office fails validation HOT 10
- "Icon URL Unreachable" error but URL is reachable (while validating manifest.xml) HOT 7
- custom-function-metadata should not use fs in parseTree HOT 3
- packages should specific exactly what they export. HOT 1
- Issues with AppContainer Loopback Logic in `office-addin-debugging` and `office-addin-dev-settings` HOT 4
- Should office-addin-dev-certs work for browsers? HOT 2
- Office-AddIn-Mock failed to mock getOfficeDisplayLanguage and build a project
- "Unable to start the dev server" on Ubuntu WSL HOT 2
- office-addin-sso needs to be updated to work with the JSON manifest HOT 2
- office-addin-manifest returns success on non-existent manifest file path HOT 3
- excel-custom-functions-js Unsupported engine (node 20) HOT 1
- shared run time add-in parameter problem HOT 6
- Azure Identity Libraries and Microsoft Authentication Library Elevation of Privilege Vulnerability HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from office-addin-scripts.