Aspnetcore-angular-universal: Can't Run First asp.net core 2.0 with angular

Created on 5 Sep 2017  路  2Comments  路  Source: TrilonIO/aspnetcore-angular-universal

I have made a new project with asp.net core 2.0 sdk :

dotnet new angular

and it has done completely!
then enter:

npm restart

ok too!
But when I type this command dotnet run I got this error message:

newproject.csproj(34,5): error MSB3073: The command "node node_modules/webpack/bin/webpack.js" exited with code 1.
The build failed. Please fix the build errors and run again.

what should I do??!
Please help me!

Most helpful comment

Just clone this repo.

  1. Run 'npm install'
  2. Run 'npm run build:dev'
  3. Run 'dotnet run'

There is no need to run 'dotnet new angular'

All 2 comments

Just clone this repo.

  1. Run 'npm install'
  2. Run 'npm run build:dev'
  3. Run 'dotnet run'

There is no need to run 'dotnet new angular'

Yes as @Flood was saying, dotnet new angular would create some other repo - not this one :)

Let us know, his steps should get you going!
Clone, install, run

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Gaulomatic picture Gaulomatic  路  26Comments

isaacrlevin picture isaacrlevin  路  24Comments

consigliory picture consigliory  路  18Comments

pjmagee picture pjmagee  路  17Comments

borgotecnologia picture borgotecnologia  路  15Comments