Open vkefallinos opened 4 years ago
Unfortunately can't help you here, never needed to do this, so I haven't encountered/fixed it myself.
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.
你把无法打包的文件从 node_modules 里复制出来,然后 copy 到 .exe 文件的同级目录下,并修改引用路径就 ok 了
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!!!