<ComponentName> is not a constructor when nesting components
See original GitHub issue🐛 Bug Report
🎛 Configuration (.svelterc, package.json, cli command)
"devDependencies": {
"parcel-bundler": "^1.8.1",
"parcel-plugin-svelte": "^1.1.6",
"svelte": "^2.7.0"
}
command:
"start": "parcel --log-level 3 ./index.html"
💻 Code Sample
Seems to reproduce every time I edit any part of the project. The first time I start the parcel process, it compiles, and then making a change or stopping + starting the parcel process, causes the project to stop working, and the following error to be shown in the console:
The problem is that to resolve this error so that I can continue working, I need some sort of combination of:
- commenting out its usage in the parent componentre
- deleting it and recreating it
- renaming the component and all its uses to something else
- deleting the
.cache
directory
but there is no definitive combination which appears to fix it. It’s basically impossible to work on my project now.
🌍 Your Environment
See svelte + parcel version above Ubuntu Linux 17.10
Project to reproduce
I’ve created a simple example project.
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Reason for Angular not Rendering My Nested Component?
I am trying to nest two components by writing their Element selector ... export class ServersComponent implements OnInit { constructor() ...
Read more >How to get the class (component's) name in angular. - Medium
Recently i've encountered a problem where i wanted to have a list of different reusable “dynamic” components nested in a wrapper component ......
Read more >Special elements / <svelte:component> • Svelte Tutorial
A component can change its category altogether with <svelte:component> . Instead of a sequence of if blocks... The this value can be any...
Read more >UncaughtThrowable (DiMaWo 0.1 API) - MONTEFIORE - Who is who?
For example, if a component A is nested into a component B (but may be nested ... an UncaughtThrowable in function of given...
Read more >Intent - Android Developers
Implicit Intents have not specified a component; instead, they must include enough information for the system to determine which of the available components...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ow alright I’ll look into it as soon as I get some time
Looks like this works well! Awesome work 🎉