Comments (6)
Update:
Workaround: I change manually the user that runs PM2 service, instead of NT AUTORITHY\LOCAL SERVICE I used the Local service user, Idk what is the difference between them but now the service is running
from pm2-installer.
Thank you! This is great. I'd heard of this issue before, but was never able to replicate it.
What version of Node do you have installed? What version of Windows are you running, and what is your system's base language?
There's a small PowerShell script that prints out some information about the service included in the installer. Could you cd
into the pm2-installer
directory and run PowerShell -NoProfile -ExecutionPolicy Bypass .\src\windows\check-service.ps1
? Thanks again.
from pm2-installer.
Hi, @jessety
Node version: v12.17.0
SO version: Windows Server 2016 Standard x64
Base language: PortuguΓͺs Brasil
Output from PS:
Confirm-Service -name "pm2.exe"
Found "pm2.exe" service:
State: Running
Status: OK
Started: True
Start Mode: Auto
Service Type: Own Process
Start Name: NT AUTHORITY\LocalService
from pm2-installer.
It seems like this is an issue for all Windows installations where the base language isn't English. Yikes. A fix is now live in the service-dependency-fix branch.
@danilodecanini Try it out! If it works for you I'll merge #6.
Thanks again!
from pm2-installer.
With this fix it works with success!
Thank you so much for this quick fix!
from pm2-installer.
Thanks for reporting it! ππ
from pm2-installer.
Related Issues (20)
- Could not start service
- dont work with cluster mode HOT 1
- Potentially Dangerous PATH Variables C:\ProgramData\npm\npm : builtin\users HOT 1
- pm2 start issue HOT 3
- NPM as spawned child process does not work HOT 1
- Unrecognized token in source text - setup script
- No permission to Set-Permissions HOT 2
- pm2 logrotate got stuck with install
- Failed to set permissions on "C:\ProgramData\pm2\home" HOT 7
- Apps started according to pm2, but they are not running any service HOT 1
- Will this help me avoid "terminal" spawn issue ? HOT 1
- App shows as started on pm2 ls but it's frozen and doesn't get a PID. HOT 5
- In-memory PM2 is out-of-date HOT 1
- Offline install error HOT 1
- Moving PM2 logs output directory outside C:\ProgramData
- Error: ENOENT: no such file or directory
- No "shutdown" message is sent when the service is stopped
- Network Drive issue
- NPM as exec child process does not work
- There's always error when using this package
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 pm2-installer.