You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use zeit/pkg to package my cli-app into an executable.
It gives two warnings while packaging:
> Warning Cannot include file %1 into executable.
The file must be distributed with executable as %2.
node_modules/opn/xdg-open
path-to-executable/xdg-open
> Warning Failed to make bytecode node10-x64 for file /snapshot/gen-codes-
repo/node_modules/yoga-layout-prebuilt/yoga-layout/build/Release/nbind.js
Hi @vkefallinos! Were you able to resolve the issue? I'm experiencing the same issue right now and unfortunately I haven't found any solution so far.
Edit: It turns out that the warning message regarding yoga-layout-prebuilt is really just a warning, there must be an issue with the JavaScript in the index.js file as indicated by the error. In my setup with TypeScript, I had used the ncc package (from the same vendor as pkg) to transpile and bundle my code. I removed ncc from the project and replaced it with TypeScript's tsc, and it just worked.
I use zeit/pkg to package my cli-app into an executable.
It gives two warnings while packaging:
and an error while running the executable:
Have you found a way to package a pastel/ink app into an executable?
ps.
Thank you for your amazing work!!!
The text was updated successfully, but these errors were encountered: