-
Notifications
You must be signed in to change notification settings - Fork 516
Error when running webpack webpack.config.vendor.js #653
Comments
Can you verify the version of node / npm installed on your machine?
|
Yes of course:
Same happened on work computer. I really don't know what happened. It worked for month. Great project by the way. Edited:
|
I just installed new project with yo generator and get almost same error.
witch ends with success:
Error:
Hope it helps. |
@MaklaCof The problem is on your work machine? Can you update to the latest Node (7.5.0 at the moment I believe) that'll update your npm and you should be all set. |
Same problem. I tried on both projects (from VS template pack and on YO generated project). Error in YO:
Old project:
I will also try on another (work) computer. |
Same on work computer. |
Hi. Have you tried running it like |
I added three helpers to assist with managing vendors on our project. "generateVendors" : Generates vendors when dependencies are added, updated or removed. It also does the initial vendor creation.
|
I should really start reading my own comments:
I really really apologise everyone for taking your precious time. Again, please execuse me. |
I'm new to the dotnet 2.0 angular template world. What file should this ix go into mentioned above? I have a project that I'm trying to add third party .css and .js files to and can't find documentation for it. Thanks in advance. |
Currently I am using this template. |
@Indyy66: generateVendors": "node node_modules/webpack/bin/webpack.js --config webpack.config.vendor.js && node node_modules/webpack/bin/webpack.js" |
Ok, I found the webpack.config.vendors.js file. Whta I want to know is where to place my custom .css and .js files so that the webpack should pick them up? Should they be in the dist folder under wwwroot or the one under the ClientApp folder? |
On "dotnet watch run" I was getting: WARNING in ./~//.es5.js WARNING in ./~//.es5.js Resolved by "plugins" in webpack.config.vendor.js looking like this:
|
Today I tried to run webpack on my existing project and it failed with error described at the bottom.
I though that I did some mistake that broke webpack, but then I create new ASP.NET Core Angular 2 Starter Application (.NET Core). I install Template pack.
And I get the same error:
The text was updated successfully, but these errors were encountered: