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

Trying to build binaries using pkg #238

Open
jordantrizz opened this issue Dec 19, 2023 · 0 comments
Open

Trying to build binaries using pkg #238

jordantrizz opened this issue Dec 19, 2023 · 0 comments

Comments

@jordantrizz
Copy link

I got pretty far, building binaries for terminalizer with pkg. You might be asking why I would do this? Mostly because there are situations where installing node/npm aren't possible.

I updated package.json with the following.

 "pkg": {
    "assets": [
     "/commands/**",
     "/config.yml"
     ]
  }

I was able run init, config, recorder, but unable to run render due to the following.

❯ ./terminalizer render test.yml
Error:
  Error: Cannot mkdir in a snapshot. Try mountpoints instead.

Hint:
  Use the --help option to get help about the usage

I'm a node newb, and did find the following helpful.

vercel/pkg#1293
https://github.com/vercel/pkg?tab=readme-ov-file#snapshot-filesystem

However, I need to somehow debug and find the breakpoint where this error is occurring, thoughts?

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

1 participant