question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Problem with `ps` not there when installing

See original GitHub issue

I have a docker image which does not have ps installed (https://stackoverflow.com/a/26982502). When I run yarn add mongodb-memory-server I have such error:

imggg | imggg | [11:42:16 AM] Found 0 errors. Watching for file changes. imggg | imggg | /bin/sh: 1: ps: not found imggg | events.js:377 imggg | throw er; // Unhandled ‘error’ event imggg | ^ imggg | imggg | Error: spawn ps ENOENT imggg | at Process.ChildProcess._handle.onexit (internal/child_process.js:274:19) imggg | at onErrorNT (internal/child_process.js:469:16) imggg | at processTicksAndRejections (internal/process/task_queues.js:82:21) imggg | Emitted ‘error’ event on ChildProcess instance at: imggg | at Process.ChildProcess._handle.onexit (internal/child_process.js:280:12) imggg | at onErrorNT (internal/child_process.js:469:16) imggg | at processTicksAndRejections (internal/process/task_queues.js:82:21) { imggg | errno: -2, imggg | code: ‘ENOENT’, imggg | syscall: ‘spawn ps’, imggg | path: ‘ps’, imggg | spawnargs: [ ‘-o’, ‘pid’, ‘–no-headers’, ‘–ppid’, 115 ] imggg | } imggg | error Command failed with exit code 1. imggg | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

I strongly believe this is because of mongodb-memory-server

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
hasezoeycommented, Oct 28, 2022

node-gyp is not used by MMS, so this is not the place for questions about it (i could not help with it)

0reactions
bacloud23commented, Oct 28, 2022

Excuse me, this is irrelevant to this package. My error I believe was because of my process manager.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshoot installation | Photoshop Elements, Premiere ...
Installation issues can be caused by many factors, including conflicting startup items, incorrect data in the Windows registry, and hardware ...
Read more >
FIX: Photoshop CC installation failed - Windows Report
More often than naught, a lot of users have an issue with downloading the installation kit for Photoshop CC, and not actually installing...
Read more >
Troubleshooting game downloads from PlayStation Store
Find out how to fix issues when downloading games from PlayStation Store on PS5™ consoles and PS4™ consoles.
Read more >
How to Fix Game Install Issues on a PlayStation 4 - Support.com
If no other disc can be read, there may be a hardware issue with the console. Insert the game disc if it hasn't...
Read more >
My plug-ins do not appear in Adobe Photoshop after installing ...
In some cases resetting Photoshop Preferences or reinstalling Adobe Photoshop solves the issue. To log in to your Customer Account directly from this...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found