Closed reajuria closed 4 years ago
Based on https://docs.npmjs.com/files/package.json#files:
Omitting the field will make it default to ["*"], which means it will include all files.
So zeit/pkg
does not have the same convention as npm
?
This article provided little information on what this error is or what could be a possible solution. This error has halted development for myself. I am not asking for the answer just some more details regarding the issue. Thanks
zeit/pkg is a bundler to build a single executable without sources from a nodejs package/project. I had a project which depends on strong-globalize.
When strong-globalize package was included in the execution fails (zeit/pkg runs fine, but execution of bundled file will generate the exception described previously), I found that zeit/pkg won't include strong-globalize runtime files during compilation due to files property/field on package.json is missing.
add "node_modules/**/strong-globalize/cldr/*.json"
to asests when using zeit/pkg to resolve this issue
Description/Steps to reproduce
Watch the exception
Expected result
Execution without issues
Additional information
Related to #215 strong-soap