René's URL Explorer Experiment


Title: Producing a working SpaServices NuGet package · Issue #261 · aspnet/JavaScriptServices · GitHub

Open Graph Title: Producing a working SpaServices NuGet package · Issue #261 · aspnet/JavaScriptServices

X Title: Producing a working SpaServices NuGet package · Issue #261 · aspnet/JavaScriptServices

Description: I am unable to create a working NuGet package for SpaServices locally on my Windows machine (tried dev and master branches). Following a dotnet restore, I am running the following from both NodeServices and SpaServices directories. dotne...

Open Graph Description: I am unable to create a working NuGet package for SpaServices locally on my Windows machine (tried dev and master branches). Following a dotnet restore, I am running the following from both NodeSer...

X Description: I am unable to create a working NuGet package for SpaServices locally on my Windows machine (tried dev and master branches). Following a dotnet restore, I am running the following from both NodeSer...

Opengraph URL: https://github.com/aspnet/JavaScriptServices/issues/261

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Producing a working SpaServices NuGet package","articleBody":"I am unable to create a working NuGet package for `SpaServices` locally on my Windows machine (tried dev and master branches). Following a `dotnet restore`, I am running the following from both `NodeServices` and `SpaServices` directories.\n\n``` bash\ndotnet pack -c Release --version-suffix custom-1 -o /c/dev/nuget\n```\n\nIn my project, `SpaServices` will successfully upgrade from the official package to my custom version (with as yet unchanged source), however the next `dotnet run` fails at `UseWebpackDevMiddleware()` with the exception below. I've checked my cache in ~/.nuget and everything appears to be in order with the package.\n\n```\nUnhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---\u003e System.AggregateException: One or more errors occurred. (Call to Node module failed with error: Error: Cannot find module 'C:\\Users\\Matt\\AppData\\Local\\Temp\\tmp2C5.tmp'\n    at Function.Module._resolveFilename (module.js:440:15)\n    at Function.Module._load (module.js:388:25)\n    at Module.require (module.js:468:17)\n    at require (internal/module.js:20:19)\n    at C:\\Users\\Matt\\AppData\\Local\\Temp\\tmp382.tmp:104:34\n    at IncomingMessage.\u003canonymous\u003e (C:\\Users\\Matt\\AppData\\Local\\Temp\\tmp382.tmp:128:35)\n    at emitNone (events.js:86:13)\n    at IncomingMessage.emit (events.js:185:7)\n    at endReadableNT (_stream_readable.js:973:12)\n    at _combinedTickCallback (internal/process/next_tick.js:74:11)) ---\u003e System.Exception: Call to Node module failed with error: Error: Cannot find module 'C:\\Users\\Matt\\AppData\\Local\\Temp\\tmp2C5.tmp'\n    at Function.Module._resolveFilename (module.js:440:15)\n    at Function.Module._load (module.js:388:25)\n    at Module.require (module.js:468:17)\n    at require (internal/module.js:20:19)\n    at C:\\Users\\Matt\\AppData\\Local\\Temp\\tmp382.tmp:104:34\n    at IncomingMessage.\u003canonymous\u003e (C:\\Users\\Matt\\AppData\\Local\\Temp\\tmp382.tmp:128:35)\n    at emitNone (events.js:86:13)\n    at IncomingMessage.emit (events.js:185:7)\n    at endReadableNT (_stream_readable.js:973:12)\n    at _combinedTickCallback (internal/process/next_tick.js:74:11)\n   at Microsoft.AspNetCore.NodeServices.HostingModels.HttpNodeInstance.\u003cInvokeExportAsync\u003ed__7`1.MoveNext()\n--- End of stack trace from previous location where exception was thrown ---\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\n   at Microsoft.AspNetCore.NodeServices.HostingModels.OutOfProcessNodeInstance.\u003cInvokeExportAsync\u003ed__12`1.MoveNext()\n\n--- End of stack trace from previous location where exception was thrown ---\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\n   at Microsoft.AspNetCore.NodeServices.NodeServicesImpl.\u003cInvokeExportWithPossibleRetryAsync\u003ed__9`1.MoveNext()\n   --- End of inner exception stack trace ---\n   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)\n   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)\n   at Microsoft.AspNetCore.Builder.WebpackDevMiddleware.UseWebpackDevMiddleware(IApplicationBuilder appBuilder, WebpackDevMiddlewareOptions options)\n   at Trainline.ContactCentre.Host.Startup.Configure(IApplicationBuilder app, IHostingEnvironment env)\n   --- End of inner exception stack trace ---\n   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)\n\n   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)\n   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)\n   at Microsoft.AspNetCore.Hosting.Internal.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)\n   at Microsoft.AspNetCore.Hosting.Internal.WebHost.BuildApplication()\n   at Microsoft.AspNetCore.Hosting.WebHostBuilder.Build()\n   at Trainline.ContactCentre.Host.Program.Main(String[] args)\n```\n\nFrom Startup.cs:\n\n``` csharp\napp.UseWebpackDevMiddleware(new WebpackDevMiddlewareOptions\n{\n    HotModuleReplacement = true,\n    ReactHotModuleReplacement = true\n});\n```\n\nMy packages.json:\n\n``` json\n{\n  \"version\": \"0.1.0\",\n  \"buildOptions\": {\n    \"debugType\": \"portable\",\n    \"emitEntryPoint\": true,\n    \"preserveCompilationContext\": true\n  },\n  \"dependencies\": {\n    \"Microsoft.AspNetCore.Diagnostics\": \"1.0.0\",\n    \"Microsoft.AspNetCore.Mvc\": \"1.0.0\",\n    \"Microsoft.AspNetCore.Server.Kestrel\": \"1.0.0\",\n    \"Microsoft.AspNetCore.SpaServices\": \"1.0.0-custom-1\",\n    \"Microsoft.AspNetCore.StaticFiles\": \"1.0.0\",\n    \"Microsoft.Extensions.Configuration.CommandLine\": \"1.0.0\",\n    \"Microsoft.Extensions.Configuration.EnvironmentVariables\": \"1.0.0\"\n  },\n  \"frameworks\": {\n    \"netcoreapp1.0\": {\n      \"dependencies\": {\n        \"Microsoft.NETCore.App\": {\n          \"type\": \"platform\",\n          \"version\": \"1.0.0\"\n        }\n      },\n      \"imports\": \"dnxcore50\"\n    }\n  }\n}\n```\n","author":{"url":"https://github.com/mattwcole","@type":"Person","name":"mattwcole"},"datePublished":"2016-08-14T22:02:00.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/261/JavaScriptServices/issues/261"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:ba23c1be-62d2-7595-2ab3-c5bdc553598c
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE07A:14F335:5501D44:6EEC485:69751F8A
html-safe-noncebf7b82cf558bd2946310b492cb4c7b538285f1615318098df27111d9292abcb4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMDdBOjE0RjMzNTo1NTAxRDQ0OjZFRUM0ODU6Njk3NTFGOEEiLCJ2aXNpdG9yX2lkIjoiNjE2NTE5NTE1MTY1NjY4OTU0NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac3838a7d27fcc1104f139523c34a0709e612c7f76719c499a15a173b9d769576c
hovercard-subject-tagissue:171081288
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/aspnet/JavaScriptServices/261/issue_layout
twitter:imagehttps://opengraph.githubassets.com/c4161f9338567ded714fe09d015ea791a13f74ed96fc8f56c7af2691143a4a8e/aspnet/JavaScriptServices/issues/261
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c4161f9338567ded714fe09d015ea791a13f74ed96fc8f56c7af2691143a4a8e/aspnet/JavaScriptServices/issues/261
og:image:altI am unable to create a working NuGet package for SpaServices locally on my Windows machine (tried dev and master branches). Following a dotnet restore, I am running the following from both NodeSer...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemattwcole
hostnamegithub.com
expected-hostnamegithub.com
None4a4bf5f4e28041a9d2e5c107d7d20b78b4294ba261cab243b28167c16a623a1f
turbo-cache-controlno-preview
go-importgithub.com/aspnet/JavaScriptServices git https://github.com/aspnet/JavaScriptServices.git
octolytics-dimension-user_id6476660
octolytics-dimension-user_loginaspnet
octolytics-dimension-repository_id45365298
octolytics-dimension-repository_nwoaspnet/JavaScriptServices
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id45365298
octolytics-dimension-repository_network_root_nwoaspnet/JavaScriptServices
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release488b30e96dfd057fbbe44c6665ccbc030b729dde
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/aspnet/JavaScriptServices/issues/261#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Faspnet%2FJavaScriptServices%2Fissues%2F261
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Faspnet%2FJavaScriptServices%2Fissues%2F261
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=aspnet%2FJavaScriptServices
Reloadhttps://github.com/aspnet/JavaScriptServices/issues/261
Reloadhttps://github.com/aspnet/JavaScriptServices/issues/261
Reloadhttps://github.com/aspnet/JavaScriptServices/issues/261
aspnet https://github.com/aspnet
JavaScriptServiceshttps://github.com/aspnet/JavaScriptServices
Notifications https://github.com/login?return_to=%2Faspnet%2FJavaScriptServices
Fork 517 https://github.com/login?return_to=%2Faspnet%2FJavaScriptServices
Star 3k https://github.com/login?return_to=%2Faspnet%2FJavaScriptServices
Code https://github.com/aspnet/JavaScriptServices
Issues 0 https://github.com/aspnet/JavaScriptServices/issues
Pull requests 0 https://github.com/aspnet/JavaScriptServices/pulls
Projects 0 https://github.com/aspnet/JavaScriptServices/projects
Wiki https://github.com/aspnet/JavaScriptServices/wiki
Security 0 https://github.com/aspnet/JavaScriptServices/security
Insights https://github.com/aspnet/JavaScriptServices/pulse
Code https://github.com/aspnet/JavaScriptServices
Issues https://github.com/aspnet/JavaScriptServices/issues
Pull requests https://github.com/aspnet/JavaScriptServices/pulls
Projects https://github.com/aspnet/JavaScriptServices/projects
Wiki https://github.com/aspnet/JavaScriptServices/wiki
Security https://github.com/aspnet/JavaScriptServices/security
Insights https://github.com/aspnet/JavaScriptServices/pulse
Producing a working SpaServices NuGet packagehttps://github.com/aspnet/JavaScriptServices/issues/261#top
https://github.com/mattwcole
https://github.com/mattwcole
mattwcolehttps://github.com/mattwcole
on Aug 14, 2016https://github.com/aspnet/JavaScriptServices/issues/261#issue-171081288
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.