Closed apawsey closed 8 years ago
Out of curiosity, have you already made the VS 2015 External Web Tools change noted here?
No I hadn't seen that :( I have now, and yep, it fixed it! Thank for the enormously quick resolution. On the plus side, I've now got started with learning how to debug node.js packages :)
NodeJS has been updated to the latest and greatest for the ASP.NET Web Tooling RC2 update. When that's available for download you don't have to do this External Web Tools trick again
Shouldn't the external tools just default to finding the globally installed versions, rather than including a specific version themselves? Enabling and disabling the functionality based on the the availability of the tools? At least then the behaviour would never differ inside or outside of visual studio.
Obviously you will have already thought of this, in all the excellent work you've already contributed. Just wondered why this wouldn't work?
@apawsey We're debating it. The problem is that this could break the functionality if people have an old version of node.js or npm installed
Installed product versions
Description
(folder and project names have been changed to protect the stupid - ie: me in case someone above doesn't like me posting details of this project - I've just started at the company).
I am building a solution with Aurelia and Webpack. First time I've used Webpack so, I fiddled repeatedly running builds via the cmd line, until I could understand everything better, and get everything green. Now everything's fine via the cmd line, but when I now tried to run it through the task explorer, I get a messy error.
So my script is defined in my package.json file as this:
"build": "webpack --config webpack.config.js --profile --display-error-details",
(it did include the progress flag, but I removed it after seeing your comment regarding webpack and it not being supported - no change to the issue though).
Running via the cmd line, gives this:
However the output from the task runner is like this:
Steps to recreate
I haven't been able to recreate another test project at the moment. I would be happy to attempt to debug this, although to be honest, I have no idea how you can debug a task runner extension. I will try and research that so I can step through things in a little more detail.
Current behavior
Build fails in context of task runner, when it succeeds outside of Visual Studio environment.
Expected behavior
Build should succeed in task runner.