Skip to content

Hosts plugin fails to activate when installed via NPM #29

Description

@Krxtopher

Describe the bug
Installing the hosts plugin in the BJS Editor using the “Add from NPM…” option does not work.

To Reproduce
Steps to reproduce the behavior:

  1. In the BJS Editor, Select Edit > Preferences... > Plugins
  2. Click Add From NPM...
  3. Enter the package name @aws/aws-tools-for-babylonjs-editor-open-source-hosts-plugin and click OK.
  4. A terminal-like window will open with the following output:
sudo npm i -g @aws/aws-tools-for-babylonjs-editor-open-source-hosts-plugin && exit

exit                                                                            


/  
& exit
Password:
Sorry, try again.
Password:
  1. Enter your local computer admin password and press Enter.
  2. Observe that the NPM install process proceeds and the window automatically closes. (I could not confirm whether the install completed successfully before the window closes.)
  3. Observe that the plugin is not listed as expected in the list of "Available Plugins".

Expected behavior
Plugin should be available and activated after selecting this plugin install option.

Screenshots
n/a

Desktop (please complete the following information):

  • OS: macOS Monterey 12.3.1
  • Browser: n/a
  • Version: Babylon.JS Editor v4.2.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions