Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception with all emscripten codes. #117

Open
Pharmhaus-2 opened this issue Apr 14, 2019 · 0 comments
Open

Exception with all emscripten codes. #117

Pharmhaus-2 opened this issue Apr 14, 2019 · 0 comments

Comments

@Pharmhaus-2
Copy link

Original Author: D-a-n-i-l-o

I always get the following exception in Chrome on macOS:

exception thrown: TypeError: Cannot read property 'length' of undefined,TypeError: Cannot read property 'length' of undefined
    at _emscripten_get_num_gamepads (http://localhost:60356/Progressbar_test.js:1:229273)
    at wasm-function[2754]:32
    at wasm-function[2765]:55
    at wasm-function[1354]:273
    at wasm-function[4017]:503
    at wasm-function[2933]:186
    at wasm-function[3192]:25
    at Object._main (http://localhost:60356/Progressbar_test.js:1:385209)
    at Object.callMain (http://localhost:60356/Progressbar_test.js:1:393058)
    at doRun (http://localhost:60356/Progressbar_test.js:1:393734)
Uncaught TypeError: Cannot read property 'length' of undefined
    at _emscripten_get_num_gamepads (Progressbar_test.js:1)
    at wasm-function[2754]:32
    at wasm-function[2765]:55
    at wasm-function[1354]:273
    at wasm-function[4017]:503
    at wasm-function[2933]:186
    at wasm-function[3192]:25
    at Object._main (Progressbar_test.js:1)
    at Object.callMain (Progressbar_test.js:1)
    at doRun (Progressbar_test.js:1)

Same exception with all sources I try to run.
For example Monkey2/modules/mojox/tests/Progressbar_test.monkey2

Emscripten is newest version, installed today.

/SDKs/emsdk/clang/e1.38.22_64bit
/SDKs/emsdk/node/8.9.1_64bit/bin
/SDKs/emsdk/emscripten/1.38.22

I get the same exception with 'wasm' and 'asmjs' target.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant