-
Notifications
You must be signed in to change notification settings - Fork 12k
CLI force me to have bootstrapModule in my main module #6466
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
|
Can you try setting The error message tells half of the story: |
@dherges what do you mean by webpack config? I do not have any Webpack file at all. I am using |
The CLI is currently only intended for the creation of web applications. However, library creation support is planned for a future release. |
@clydin is there any issue related to that? I want to follow the thread and see if I can help somehow the process |
@yordis there are two independent things here:
|
@yordis Hi. We do not support libraries at the moment. What you're seeing is failure from our code to find the entry For more information regarding libraries, see my comment here: #1692 (comment) I'm going to close this as Working-As-Intended. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Bug Report or Feature Request (mark with an
x
)Versions.
Repro steps.
The log given by the failure.
.angular-cli.json
platformBrowserDynamic().bootstrapModule(DemoModule)
from the main projecttest task
for that applicationTried to find bootstrap code, but could not. Specify either statically analyzable bootstrap code or pass in an entryModule to the plugins options.
Desired functionality.
The test should run without force me to have a bootstrapped application.
Mention any other details that might be useful.
Repo: https://github.com/straw-hat-llc/boa/tree/develop
This project is trying to create a UI framework for be used cross multiple applications. Because of that, I actually don't have an application (unless I am misunderstanding Angular), I actually have a bunch of code that compose a UI framework.
I am using
boa app
https://github.com/straw-hat-llc/boa/blob/develop/.angular-cli.json#L8 for setup the testing piece of the framework, just thespec
testing because thee2e
will be excluded, but because mymain
file do not contains abootstrapModule
the task is failing.This should let me run the testing, base on this use case, I do not need a real application to be able to run. I am trying to test an framework code, no a real application (from the point of view that this is no meant to be deploy by it's own)
The text was updated successfully, but these errors were encountered: