Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task runner fails with ES6 code #48

Closed
crodriguezvega opened this issue Mar 13, 2017 · 2 comments
Closed

Task runner fails with ES6 code #48

crodriguezvega opened this issue Mar 13, 2017 · 2 comments

Comments

@crodriguezvega
Copy link

crodriguezvega commented Mar 13, 2017

Installed product versions

  • Visual Studio: 2015 Professional Update 3
  • This extension: 1.4.81

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
Copy link
Collaborator

See my suggestion to fix it here: #47

@crodriguezvega
Copy link
Author

That solved it. Thank you so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants