Comments (7)
...the funny thing is, I try to move from JS/NPM to Rust just because of this kind of problems ;-)
from seed-quickstart-webpack.
It seems that they were playing with fs.promises
- jprichardson/node-fs-extra#551 (comment).
And it's probably the reason why your promises
are undefined
- https://github.com/wasm-tool/wasm-pack-plugin/blob/872af9ec5f57837c2234a488a76a407ff227b40f/plugin.js#L120.
So it's possible that I (and CI) have a little bit different NodeJS version..
And you know the JS drill.. what's your NodeJS version and OS, please?
from seed-quickstart-webpack.
what's your NodeJS version and OS, please?
- node v10.15.3
- npm 6.4.1
- yarn 1.13.0
- nixos 19.03
from seed-quickstart-webpack.
Issue in wasm-pack-plugin
: wasm-tool/wasm-pack-plugin#69
Temporary workaround: Just copy https://raw.githubusercontent.com/wasm-tool/wasm-pack-plugin/2d74352d703526508e2de95d6b1cacbca1b2101f/plugin.js to /node_modules/@wasm-tool/wasm-pack-plugin/plugin.js
from seed-quickstart-webpack.
This looks like it may have been resolved in the current version on [email protected]
from seed-quickstart-webpack.
This looks like it may have been resolved in the current version on [email protected]
@fattenap Are you sure? My PR hasn't been merged to wasm-pack
and the bug is specific to only some OSs and NodeJS versions - it's not super easy to reproduce it.
Also there is still wasm-pack-plugin
v. 1.0.1
in our package.json
because newer versions brake our CI (I don't remember the error).
from seed-quickstart-webpack.
Oh, I didn't realise it was for specific Node versions. Reopening.
from seed-quickstart-webpack.
Related Issues (15)
- Importing npm modules HOT 7
- Compiled package cannot be opened normally in Firfox browser HOT 1
- TypeError: Response has unsupported MIME type HOT 1
- Add steps to README for manual build and deploy
- Proposal: Create new projects with a generator HOT 1
- yarn build:release makes TypeErr HOT 1
- Uncaught (in promise) TypeError: Failed to execute 'compile' on 'WebAssembly': Incorrect response MIME type. Expected 'application/wasm'
- SCSS HOT 1
- Generated stylesheet is too big HOT 2
- Font files get corrupted when cloning this repository HOT 1
- About page cannot be refreshed in the release version
- Publish via netlify error HOT 10
- Update to seed 0.5 HOT 3
- Minimize WASM size HOT 8
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 seed-quickstart-webpack.