Git Product home page Git Product logo

Comments (9)

akrantz avatar akrantz commented on August 18, 2024 1

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.

andrewconnell avatar andrewconnell commented on August 18, 2024

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.

akrantz avatar akrantz commented on August 18, 2024

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.

akrantz avatar akrantz commented on August 18, 2024

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.

jpshankle avatar jpshankle commented on August 18, 2024

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.

akrantz avatar akrantz commented on August 18, 2024

@jpshankle I opened a separate issue about that: #168.

from office-addin-scripts.

akrantz avatar akrantz commented on August 18, 2024

@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.

suuunly avatar suuunly commented on August 18, 2024

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.

image

from office-addin-scripts.

suuunly avatar suuunly commented on August 18, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.