Problem with dist assets and git #762

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

Originally created by @PeterWone on 5/15/2017

To reproduce

  1. Mint a new project with dotnet new aurelia
  2. Load the project in VS2017 and run it successfully.
  3. Create a git repo then push it to VSTS then pull it to some other location
  4. Use VS2017 to open the project in the folder you just pulled.
  5. Run the project and observe that UseWebpackDevMiddleware barfs because it can't find vendor-manifest.json
  6. Inspect the wwwroot folder and observe that dist is absent.

Workaround

Obtain dist and contents from another project. A freshly minted one will do.

Question

Is there a simple way to cause generation of the dist folder and its contents?

*Originally created by @PeterWone on 5/15/2017* To reproduce --- 1. Mint a new project with `dotnet new aurelia` 1. Load the project in VS2017 and run it successfully. 3. Create a git repo then push it to VSTS then pull it to some other location 1. Use VS2017 to open the project in the folder you just pulled. 1. Run the project and observe that `UseWebpackDevMiddleware` barfs because it can't find `vendor-manifest.json` 1. Inspect the `wwwroot` folder and observe that `dist` is absent. Workaround --- Obtain dist and contents from another project. A freshly minted one will do. Question --- Is there a simple way to cause generation of the dist folder and its contents?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#762
No description provided.