GithubHelp home page GithubHelp logo

Comments (3)

Mohit0928 avatar Mohit0928 commented on August 10, 2024 2

@ayys, I tested it with both yarn and pip. I'm not getting this error anymore. Thanks @Michael-F-Bryan @ayys
I'm closing the issue

from wasmer-pack.

Michael-F-Bryan avatar Michael-F-Bryan commented on August 10, 2024 1

@ayys, I think this might be related to that EOF/flushing bug we were seeing earlier.

This is what I see when unpacking the tarball locally:

$ tar --version
tar (GNU tar) 1.34
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.

$ curl -O https://registry-cdn.wapm.io/bindings/generator-wasmer/wasmer-pack-cli%400.5.3%3Awasmer-pack/js/Mohit/tutorial-01/tutorial-01-0.1.0.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  413k  100  413k    0     0  1266k      0 --:--:-- --:--:-- --:--:-- 1269k

$ tar -xzvf tutorial-01-0.1.0.tar.gz
tar: Removing leading `/' from member names
/
package/
package/package.json
package/src/
package/src/bindings/
package/src/bindings/calculator/
package/src/bindings/calculator/calculator.d.ts
package/src/bindings/calculator/calculator.js
package/src/bindings/calculator/intrinsics.js
package/src/bindings/calculator/tutorial-01.wasm

gzip: stdin: invalid compressed data--format violated
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now

Note the "Unexpected EOF in archive" bit towards the end.

from wasmer-pack.

ayys avatar ayys commented on August 10, 2024

@Mohit0928 Thanks for creating this issue. The bug fixed in prod a few days ago, but older packages were still being affected. I've applied the fix retrospectively, so wasmer add --yarn Mohit/tutorial-01 should work now.

from wasmer-pack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.