Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Starting excalidraw-room using the recommended pm2 command does not work. #365

Open
sudo-nano opened this issue Sep 30, 2023 · 1 comment

Comments

@sudo-nano
Copy link

Expected Behavior

Running pm2 start pm2.production.json starts excalidraw-room.

Observed Behavior

excalidraw-room fails to start.

[PM2][WARN] Applications excalidraw-collab not running, starting...
[PM2][ERROR] Error: Script not found: /home/user/Desktop/excalidraw-room/dist/index.js

Steps to reproduce

  1. Download and build excalidraw-room per README.md
> git clone https://github.com/excalidraw/excalidraw-room.git
> cd excalidraw-room 
> yarn 
  1. Run pm2 start pm2.production.json

System Information

OS: Linux Mint 21.1 x86_64
Typescript version: 4.2.3
Yarn version: 3.6.1
NPM version: 10.1.0

@Inupedia
Copy link

Try to build a production first to get the dist directory by using yarn build

yarn build
pm2 start pm2.production.json

Then you should be able to see some running information pop up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants