serverless-babel-plugin icon indicating copy to clipboard operation
serverless-babel-plugin copied to clipboard

Error in Windows environment

Open truztee opened this issue 8 years ago • 2 comments

This line (line 70) is causing error on Windows machine since execPath is defined as constant

if (isWin) execPath += '.cmd';

Also at line 63 with no babelPlugins settings defined in the yaml is causing error on Windows

--plugins=${this.serverless.service.custom.babelPlugins.join(',')}

truztee avatar Apr 12 '17 07:04 truztee

I can confirm this also errors out on Mac at 0.2.0.

cereallarceny avatar May 06 '17 18:05 cereallarceny

I have also tested and if fixes the problem on windows 10!!! thank you veeeeery much @truztee and @luthfi !!!

andersonferrari avatar Jul 15 '17 02:07 andersonferrari