Open orzFly opened 5 years ago
Hi!
Funnily enough someone else reported exactly the same issue just a day before with the same fix. It'll be good with the next release of Harmony :)
I'm preparing to open-source back the core of Harmony, so this should happen less. Cheers!
I am writing a new plugin and I put it at
/Users/USER/Library/Application Support/Harmony/Plugins/node_modules/harmony-USER/index.js
.package.json
is also presented. The plugin won't load at all.Root Cause I Think
In `loadModules`: ``` > const modulesPaths = ["1"] undefined > modulesPaths.concat(["2"]) [ '1', '2' ] > console.log(modulesPaths) [ '1' ] undefined ``` `concat` won't modify the array instance. It returns an new Array. This should be why external plugins are not working at all.