Can't start locally on Windows 11 #107
-
Hey found this template and think it's a great idea! I cloned the repo and followed the steps outlined in the "setup guide" portion in the main readme. Ultimately, I can't get the plugin/functions to start locally. During setup, When I try to run |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
I'll add that I don't think it has anything to do with |
Beta Was this translation helpful? Give feedback.
-
Hi @mbbentz Thank you for your feedback, very much appreciated. I'll be tidying up the minor item there with the package-lock OS version but taking a look at the main issue.... it seems the reason its spinning is the local app wont properly start, theres an issue with the webpack that seems to be unrelated to this plugin specifically. I created a fresh plugin from start using "twilio flex:plugins:create MySamplePlugin" and then "npm install" and "twilio flex:plugins:start" - i get the same issue, we'll need to see whats going on with the local launcher on windows please let me know if you are seeing the same thing |
Beta Was this translation helpful? Give feedback.
-
Hey @mbbentz Following up on this a little more. I raised an issue on the plugin builder Also, using NVM for windows (guide here) - i tested the latest major versions of node.
it looks like windows has an issue starting the process properly when running it through a wrapper process, whether that is in shell.js or concurrently. I switched the scripts to use npm-run-all so you'll need to take a sync or a fresh clone of the template for start:local:v2 to work on windows. |
Beta Was this translation helpful? Give feedback.
Hey @mbbentz
Following up on this a little more. I raised an issue on the plugin builder
Also, using NVM for windows (guide here) - i tested the latest major versions of node.
it looks like windows has an issue starting the process properly when running it through a wrapper process, whether that is in shell.js or concurrently. I switched the scripts to use npm-run-all so you'll need to take a sync or a fresh clone of the template for start:local:v2 to work on windows.