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

Error #3

Open
Amcmaster4 opened this issue Apr 21, 2024 · 3 comments
Open

Error #3

Amcmaster4 opened this issue Apr 21, 2024 · 3 comments

Comments

@Amcmaster4
Copy link

Each time I try to start a server, I get this error:

manifold-server@1.1.0 start
tsx index.ts

/home/deck/Downloads/manifold-server-master/node_modules/.bin/tsx: line 1: ../tsx/dist/cli.mjs: No such file or directory

I am on a Steam Deck.

@SneezingCactus
Copy link
Owner

Have you installed the server's dependencies with npm install before trying to open the server?

@Amcmaster4
Copy link
Author

Amcmaster4 commented Apr 23, 2024

Yes. I was following the tutorial. Is it possible that it's because I'm using nvm to install node js?

@SneezingCactus
Copy link
Owner

SneezingCactus commented Apr 25, 2024

That could be it. I had issues running the server from the bash script because I had two versions of Node in my computer: Node v12 installed using apt, and Node v20 installed using nvm. When I open the bash script by itself (without opening a terminal beforehand), it uses Node v12 and immediately crashes because the code makes heavy use of ES6, but if I open the server from a terminal (by doing npm run start), it uses Node v20 and everything works perfectly. You should try the latter, maybe you're running into a similar issue.

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