madskristensen / NpmTaskRunner

Visual Studio extension
Other
88 stars 32 forks source link

Task runner fails with ES6 code #48

Closed crodriguezvega closed 7 years ago

crodriguezvega commented 7 years ago

Installed product versions

Description

I am trying to set up a Vue.js application with Webpack on Visual Studio 201 and I would like to run NPM tasks using this runner.

Steps to recreate

  1. Create a Vue.js application using the Webpack template; follow the steps here.
  2. Create an empty ASP.NET 4.5.2 web project and add the files created in step number 1.
  3. Run the dev task from the task runner.

Current behavior

When I run an NPM script from the task runner it fails because it cannot recognize some code written with the ES6 syntax. It is basically the same problem as reported here.

Expected behavior

It should run the task. If I run the NPM task from the command line it works fine.

scottaddie commented 7 years ago

See my suggestion to fix it here: https://github.com/madskristensen/NpmTaskRunner/issues/47

crodriguezvega commented 7 years ago

That solved it. Thank you so much!