Comments (10)
Hi @j-nord
have you a problem with the restore? The NuGet server might not be active in your VS
Try from the command line
$ dotnet restore
$ npm install
If this is ok, then
dotnet build
npm run build-production
Greeetings Damien
from aspnet6identityserver4angularoidcflows.
Problem build and run project ResourceWithIdentityServerWithClient. VS 2015 update3.
from aspnet6identityserver4angularoidcflows.
looks like something is wrong with your nodejs and npm
Download the latest version and install
then
$ npm install -g npm@latest
Go the the project folder
$ npm install
$ npm run build-production
Greetings Damien
from aspnet6identityserver4angularoidcflows.
VS215 version is now on this branch
https://github.com/damienbod/AspNet5IdentityServerAngularImplicitFlow/tree/VS2015_project_json
Have you found out if the client APP builds from the command lien. If it does, then you need to configure the nose stuf in VS2015. If it doesn't build, then you need to install the node stuff
Greetings Damien
from aspnet6identityserver4angularoidcflows.
The first open error
vs2015 update3
=====================
2017/3/16 17:08:25
Crippling
System.AggregateException: 发生一个或多个错误。 ---> System.InvalidOperationException: The source completed without providing data to receive.
在 System.Threading.Tasks.Dataflow.Internal.Common.InitializeStackTrace(Exception exception)
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
在 Microsoft.VisualStudio.ProjectSystem.Utilities.Designers.ProjectDataSources.<>c__DisplayClass14_0.<b__0>d.MoveNext()
--- 内部异常堆栈跟踪的结尾 ---
---> (内部异常 #0) System.InvalidOperationException: The source completed without providing data to receive.
在 System.Threading.Tasks.Dataflow.Internal.Common.InitializeStackTrace(Exception exception)
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
在 Microsoft.VisualStudio.ProjectSystem.Utilities.Designers.ProjectDataSources.<>c__DisplayClass14_0.<b__0>d.MoveNext()<---
---> (内部异常 #1) System.InvalidOperationException: 无法将项元数据“%(FullPath)”应用于路径“wwwroot\lib\bootstrap\dist\fonts\glyphicons-halflings-regular.eot”。D:\work\dl_yhd\project\Demo\guanfang\AspNet5IdentityServerAngularImplicitFlow-VS2015_project_json\AspNet5IdentityServerAngularImplicitFlow-VS2015_project_json\src\IdentityServerWithIdentitySQLite\wwwroot\lib\bootstrap\dist\fonts\glyphicons-halflings-regular.eot
在 Microsoft.Build.Shared.ErrorUtilities.ThrowInvalidOperation(String resourceName, Object[] args)
在 Microsoft.Build.Shared.ErrorUtilities.VerifyThrowInvalidOperation(Boolean condition, String resourceName, Object arg0, Object arg1, Object arg2)
在 Microsoft.Build.Shared.FileUtilities.ItemSpecModifiers.GetItemSpecModifier(String currentDirectory, String itemSpec, String definingProjectEscaped, String modifier, String& fullPath)
在 Microsoft.Build.Evaluation.BuiltInMetadata.GetMetadataValueEscaped(String currentDirectory, String evaluatedIncludeBeforeWildcardExpansionEscaped, String evaluatedIncludeEscaped, String definingProjectEscaped, String name, String& fullPath)
在 Microsoft.Build.Execution.ProjectItemInstance.TaskItem.GetBuiltInMetadataEscaped(String name)
在 Microsoft.Build.Execution.ProjectItemInstance.TaskItem.GetMetadataEscaped(String metadataName)
在 Microsoft.Build.Execution.ProjectItemInstance.TaskItem.GetMetadata(String metadataName)
在 Microsoft.VisualStudio.ProjectSystem.ProjectInstanceItemProperties.GetEvaluatedPropertyValueAsync(String propertyName)
在 Microsoft.VisualStudio.ProjectSystem.PropertyPages.PageRuleBase.GetPropertyValueAsync(String propertyName)
在 Microsoft.VisualStudio.ProjectSystem.Designers.ProjectEvaluationSubscriptionService.GetItemMetadata(IImmutableDictionary2 basis, IRule rule) 在 Microsoft.VisualStudio.ProjectSystem.Designers.ProjectEvaluationSubscriptionService.BuildItemsSnapshot(IRule rule, IProjectCatalogSnapshot projectCatalogSnapshot, ImmutableDictionary
2 previousVersion, ImmutableList1 recentItemRenames, ImmutableHashSet
1& addedItems, ImmutableHashSet1& removedItems, ImmutableHashSet
1& changedItems, ImmutableDictionary2& renamedItems) 在 Microsoft.VisualStudio.ProjectSystem.Designers.ProjectEvaluationSubscriptionService.UpdateRuleSnapshotCore(IProjectVersionedValue
1 source, String ruleName, IRule rule, ImmutableDictionary2 items, ImmutableDictionary
2 properties, ImmutableList1 recentItemRenames, IProjectChangeDiff& diff) 在 Microsoft.VisualStudio.ProjectSystem.Designers.ProjectRuleSubscriptionServiceBase
1.UpdateSnapshotCoreAsync(TSource source, IImmutableSet1 subscribedElements, IProjectVersionedValue
1 previousResult)
在 Microsoft.VisualStudio.ProjectSystem.Designers.CustomizableBlockSubscriberBase`3.d__28.MoveNext()
from aspnet6identityserver4angularoidcflows.
Hi @yhdkzy You can't build the Angular2Client project, correct?
try from the command line as a test.
Change to the project directory and delete everything from the node_modules folder
npm install
npm run build-production
dotnet restore
dotnet build
Greetings Damien
from aspnet6identityserver4angularoidcflows.
Hi @damienbod , i can build now. How do I run and test? I am a novice. Thanks
from aspnet6identityserver4angularoidcflows.
2 ways. From the console
npm install
npm run build-production
dotnet restore
dotnet run
If this works then you can try from VS, problem here is that the wrong Node.js version is used per default. You need to use the node.js installed directly and not that from VS.
Greetings Damien
from aspnet6identityserver4angularoidcflows.
Hello,
I'm getting below error when trying to start all the projects in the solution thru the run IIS Express commande in VS 2017:
unable to connect to web server iis express
Any clues to resolve this issue,
Thank you
from aspnet6identityserver4angularoidcflows.
closing this, please reopen if it is still an issue
from aspnet6identityserver4angularoidcflows.
Related Issues (20)
- Internal Error message localization HOT 3
- Question: Implicit Flow HOT 5
- ShowRecoveryCodesViewModel localization HOT 5
- ExternalLoginFailure localization of title HOT 1
- Webpack dev server high cpu and memory HOT 1
- How to send token from API to another HOT 1
- Single signon login form localization HOT 2
- Authorize Attribute with Roles Not Working for new JWT Tokens. HOT 1
- License? HOT 1
- Integration With Skoruba Admin HOT 1
- Commit 22ae2223
- the modules of "node-sass" can't be installed 。 HOT 1
- samesite flag chrome issue HOT 2
- Silent Sign in
- CodeFlow example HOT 1
- Checking against a mix of roles/claims HOT 2
- sign in
- Angular App not running HOT 3
- Move Angular projects to CLI
- Accidentally Opened Issue
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 aspnet6identityserver4angularoidcflows.