-
Notifications
You must be signed in to change notification settings - Fork 519
Call to Node module failed with error: '...\ClientApp\dist\main-server' #363
Comments
@SteveSandersonMS This is why I changed those names, seems webpack was changed but these weren't renamed? |
@scy0846 Have you checked that @MarkPieszak I'm not sure what you mean. Can you be specific about what you think has changed and why exactly it's a problem? My best guess is that you're referring to this line from
Are you concerned that the bundle output name |
@SteveSandersonMS You're right, this must of been something I changed unknowingly on my end, apologies! Also I reverted the naming conventions back to the |
|
@scy0846 Thanks for the info. You're running an old version of Node.js that doesn't support arrow functions. For now at least, you'll need Node 4.x or later. |
Actually I'm running 6.7.0 |
@scy0846 I'm not sure how that can be right. Node 6.7.0 does have support for arrow functions, but the error message you've posted is exactly what old versions of Node (0.x) report because they don't support arrow functions. If you run |
I think my last post was an issue with my work machine. Windows says it's 6.7.0, but my terminal says 0.12.2. I think I've got a bigger issue to run down, but it's not your program. Sorry about that. Thank you. I'm going to switch to my personal machine which does show 6.7.0 and see if I can get it to run correctly on that. |
No problem - thanks for confirming! |
yep. Looks like that part was a config mistake. It was using my 32 bit node file. Anyways I'm still getting the original issue with
|
You still haven't run |
Thank you. You are correct. Sorry about that. I was trying to go by the instructions in the blog and missed that I needed to run that. I had to install |
THANK YOU, @SteveSanderson ! |
I'm not sure at this time what's causing it. I'm going to do some more research and figure it out.
I'm using DotNetCore.1.0.1-VS2015Tools.Preview2.0.2.
I have the latest Node and npm installed.
Issue is line 5 of Views\Home\index.cshtml
Removing the
asp-prerender-module="ClientApp/dist/main-server"
gives the following error in the js console.this means webpack is not bundling correctly, which leads me to conclude this is an issue with the webpack config. Still researching.
The text was updated successfully, but these errors were encountered: