ClientApp/dist and wwwroot/dist files missing after cloning with git #917

Closed
opened 2025-08-09 17:18:10 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @starquake on 3/21/2017

Running project fails because of missing files in ClientApp/dist/* and wwwroot/dist/*

Cannot find module './wwwroot/dist/vendor-manifest.json'
Steps to reproduce:

  • Create a project with dotnet new angular
  • Push it to a git repository
  • Clone the project somewhere else
  • run dotnet restore
  • run npm install
  • run application in development mode, either with visual studio code or VS2017

It can be fixed by doing dotnet publish, but that shouldn't be required, right? And how would I do that in vs2017?

Or am I doing something wrong?

*Originally created by @starquake on 3/21/2017* Running project fails because of missing files in ClientApp/dist/* and wwwroot/dist/* Cannot find module './wwwroot/dist/vendor-manifest.json' Steps to reproduce: - Create a project with dotnet new angular - Push it to a git repository - Clone the project somewhere else - run dotnet restore - run npm install - run application in development mode, either with visual studio code or VS2017 It can be fixed by doing dotnet publish, but that shouldn't be required, right? And how would I do that in vs2017? Or am I doing something wrong?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#917
No description provided.