Comments (3)
@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.
@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.
@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)
- JS/Python package names improvements HOT 2
- [Bug]: Unable to generate bindings for `katei/irb`
- [Bug]: Hello World tutorial fails to publish
- WASI Support HOT 1
- Importing host functions (and implementing them in Rust)
- [Bug]: AssertionError: "<package>.wasm" is not a valid WASI executable HOT 1
- Support for generating JVM package
- Support for generating Go package
- Add support for volumes
- Add tests which install generated the tarballs
- Update JavaScript templates to allow importing host functions
- Update Python templates to allow importing host functions
- Write the host imports tutorial
- Create a set of integration test helpers HOT 1
- Update the bindings generator on WAPM when a new version is published
- Bindings/Commands not compatible with the browser HOT 3
- Don't count wasm4 commands as WASI commands HOT 1
- Automatically add commands to JS/Python packages
- Generated JavaScript filenames need to use kebab-case everywhere
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wasmer-pack.