GithubHelp home page GithubHelp logo

Comments (7)

jpd002 avatar jpd002 commented on May 25, 2024

Did you make sure git submodules were properly updated using git submodule update --init --recursive?

from play-.

CatPeep avatar CatPeep commented on May 25, 2024

No, I did not, but once I executed that, all build errors disappeared and I got the website up an running! Although I do have one smaller problem, when I load the website, no matter it be the local computer or another device, it stays stuck on loading and does not let me choose the file.

from play-.

CatPeep avatar CatPeep commented on May 25, 2024

The console log in chrome is:

bundle.js:160 unknown
bundle.js:1087 Initializing PS2VM...
Play.js:8 Creating import table...
bundle.js:3173 worker sent an error! http://localhost:3000/Play.worker.js:1: Uncaught ReferenceError: convertJsFunctionToWasm is not defined
worker.onerror @ bundle.js:3173
bundle.js:3174 Uncaught ErrorEventisTrusted: truebubbles: falsecancelBubble: falsecancelable: truecolno: 2103composed: falsecurrentTarget: Window {window: Window, self: Window, document: document, name: '', location: Location, …}defaultPrevented: falseerror: nulleventPhase: 0filename: "http://localhost:3000/Play.worker.js"lineno: 1message: "Uncaught ReferenceError: convertJsFunctionToWasm is not defined"returnValue: truesrcElement: Window {window: Window, self: Window, document: document, name: '', location: Location, …}target: Window {window: Window, self: Window, document: document, name: '', location: Location, …}timeStamp: 662.5100000000093type: "error"[[Prototype]]: ErrorEvent
Play.worker.js:1 Uncaught ReferenceError: convertJsFunctionToWasm is not defined
    at RegisterExternFunction (Play.js:8:9519)
    at invoke_iii (Play.js:8:217218)
    at Play.wasm:0xf887
    at Play.wasm:0x1244ab
    at Play.wasm:0x178bc5
    at invoke_vi (Play.js:8:218116)
    at Play.wasm:0x17cd5e
    at Object.invokeEntryPoint (Play.js:8:62600)
    at handleMessage (Play.worker.js:1:1627)
bundle.js:50207 WebSocket connection to 'ws://localhost:3000/ws' failed: 

from play-.

CatPeep avatar CatPeep commented on May 25, 2024

When running npm audit
I get this:

# npm audit report

nth-check  <2.0.1
Severity: high
Inefficient Regular Expression Complexity in nth-check - https://github.com/advisories/GHSA-rp65-9cf3-cjxr
fix available via `npm audit fix --force`
Will install [email protected], which is a breaking change
node_modules/svgo/node_modules/nth-check
  css-select  <=3.1.0
  Depends on vulnerable versions of nth-check
  node_modules/svgo/node_modules/css-select
    svgo  1.0.0 - 1.3.2
    Depends on vulnerable versions of css-select
    node_modules/svgo
      @svgr/plugin-svgo  <=5.5.0
      Depends on vulnerable versions of svgo
      node_modules/@svgr/plugin-svgo
        @svgr/webpack  4.0.0 - 5.5.0
        Depends on vulnerable versions of @svgr/plugin-svgo
        node_modules/@svgr/webpack
          react-scripts  >=2.1.4
          Depends on vulnerable versions of @svgr/webpack
          Depends on vulnerable versions of resolve-url-loader
          node_modules/react-scripts

postcss  <8.4.31
Severity: moderate
PostCSS line return parsing error - https://github.com/advisories/GHSA-7fh5-64p2-3v2j
fix available via `npm audit fix --force`
Will install [email protected], which is a breaking change
node_modules/resolve-url-loader/node_modules/postcss
  resolve-url-loader  0.0.1-experiment-postcss || 3.0.0-alpha.1 - 4.0.0
  Depends on vulnerable versions of postcss
  node_modules/resolve-url-loader

8 vulnerabilities (2 moderate, 6 high)

To address all issues (including breaking changes), run:
  npm audit fix --force

Even after I run npm audit fix --force, it still doesn't work.

from play-.

jpd002 avatar jpd002 commented on May 25, 2024

I tried building with latest Emscripten and I had the same error as you. I fixed that in jpd002/Play--CodeGen@fa491e3, which is now used in master, so, everything should work fine now.

from play-.

CatPeep avatar CatPeep commented on May 25, 2024

Thank you very much for all your time and effort! It all works now.

from play-.

jpd002 avatar jpd002 commented on May 25, 2024

No probs!

from play-.

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.