The instructions above got me most of the way there, but I think there were a few important points that were missed.
Running in the development environment requires the use of ember-cli.
The Ubuntu 18.04 LTS distribution used along with WSL2 does not come packaged with node 14 and ember-cli complains with the prepackaged node version of 10.something. I had to update node which google was kind enough to provide the instructions for.
curl -sL https://deb.nodesource.com/setup_14.x | sudo bash -
sudo apt -y install nodejs
node -v verified the proper version.
Once I was able to get ember-cli to run properly, you still need to run the rails server itself alongside ember-cli. So I have two terminals open, one running
bin/ember-cli the other running
I could not get a plugin to work properly using ember-cli. It would continually fail with
I presume that has something to do with ember-cli and how it’s packaging, or not, files in plugin directories?
I did discover that I could bypass ember-cli entirely by setting
NO_EMBER_CLI=1 in the environment. Once I did that, the plugin started working correctly. And you no longer have to run ember-cli and proxy over to the rails server.
Is there something special, or something broken, regarding the interplay of plugins and ember-cli?