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

Won't run the sample #2

Open
nonfungibletunji opened this issue Jun 7, 2023 · 1 comment
Open

Won't run the sample #2

nonfungibletunji opened this issue Jun 7, 2023 · 1 comment

Comments

@nonfungibletunji
Copy link

working on a fresh build, when I went to
ppm dev

got the following errors, with dum.exe

@apps/server:dev: /Users/stunjiturner/Downloads/CodeReviewRepos/my-project/apps/server/node_modules/.bin/dum: line 13: /Users/stunjiturner/Downloads/CodeReviewRepos/my-project/apps/server/node_modules/.bin/../../../../packages/dum/bin/dum.exe: cannot execute binary file
@apps/server:dev:  ELIFECYCLE  Command failed with exit code 126.
@apps/server:dev: ERROR: command finished with error: command (/Users/stunjiturner/Downloads/CodeReviewRepos/my-project/apps/server) pnpm run dev exited (1)
@apps/web:dev:  ELIFECYCLE  Command failed.

@koakh
Copy link

koakh commented Jun 12, 2023

hello

I have the same issues in linux,
I will assume you are using a *nix os

you must install dum with cargo install dum
(install rust toolchain https://www.rust-lang.org/tools/install)
and replace

"bin": "./bin/dum.exe" with "bin": "dum"
in
packages/dum/package.json

in my case I replace dum with pnpm in package.json,
I love rust, but in my case I prefer use simple pnpm, I don't need extra dum speed

but you will have other issues with replacer, copy for ex replacer to /usr/local/bin
and adapt the scripts

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