Comments (6)
Problem solved! The missing NuGet Package Manager was the issue. After importing the package the app created successfully.
from learn-lti.
Running into problems when deploy.ps1 reaches step #10. See the error output on the end.
Following is present on the system.
AZ CLI
Microsoft .NET Core SDK 3.1.413 (x64)
Microsoft .NET SDK 5.0.302 )x64)
Node.js 14.17.6
Powershell 5.1.22000.1
Git 2.33Error:
STEP #10 - Installing the backend
PS C:\Code> TerminatingError(): "Errors while building Function App [ AssignmentLearnContent ]"
PS C:\Code> TerminatingError(): "Errors while building Function App [ AssignmentLearnContent ]"I then tried to run publish.ps1. See all output from publish.ps1.
PS C:\Learn-lti\Learn-LTI\deployment> C:\Learn-lti\Learn-LTI\deployment\Publish.ps1
cmdlet Publish.ps1 at command pipeline position 1
Supply values for the following parameters:
ResourceGroupName: MSLearnLTI
AppName: MS-Learn-Lti-Tool-App=============================================================
Gathering Deployment Info
[ 23-9-2021 14:06:18 ] - [INFO] - Validating App Registration
[ 23-9-2021 14:06:18 ] - [INFO] - Validating Resource Group
[ 23-9-2021 14:06:19 ] - [INFO] - Getting Function Apps Info
[ 23-9-2021 14:06:20 ] - [INFO] - Getting Static Website Info=============================================================
Deployment Info Gathered
=============================================================
Installing the backend
[ 23-9-2021 14:06:21 ] - [INFO] - Switching to [../backend] as working directory
[ 23-9-2021 14:06:21 ] - [INFO] - Installing FunctionApp -- AssignmentLearnContent
[ 23-9-2021 14:06:21 ] - [INFO] - Publishing Project [ Edna.AssignmentLearnContent.csproj ] as FunctionApp
[ 23-9-2021 14:06:21 ] - [INFO] - Building [ C:\Learn-lti\Learn-LTI\backend\Functions\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent ] --> [ Artifacts\AssignmentLearnContent ]
[ 23-9-2021 14:06:22 ] - [INFO] - Determining projects to restore...
C:\Learn-lti\Learn-LTI\backend\Utils\Edna.Utils.Linq\Edna.Utils.Linq\Edna.Utils.Linq.csproj : error NU1102: Unable to find package NETStandard.Library with version (>= 2.0.3) [C:\Learn-lti\Learn-LTI\backend\Functions\Edna.AssignmentLearnContent\Edna.Assignme
ntLearnContent\Edna.AssignmentLearnContent.csproj]
C:\Learn-lti\Learn-LTI\backend\Utils\Edna.Utils.Linq\Edna.Utils.Linq\Edna.Utils.Linq.csproj : error NU1102: - Found 1 version(s) in Microsoft Visual Studio Offline Packages [ Nearest version: 1.6.0 ] [C:\Learn-lti\Learn-LTI\backend\Functions\Edna.Assignmen
tLearnContent\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent.csproj]
C:\Learn-lti\Learn-LTI\backend\Functions\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent.csproj : error NU1101: Unable to find package AutoMapper.Extensions.Microsoft.DependencyInjection. No packages exist with this id in
source(s): Microsoft Visual Studio Offline Packages
C:\Learn-lti\Learn-LTI\backend\Functions\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent.csproj : error NU1101: Unable to find package Microsoft.Azure.Functions.Extensions. No packages exist with this id in source(s): Micr
osoft Visual Studio Offline Packages
C:\Learn-lti\Learn-LTI\backend\Utils\Edna.Utils.Http\Edna.Utils.Http\Edna.Utils.Http.csproj : error NU1102: Unable to find package NETStandard.Library with version (>= 2.0.3) [C:\Learn-lti\Learn-LTI\backend\Functions\Edna.AssignmentLearnContent\Edna.Assignme
ntLearnContent\Edna.AssignmentLearnContent.csproj]
C:\Learn-lti\Learn-LTI\backend\Utils\Edna.Utils.Http\Edna.Utils.Http\Edna.Utils.Http.csproj : error NU1102: - Found 1 version(s) in Microsoft Visual Studio Offline Packages [ Nearest version: 1.6.0 ] [C:\Learn-lti\Learn-LTI\backend\Functions\Edna.Assignmen
tLearnContent\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent.csproj]
C:\Learn-lti\Learn-LTI\backend\Bindings\Edna.Bindings.User\Edna.Bindings.User.csproj : error NU1102: Unable to find package NETStandard.Library with version (>= 2.0.3) [C:\Learn-lti\Learn-LTI\backend\Functions\Edna.AssignmentLearnContent\Edna.AssignmentLearn
Content\Edna.AssignmentLearnContent.csproj]
C:\Learn-lti\Learn-LTI\backend\Bindings\Edna.Bindings.User\Edna.Bindings.User.csproj : error NU1102: - Found 1 version(s) in Microsoft Visual Studio Offline Packages [ Nearest version: 1.6.0 ] [C:\Learn-lti\Learn-LTI\backend\Functions\Edna.AssignmentLearnC
ontent\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent.csproj]
C:\Learn-lti\Learn-LTI\backend\Functions\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent.csproj : error NU1101: Unable to find package Microsoft.Azure.WebJobs.Extensions.Storage. No packages exist with this id in source(s)
: Microsoft Visual Studio Offline Packages
C:\Learn-lti\Learn-LTI\backend\Utils\Edna.Utils.Http\Edna.Utils.Http\Edna.Utils.Http.csproj : error NU1101: Unable to find package Microsoft.AspNetCore.Http.Features. No packages exist with this id in source(s): Microsoft Visual Studio Offline Packages [C:\L
earn-lti\Learn-LTI\backend\Functions\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent.csproj]
C:\Learn-lti\Learn-LTI\backend\Bindings\Edna.Bindings.User\Edna.Bindings.User.csproj : error NU1101: Unable to find package Microsoft.Azure.WebJobs.Extensions.Http. No packages exist with this id in source(s): Microsoft Visual Studio Offline Packages [C:\Lea
rn-lti\Learn-LTI\backend\Functions\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent.csproj]
C:\Learn-lti\Learn-LTI\backend\Functions\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent.csproj : error NU1101: Unable to find package Microsoft.Extensions.Http. No packages exist with this id in source(s): Microsoft Visua
l Studio Offline Packages
C:\Learn-lti\Learn-LTI\backend\Utils\Edna.Utils.Http\Edna.Utils.Http\Edna.Utils.Http.csproj : error NU1101: Unable to find package Microsoft.Azure.Services.AppAuthentication. No packages exist with this id in source(s): Microsoft Visual Studio Offline Packag
es [C:\Learn-lti\Learn-LTI\backend\Functions\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent.csproj]
C:\Learn-lti\Learn-LTI\backend\Bindings\Edna.Bindings.User\Edna.Bindings.User.csproj : error NU1101: Unable to find package Microsoft.Extensions.Http. No packages exist with this id in source(s): Microsoft Visual Studio Offline Packages [C:\Learn-lti\Learn-L
TI\backend\Functions\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent.csproj]
C:\Learn-lti\Learn-LTI\backend\Functions\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent.csproj : error NU1101: Unable to find package Microsoft.NET.Sdk.Functions. No packages exist with this id in source(s): Microsoft Vis
ual Studio Offline Packages
C:\Learn-lti\Learn-LTI\backend\Utils\Edna.Utils.Http\Edna.Utils.Http\Edna.Utils.Http.csproj : error NU1101: Unable to find package Microsoft.Extensions.DependencyInjection. No packages exist with this id in source(s): Microsoft Visual Studio Offline Packages
[C:\Learn-lti\Learn-LTI\backend\Functions\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent.csproj]
C:\Learn-lti\Learn-LTI\backend\Bindings\Edna.Bindings.User\Edna.Bindings.User.csproj : error NU1101: Unable to find package Microsoft.AspNetCore.Http.Features. No packages exist with this id in source(s): Microsoft Visual Studio Offline Packages [C:\Learn-lt
i\Learn-LTI\backend\Functions\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent.csproj]
C:\Learn-lti\Learn-LTI\backend\Functions\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent.csproj : error NU1101: Unable to find package Microsoft.Azure.WebJobs.Extensions.Http. No packages exist with this id in source(s): M
icrosoft Visual Studio Offline Packages
C:\Learn-lti\Learn-LTI\backend\Utils\Edna.Utils.Http\Edna.Utils.Http\Edna.Utils.Http.csproj : error NU1101: Unable to find package Microsoft.Extensions.Http. No packages exist with this id in source(s): Microsoft Visual Studio Offline Packages [C:\Learn-lti
Learn-LTI\backend\Functions\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent.csproj]
C:\Learn-lti\Learn-LTI\backend\Functions\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent.csproj : error NU1101: Unable to find package Microsoft.AspNetCore.Http.Features. No packages exist with this id in source(s): Micros
oft Visual Studio Offline Packages
C:\Learn-lti\Learn-LTI\backend\Bindings\Edna.Bindings.User\Edna.Bindings.User.csproj : error NU1101: Unable to find package Microsoft.Azure.Services.AppAuthentication. No packages exist with this id in source(s): Microsoft Visual Studio Offline Packages [C:
Learn-lti\Learn-LTI\backend\Functions\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent.csproj]
C:\Learn-lti\Learn-LTI\backend\Utils\Edna.Utils.Http\Edna.Utils.Http\Edna.Utils.Http.csproj : error NU1101: Unable to find package Microsoft.Extensions.Logging.Abstractions. No packages exist with this id in source(s): Microsoft Visual Studio Offline Package
s [C:\Learn-lti\Learn-LTI\backend\Functions\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent.csproj]
C:\Learn-lti\Learn-LTI\backend\Functions\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent.csproj : error NU1101: Unable to find package Microsoft.Azure.Services.AppAuthentication. No packages exist with this id in source(s)
: Microsoft Visual Studio Offline Packages
C:\Learn-lti\Learn-LTI\backend\Bindings\Edna.Bindings.User\Edna.Bindings.User.csproj : error NU1101: Unable to find package Microsoft.Extensions.DependencyInjection. No packages exist with this id in source(s): Microsoft Visual Studio Offline Packages [C:\Le
arn-lti\Learn-LTI\backend\Functions\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent.csproj]
C:\Learn-lti\Learn-LTI\backend\Utils\Edna.Utils.Http\Edna.Utils.Http\Edna.Utils.Http.csproj : error NU1101: Unable to find package System.IdentityModel.Tokens.Jwt. No packages exist with this id in source(s): Microsoft Visual Studio Offline Packages [C:\Lear
n-lti\Learn-LTI\backend\Functions\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent.csproj]
C:\Learn-lti\Learn-LTI\backend\Functions\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent.csproj : error NU1101: Unable to find package Microsoft.Extensions.DependencyInjection. No packages exist with this id in source(s):
Microsoft Visual Studio Offline Packages
C:\Learn-lti\Learn-LTI\backend\Bindings\Edna.Bindings.User\Edna.Bindings.User.csproj : error NU1101: Unable to find package Microsoft.Extensions.Logging.Abstractions. No packages exist with this id in source(s): Microsoft Visual Studio Offline Packages [C:\L
earn-lti\Learn-LTI\backend\Functions\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent.csproj]
C:\Learn-lti\Learn-LTI\backend\Functions\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent.csproj : error NU1101: Unable to find package Microsoft.Extensions.Logging.Abstractions. No packages exist with this id in source(s):
Microsoft Visual Studio Offline Packages
C:\Learn-lti\Learn-LTI\backend\Bindings\Edna.Bindings.User\Edna.Bindings.User.csproj : error NU1101: Unable to find package System.IdentityModel.Tokens.Jwt. No packages exist with this id in source(s): Microsoft Visual Studio Offline Packages [C:\Learn-lti\L
earn-LTI\backend\Functions\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent.csproj]
C:\Learn-lti\Learn-LTI\backend\Functions\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent.csproj : error NU1101: Unable to find package System.IdentityModel.Tokens.Jwt. No packages exist with this id in source(s): Microsoft
Visual Studio Offline Packages
Failed to restore C:\Learn-lti\Learn-LTI\backend\Utils\Edna.Utils.Http\Edna.Utils.Http\Edna.Utils.Http.csproj (in 94 ms).
Failed to restore C:\Learn-lti\Learn-LTI\backend\Bindings\Edna.Bindings.User\Edna.Bindings.User.csproj (in 94 ms).
Failed to restore C:\Learn-lti\Learn-LTI\backend\Functions\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent\Edna.AssignmentLearnContent.csproj (in 94 ms).
Failed to restore C:\Learn-lti\Learn-LTI\backend\Utils\Edna.Utils.Linq\Edna.Utils.Linq\Edna.Utils.Linq.csproj (in 94 ms).
Errors while building Function App [ AssignmentLearnContent ]
At C:\Learn-lti\Learn-LTI\deployment\Install-Backend.ps1:61 char:9
throw "Errors while building Function App [ $FunctionName ]"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : OperationStopped: (Errors while bu...tLearnContent ]:String) [], RuntimeException
- FullyQualifiedErrorId : Errors while building Function App [ AssignmentLearnContent ]
PS C:\Learn-lti\Learn-LTI\deployment>
from learn-lti.
@renaldo-b so the error looks like your missing
Unable to find package Microsoft.Azure.WebJobs.Extensions.Storage. No packages exist with this id in source(s)
: Microsoft Visual Studio Offline Packages
: Unable to find package NETStandard.Library with version (>= 2.0.3)
So it looks like your missing nuget libraries from your install
.Net Standard Libraries https://www.nuget.org/packages/NETStandard.Library/
Also it looks like your machine doesn't have any Visual Studio tools installed?
If you have Visual Studio Installed on your deployment machine
You could go to Tools -> Options -> NuGet Package Manager -> Package Sources then add a new source link like screenshot below.
BTW, NuGet Package Manager are automatically installed with any .NET-related workloads in VS 2019.
from learn-lti.
@renaldo-b did you reboot your machine also after installing the prerequisites? We have seen these error also if you have NOT rebooted
from learn-lti.
@leestott Forgot to mention, but yes I did reboot my machine several times after the installation.
from learn-lti.
Thanks for the update, glad this was easily sorted.
from learn-lti.
Related Issues (20)
- LTI 1.3 on Open edX Lilac HOT 3
- Enhancement - Deploy script should check and report on prerequisites (ie Azure Command Line) HOT 2
- Deploy.ps1 stops on step 6 HOT 4
- Bad Request -- Microsoft.KeyVault/vaults HOT 1
- Error with basic installation HOT 3
- Azure Moodle Scalable SaaS Solution and Learn-LTI HOT 1
- login.microsoftonline refused to connect HOT 2
- Content selector is empty HOT 2
- help with https://github.com/microsoft/Learn-LTI/blob/main/docs/DEPLOYMENT_GUIDE.md HOT 3
- Does anyone have monthly cost estimates to run the MS Learn LTI solution? HOT 1
- Error while creating Resources in Azure (step 6) HOT 4
- Deployment Failed HOT 2
- Learn-LTI launch page not found HOT 4
- Issue installing client - npm fixup HOT 1
- Outdated CLI Commands HOT 1
- Learn LTI unable to confirm user is enrolled on Module HOT 5
- cannot access the application 'd41fd017-4c7d-4867-ac93-3cac32d3f7a9' HOT 2
- Problems going through this process HOT 3
- Problem on re-deployment HOT 1
- Steps 6 fails - Can not perform requested operation on nested resource HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from learn-lti.