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

Does not have "content" error when trying to pack? #56

Open
fyrewrks opened this issue Apr 28, 2024 · 1 comment
Open

Does not have "content" error when trying to pack? #56

fyrewrks opened this issue Apr 28, 2024 · 1 comment

Comments

@fyrewrks
Copy link

I am getting this error when trying to pack files
[ERROR] Filename: unpacked\NPCNames.json
XnbError: unpacked\NPCNames.json does not have "content".
at resolveImports (C:\snapshot\xnbcli\app\Porter.js:0:0)
at processPack (C:\snapshot\xnbcli\xnbcli.js:0:0)
at Walker.walker.on (C:\snapshot\xnbcli\xnbcli.js:0:0)
at Walker.emit (events.js:198:13)
at Object.emitSingleEvents [as emitNodeType] (C:\snapshot\xnbcli\node_modules\walk\lib\node-type-emitter.js:58:13)
at Walker._wLstatHandler (C:\snapshot\xnbcli\node_modules\walk\lib\walk.js:88:19)
at C:\snapshot\xnbcli\node_modules\walk\lib\walk.js:106:12
at FSReqWrap.oncomplete (fs.js:154:5)
Am I missing something?

@donedonedone278
Copy link

I was having the same question but I figured it out: I wasn't thinking very hard and thought that I could re-pack files unpacked with stardewxnbhack. The reality is that the only files you can re-pack with xnbcli are those that were unpacked with xnbcli.

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