Giter Site home page Giter Site logo

Comments (10)

damienbod avatar damienbod commented on May 16, 2024

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.

alexey-gorshkov avatar alexey-gorshkov commented on May 16, 2024

Problem build and run project ResourceWithIdentityServerWithClient. VS 2015 update3.
default

from aspnet6identityserver4angularoidcflows.

damienbod avatar damienbod commented on May 16, 2024

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.

damienbod avatar damienbod commented on May 16, 2024

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.

yhdkzy avatar yhdkzy commented on May 16, 2024

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, ImmutableDictionary2 previousVersion, ImmutableList1 recentItemRenames, ImmutableHashSet1& addedItems, ImmutableHashSet1& removedItems, ImmutableHashSet1& changedItems, ImmutableDictionary2& renamedItems) 在 Microsoft.VisualStudio.ProjectSystem.Designers.ProjectEvaluationSubscriptionService.UpdateRuleSnapshotCore(IProjectVersionedValue1 source, String ruleName, IRule rule, ImmutableDictionary2 items, ImmutableDictionary2 properties, ImmutableList1 recentItemRenames, IProjectChangeDiff& diff) 在 Microsoft.VisualStudio.ProjectSystem.Designers.ProjectRuleSubscriptionServiceBase1.UpdateSnapshotCoreAsync(TSource source, IImmutableSet1 subscribedElements, IProjectVersionedValue1 previousResult)
在 Microsoft.VisualStudio.ProjectSystem.Designers.CustomizableBlockSubscriberBase`3.d__28.MoveNext()

qq 20170316170916
qq 20170316173839

from aspnet6identityserver4angularoidcflows.

damienbod avatar damienbod commented on May 16, 2024

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.

yhdkzy avatar yhdkzy commented on May 16, 2024

Hi @damienbod , i can build now. How do I run and test? I am a novice. Thanks

from aspnet6identityserver4angularoidcflows.

damienbod avatar damienbod commented on May 16, 2024

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.

dgouissem avatar dgouissem commented on May 16, 2024

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.

damienbod avatar damienbod commented on May 16, 2024

closing this, please reopen if it is still an issue

from aspnet6identityserver4angularoidcflows.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.