René's URL Explorer Experiment


Title: Reflect Metadata issue - DI error when build with nativescript-dev-webpack@next - Can't resolve all parameters for Component · Issue #660 · NativeScript/nativescript-dev-webpack · GitHub

Open Graph Title: Reflect Metadata issue - DI error when build with nativescript-dev-webpack@next - Can't resolve all parameters for Component · Issue #660 · NativeScript/nativescript-dev-webpack

X Title: Reflect Metadata issue - DI error when build with nativescript-dev-webpack@next - Can't resolve all parameters for Component · Issue #660 · NativeScript/nativescript-dev-webpack

Description: The issue occurs only when building with next modules, angular and webpack. The CLI build is working as expected while the Webpack build is failing with dependency injection error. The issue is also not reproducible with the master branc...

Open Graph Description: The issue occurs only when building with next modules, angular and webpack. The CLI build is working as expected while the Webpack build is failing with dependency injection error. The issue is als...

X Description: The issue occurs only when building with next modules, angular and webpack. The CLI build is working as expected while the Webpack build is failing with dependency injection error. The issue is als...

Opengraph URL: https://github.com/NativeScript/nativescript-dev-webpack/issues/660

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Reflect Metadata issue - DI error when build with nativescript-dev-webpack@next - Can't resolve all parameters for Component","articleBody":"The issue occurs only when building with next modules, angular and webpack. The CLI build is working as expected while the Webpack build is failing with dependency injection error. The issue is also not reproducible with [the master branch](https://github.com/NickIliev/nativescript-ng-cosmos/blob/master/package.json).\r\n\r\nSteps to reproduce:\r\n- Use [this branch](https://github.com/NickIliev/nativescript-ng-cosmos/tree/niliev/next) from the POC app (tns-core-modules, nativescript-angular and nativescript-dev-webpack set to `next`)\r\n- Build with \r\n```\r\ntns run android --bundle\r\n```\r\n\r\nError log\r\n```\r\n Error: Can't resolve all parameters for LoginComponent: (?, ?, ?, ?).\r\nSystem.err: File: \"file:///data/data/org.nativescript.curiosity/files/app/vendor.js, line: 19242, column: 12\r\nSystem.err:\r\nSystem.err: StackTrace:\r\nSystem.err:     Frame: function:'ZoneAwareError', file:'file:///data/data/org.nativescript.curiosity/files/app/vendor.js', line: 66399, column: 33\r\nSystem.err:     Frame: function:'syntaxError', file:'file:///data/data/org.nativescript.curiosity/files/app/vendor.js', line: 9153, column: 17\r\nSystem.err:     Frame: function:'push.../node_modules/@angular/compiler/fesm5/compiler.js.CompileMetadataResolver._getDependenciesMetadata', file:'file:///data/data/org.nativescript.curiosity/files/app/vendor.js', line: 19054, column: 35\r\nSystem.err:     Frame: function:'push.../node_modules/@angular/compiler/fesm5/compiler.js.CompileMetadataResolver._getTypeMetadata', file:'file:///data/data/org.nativescript.curiosity/files/app/vendor.js', line: 18947, column: 26\r\nSystem.err:     Frame: function:'push.../node_modules/@angular/compiler/fesm5/compiler.js.CompileMetadataResolver.getNonNormalizedDirectiveMetadata', file:'file:///data/data/org.nativescript.curiosity/files/app/vendor.js', line: 18566, column: 24\r\nSystem.err:     Frame: function:'push.../node_modules/@angular/compiler/fesm5/compiler.js.CompileMetadataResolver._getEntryComponentMetadata', file:'file:///data/data/org.nativescript.curiosity/files/app/vendor.js', line: 19150, column: 28\r\nSystem.err:     Frame: function:'', file:'file:///data/data/org.nativescript.curiosity/files/app/vendor.js', line: 19141, column: 31\r\nSystem.err:     Frame: function:'push.../node_modules/@angular/compiler/fesm5/compiler.js.CompileMetadataResolver._getEntryComponentsFromProvider', file:'file:///data/data/org.nativescript.curiosity/files/app/vendor.js', line: 19140, column: 30\r\nSystem.err:     Frame: function:'', file:'file:///data/data/org.nativescript.curiosity/files/app/vendor.js', line: 19113, column: 138\r\nSystem.err:     Frame: function:'push.../node_modules/@angular/compiler/fesm5/compiler.js.CompileMetadataResolver._getProvidersMetadata', file:'file:///data/data/org.nativescript.curiosity/files/app/vendor.js', line: 19076, column: 19\r\nSystem.err:     Frame: function:'', file:'file:///data/data/org.nativescript.curiosity/files/app/vendor.js', line: 19078, column: 23\r\nSystem.err:     Frame: function:'push.../node_modules/@angular/compiler/fesm5/compiler.js.CompileMetadataResolver._getProvidersMetadata', file:'file:///data/data/org.nativescript.curiosity/files/app/vendor.js', line: 19076, column: 19\r\nSystem.err:     Frame: function:'', file:'file:///data/data/org.nativescript.curiosity/files/app/vendor.js', line: 18699, column: 118\r\nSystem.err:     Frame: function:'push.../node_modules/@angular/compiler/fesm5/compiler.js.CompileMetadataResolver.getNgModuleMetadata', file:'file:///data/data/org.nativescript.curiosity/files/app/vendor.js', line: 18690, column: 49\r\nSystem.err:     Frame: function:'push.../node_modules/@angular/compiler/fesm5/compiler.js.CompileMetadataResolver.getNgModuleSummary', file:'file:///data/data/org.nativescript.curiosity/files/app/vendor.js', line: 18625, column: 35\r\nSystem.err:     Frame: function:'', file:'file:///data/data/org.nativescript.curiosity/files/app/vendor.js', line: 18712, column: 55\r\nSystem.err:     Frame: function:'push.../node_modules/@angular/compiler/fesm5/compiler.js.CompileMetadataResolver.getNgModuleMetadata', file:'file:///data/data/org.nativescript.curiosity/files/app/vendor.js', line: 18690, column: 49\r\nSystem.err:     Frame: function:'push.../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._loadModules', file:'file:///data/data/org.nativescript.curiosity/files/app/vendor.js', line: 32008, column: 51\r\nSystem.err:     Frame: function:'push.../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler._compileModuleAndComponents', file:'file:///data/data/org.nativescript.curiosity/files/app/vendor.js', line: 31989, column: 36\r\nSystem.err:     Frame: function:'push.../node_modules/@angular/compiler/fesm5/compiler.js.JitCompiler.compileModuleAsync', file:'file:///data/data/org.nativescript.curiosity/files/app/vendor.js', line: 31949, column: 37\r\nSystem.err:     Frame: function:'push.../node_modules/@angular/platform-browser-dynamic/fesm5/platform-browser-dynamic.js.CompilerImpl.compileModuleAsync', file:'file:///data/data/org.nativescript.curiosity/files/app/vendor.js', line: 51976, column: 31\r\nSystem.err:     Frame: function:'push.../node_modules/@angular/core/fesm5/core.js.PlatformRef.bootstrapModule', file:'file:///data/data/org.nativescript.curiosity/files/app/vendor.js', line: 37439, column: 25\r\nSystem.err:     Frame: function:'_bootstrapper', file:'file:///data/data/org.nativescript.curiosity/files/app/vendor.js', line: 62152, column: 66\r\nSystem.err:     Frame: function:'', file:'file:///data/data/org.nativescript.curiosity/files/app/vendor.js', line: 62209, column: 19\r\nSystem.err:     Frame: function:'push.../node_modules/tns-core-modules/data/observable/observable.js.Observable.notify', file:'file:///data/data/org.nativescript.curiosity/files/app/vendor.js', line: 88956, column: 23\r\nSystem.err:     Frame: function:'notifyLaunch', file:'file:///data/data/org.nativescript.curiosity/files/app/vendor.js', line: 106608, column: 17\r\nSystem.err:     Frame: function:'push.../node_modules/tns-core-modules/ui/frame/frame.js.ActivityCallbacksImplementation.setActivityContent', file:'file:///data/data/org.nativescript.curiosity/files/app/vendor.js', line: 106541, column: 28\r\nSystem.err:     Frame: function:'push.../node_modules/tns-core-modules/ui/frame/frame.js.ActivityCallbacksImplementation.onCreate', file:'file:///data/data/org.nativescript.curiosity/files/app/vendor.js', line: 106415, column: 14\r\nSystem.err:     Frame: function:'push.../node_modules/tns-core-modules/ui/frame/activity.js.NativeScriptActivity.onCreate', file:'file:///data/data/org.nativescript.curiosity/files/app/vendor.js', line: 104505, column: 25\r\n```\r\n\r\n","author":{"url":"https://github.com/NickIliev","@type":"Person","name":"NickIliev"},"datePublished":"2018-09-17T06:56:00Z","url":"https://github.com/NativeScript/nativescript-dev-webpack/issues/660"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:3ebdd1e0-df59-6a91-b15d-200dd0195599
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE88E:1EF2:F75F5E:1569B87:6B0045E3
html-safe-nonce89de9e05cb4d10fda0bfb9f81547a39617ea6ebea8b16b618f9d1d8aba13b936
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFODhFOjFFRjI6Rjc1RjVFOjE1NjlCODc6NkIwMDQ1RTMiLCJ2aXNpdG9yX2lkIjoiNTY1MjQ1MzgwNDAzODE3ODI3NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac8dc0917e7eec381caed829614126e54a90405cf5a4a73344be3a6beee81d2c86
hovercard-subject-tagissue:360742921
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/NativeScript/nativescript-dev-webpack/660/issue_layout
twitter:imagehttps://opengraph.githubassets.com/2e2cba247be4042b9572be772a046ec2a87cdd7fb9c512548923ccc9f65675df/NativeScript/nativescript-dev-webpack/issues/660
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2e2cba247be4042b9572be772a046ec2a87cdd7fb9c512548923ccc9f65675df/NativeScript/nativescript-dev-webpack/issues/660
og:image:altThe issue occurs only when building with next modules, angular and webpack. The CLI build is working as expected while the Webpack build is failing with dependency injection error. The issue is als...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameNickIliev
hostnamegithub.com
expected-hostnamegithub.com
None7d0829bbde9e48b2486cb5dd6d147896eb01d32134627091f818958a935ef3f0
turbo-cache-controlno-preview
go-importgithub.com/NativeScript/nativescript-dev-webpack git https://github.com/NativeScript/nativescript-dev-webpack.git
octolytics-dimension-user_id7392261
octolytics-dimension-user_loginNativeScript
octolytics-dimension-repository_id54984270
octolytics-dimension-repository_nwoNativeScript/nativescript-dev-webpack
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id54984270
octolytics-dimension-repository_network_root_nwoNativeScript/nativescript-dev-webpack
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
releasef3f3a43ca095cdea3abbb394112e971f9fdb94fa
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/NativeScript/nativescript-dev-webpack/issues/660#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2Fnativescript-dev-webpack%2Fissues%2F660
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2Fnativescript-dev-webpack%2Fissues%2F660
Sign uphttps://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=NativeScript%2Fnativescript-dev-webpack
Reloadhttps://github.com/NativeScript/nativescript-dev-webpack/issues/660
Reloadhttps://github.com/NativeScript/nativescript-dev-webpack/issues/660
Reloadhttps://github.com/NativeScript/nativescript-dev-webpack/issues/660
NativeScripthttps://github.com/NativeScript
nativescript-dev-webpackhttps://github.com/NativeScript/nativescript-dev-webpack
Codehttps://github.com/NativeScript/nativescript-dev-webpack
Issues82 (82)https://github.com/NativeScript/nativescript-dev-webpack/issues
Pull requests3 (3)https://github.com/NativeScript/nativescript-dev-webpack/pulls
Actionshttps://github.com/NativeScript/nativescript-dev-webpack/actions
Security and qualityhttps://github.com/NativeScript/nativescript-dev-webpack/security
Insightshttps://github.com/NativeScript/nativescript-dev-webpack/insights
https://github.com/NativeScript/nativescript-dev-webpack
Reflect Metadata issue - DI error when build with nativescript-dev-webpack@next - Can't resolve all parameters for Componenthttps://github.com/NativeScript/nativescript-dev-webpack/issues/660#top
backloghttps://github.com/NativeScript/nativescript-dev-webpack/issues?q=state%3Aopen%20label%3A%22backlog%22
bughttps://github.com/NativeScript/nativescript-dev-webpack/issues?q=state%3Aopen%20label%3A%22bug%22
nextThe problem is only with a prerelease version.https://github.com/NativeScript/nativescript-dev-webpack/issues?q=state%3Aopen%20label%3A%22next%22
https://github.com/NickIliev
NickIlievhttps://github.com/NickIliev
on Sep 17, 2018https://github.com/NativeScript/nativescript-dev-webpack/issues/660#issue-360742921
the master branchhttps://github.com/NickIliev/nativescript-ng-cosmos/blob/master/package.json
this branchhttps://github.com/NickIliev/nativescript-ng-cosmos/tree/niliev/next
NickIlievhttps://github.com/NickIliev
bughttps://github.com/NativeScript/nativescript-dev-webpack/issues?q=state%3Aopen%20label%3A%22bug%22
nextThe problem is only with a prerelease version.https://github.com/NativeScript/nativescript-dev-webpack/issues?q=state%3Aopen%20label%3A%22next%22
on Sep 17, 2018https://github.com/NativeScript/nativescript-dev-webpack/issues/660#event-1848932021
https://github.com/NickIliev
NickIlievhttps://github.com/NickIliev
on Sep 18, 2018https://github.com/NativeScript/nativescript-dev-webpack/issues/660#issuecomment-422559662
this commithttps://github.com/NativeScript/nativescript-angular/commit/2033f4410385333c9e3b764a9ba67ccec1a34e0b
https://github.com/NickIliev
NickIlievhttps://github.com/NickIliev
on Sep 19, 2018https://github.com/NativeScript/nativescript-dev-webpack/issues/660#issuecomment-422711983
tsonevnhttps://github.com/tsonevn
backloghttps://github.com/NativeScript/nativescript-dev-webpack/issues?q=state%3Aopen%20label%3A%22backlog%22
on Sep 25, 2018https://github.com/NativeScript/nativescript-dev-webpack/issues/660#event-1865000030
NickIlievhttps://github.com/NickIliev
on Oct 2, 2018https://github.com/NativeScript/nativescript-dev-webpack/issues/660#event-1878509921
https://github.com/vchimev
vchimevhttps://github.com/vchimev
on Jan 16, 2019https://github.com/NativeScript/nativescript-dev-webpack/issues/660#issuecomment-454746292
NativeScript/nativescript-angular#1530https://github.com/NativeScript/nativescript-angular/pull/1530
vchimevhttps://github.com/vchimev
completedhttps://github.com/NativeScript/nativescript-dev-webpack/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Jan 16, 2019https://github.com/NativeScript/nativescript-dev-webpack/issues/660#event-2077140582
Sign up for freehttps://github.com/signup?return_to=https://github.com/NativeScript/nativescript-dev-webpack/issues/660
Sign in to commenthttps://github.com/login?return_to=https://github.com/NativeScript/nativescript-dev-webpack/issues/660
backloghttps://github.com/NativeScript/nativescript-dev-webpack/issues?q=state%3Aopen%20label%3A%22backlog%22
bughttps://github.com/NativeScript/nativescript-dev-webpack/issues?q=state%3Aopen%20label%3A%22bug%22
nextThe problem is only with a prerelease version.https://github.com/NativeScript/nativescript-dev-webpack/issues?q=state%3Aopen%20label%3A%22next%22
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.