Skip to content

Javascript extensions not working #584

@Wend1go

Description

@Wend1go

Describe the bug

The JavaScript extension example which is bundled with the newIDE raises an error when it gets included and isn't working.
Also a very simple JavaScript test extension based on the working Facebook extension shows the same error.

To Reproduce

  1. Run import-GDJS-Runtime.js as described in README-extensions.md. (The files indeed get copied)
  2. Start the dev server (run yarn/npm) and run the newIDE as Electron application
  3. In the IDE open the developer console. It shows the following error and the extension is not usable.
    https://imgur.com/a/2JoDHjY

Other details

@blurymind couldn't get to run any JavaScript extensions either.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions