Skip to content

Lots of Unable to find package issues while running AZD UP #265

Closed
@Rickcau

Description

@Rickcau

Please provide us with the following information:

This issue is for a: (mark with an x)

- [X] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

  1. Install Powershell version 7+
  2. Clone the Repo, I used VS Community edition to clone but you use the commands in the doc
  3. Launch Powershell version 7+ as administrator
  4. Make sure Docker Desktop is running as administrator
  5. CD into the directory you use to clone the repo
  6. Run azd auth login and select the account to log into Azure with
  7. Run azd env new azure-search-openai-demo-csharp
  8. Run azd up

Any log messages given by the failure

(x) Failed: Packaging service function
ERROR: failed packaging service 'function': failing invoking action 'package', dotnet publish on project 'C:\Users\rickcau.NORTHAMERICA\OneDrive - Microsoft\Documents\GitHub_Repro\ai-rag-blazor\app\functions\EmbedFunctions\EmbedFunctions.csproj' failed: exit code: 1, stdout: MSBuild version 17.8.3+195e7f5a3 for .NET
Determining projects to restore...
C:\Users\rickcau.NORTHAMERICA\OneDrive - Microsoft\Documents\GitHub_Repro\ai-rag-blazor\app\functions\EmbedFunctions\EmbedFunctions.csproj : error NU1101: Unable to find package Azure.AI.FormRecognizer. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages
C:\Users\rickcau.NORTHAMERICA\OneDrive - Microsoft\Documents\GitHub_Repro\ai-rag-blazor\app\functions\EmbedFunctions\EmbedFunctions.csproj : error NU1101: Unable to find package Azure.Search.Documents. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages
C:\Users\rickcau.NORTHAMERICA\OneDrive - Microsoft\Documents\GitHub_Repro\ai-rag-blazor\app\functions\EmbedFunctions\EmbedFunctions.csproj : error NU1101: Unable to find package Azure.Storage.Blobs. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages
C:\Users\rickcau.NORTHAMERICA\OneDrive - Microsoft\Documents\GitHub_Repro\ai-rag-blazor\app\functions\EmbedFunctions\EmbedFunctions.csproj : error NU1101: Unable to find package Azure.AI.OpenAI. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages
C:\Users\rickcau.NORTHAMERICA\OneDrive - Microsoft\Documents\GitHub_Repro\ai-rag-blazor\app\functions\EmbedFunctions\EmbedFunctions.csproj : error NU1101: Unable to find package Azure.Storage.Files.Shares. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages
C:\Users\rickcau.NORTHAMERICA\OneDrive - Microsoft\Documents\GitHub_Repro\ai-rag-blazor\app\functions\EmbedFunctions\EmbedFunctions.csproj : error NU1101: Unable to find package Azure.Storage.Queues. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages
C:\Users\rickcau.NORTHAMERICA\OneDrive - Microsoft\Documents\GitHub_Repro\ai-rag-blazor\app\functions\EmbedFunctions\EmbedFunctions.csproj : error NU1101: Unable to find package Microsoft.Azure.Functions.Worker.Extensions.Storage. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages
C:\Users\rickcau.NORTHAMERICA\OneDrive - Microsoft\Documents\GitHub_Repro\ai-rag-blazor\app\functions\EmbedFunctions\EmbedFunctions.csproj : error NU1101: Unable to find package Microsoft.Azure.Functions.Worker.Sdk. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages
C:\Users\rickcau.NORTHAMERICA\OneDrive - Microsoft\Documents\GitHub_Repro\ai-rag-blazor\app\functions\EmbedFunctions\EmbedFunctions.csproj : error NU1101: Unable to find package Microsoft.Azure.Functions.Worker. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages
C:\Users\rickcau.NORTHAMERICA\OneDrive - Microsoft\Documents\GitHub_Repro\ai-rag-blazor\app\functions\EmbedFunctions\EmbedFunctions.csproj : error NU1101: Unable to find package Microsoft.Extensions.Azure. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages
C:\Users\rickcau.NORTHAMERICA\OneDrive - Microsoft\Documents\GitHub_Repro\ai-rag-blazor\app\functions\EmbedFunctions\EmbedFunctions.csproj : error NU1101: Unable to find package Microsoft.Extensions.Configuration.UserSecrets. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages
C:\Users\rickcau.NORTHAMERICA\OneDrive - Microsoft\Documents\GitHub_Repro\ai-rag-blazor\app\functions\EmbedFunctions\EmbedFunctions.csproj : error NU1101: Unable to find package Pinecone.NET. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages
Restored C:\Users\rickcau.NORTHAMERICA\OneDrive - Microsoft\Documents\GitHub_Repro\ai-rag-blazor\app\shared\Shared\Shared.csproj (in 122 ms).
Failed to restore C:\Users\rickcau.NORTHAMERICA\OneDrive - Microsoft\Documents\GitHub_Repro\ai-rag-blazor\app\functions\EmbedFunctions\EmbedFunctions.csproj (in 158 ms).
, stderr:

Expected/desired behavior

I expect the azd up command to deploy the solution without error

OS and Version?

Window 11

Versions

latest version

Mention any other details that might be useful

Docker Desktop version 4.19, it's working fine as I have two containers running. I am using WSL 2 with Ubuntu

We really need a super simple way to deploy this using both Docker and without. Our customers need the ability to standup these solutions as quickly as possible and honestly, leveraging containers often gets in the way of our customers being able to quick experiment with AI tech and the different patterns that this solution demonstrates.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions