You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assertion Failed: A component or helper named "after-server-start" could not be found.
The assertion goes away if you restart the server.
If one does not know that this issue can be solved by a simple server restart, it becomes extremely confusing as to why the error is being thrown in the first place. It is also very inconvenient when working on slightly big applications as you are forced to wait for 20-30 seconds for the server to start each time a new component is generated.
Would love to help you fix this if you help me with where to look :)
The text was updated successfully, but these errors were encountered:
If a component is generated after server startup, it is not being resolved resulting in failed assertions.
Reproduction link - This is basically a "Hello, World!" app. Run
ember server
and then doember g component after-server-start -ir my-engine
.Navigating to http://localhost:4200/my-engine/hello will now throw:
Assertion Failed: A component or helper named "after-server-start" could not be found
.The assertion goes away if you restart the server.
If one does not know that this issue can be solved by a simple server restart, it becomes extremely confusing as to why the error is being thrown in the first place. It is also very inconvenient when working on slightly big applications as you are forced to wait for 20-30 seconds for the server to start each time a new component is generated.
Would love to help you fix this if you help me with where to look :)
The text was updated successfully, but these errors were encountered: