Git Product home page Git Product logo

Comments (7)

flosse avatar flosse commented on May 27, 2024 1

...the funny thing is, I try to move from JS/NPM to Rust just because of this kind of problems ;-)

from seed-quickstart-webpack.

MartinKavik avatar MartinKavik commented on May 27, 2024

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.

flosse avatar flosse commented on May 27, 2024

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.

MartinKavik avatar MartinKavik commented on May 27, 2024

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.

fattenap avatar fattenap commented on May 27, 2024

This looks like it may have been resolved in the current version on [email protected]

from seed-quickstart-webpack.

MartinKavik avatar MartinKavik commented on May 27, 2024

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.

fattenap avatar fattenap commented on May 27, 2024

Oh, I didn't realise it was for specific Node versions. Reopening.

from seed-quickstart-webpack.

Related Issues (15)

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.