-
Notifications
You must be signed in to change notification settings - Fork 155
Bug with version 0.0.24 Recent Release #380
Comments
We have to go to production today and this happened on the build server. It has high priority. |
Updating rxjs to 5.5.6 fixed this issue for me. |
Our websites were not tested with 5.5 version of rxjs and I doubt that lettable operators would work for us. Also with such a breaking change we would have to go through dev/acc/prod servers. This does not make any sense. I will be looking for alternatives. But I would really appreciate if this change would be rolled back on devkit project. |
we have the same problem with our production build |
I totally understand that this is a high priority for you, guys. But have you thought about locking your dependencies, so your production builds won't crash every time random library publishes release with breaking changes? You can do it with Yarn or NPM 5 + |
Our build servers use node 6 with npm 3, we have limited rights on the build server as it is used for many other projects, so package-lock.json or global yarn installlations are not possible. |
@ubarevicius NPM 3 has shrinkwrap. It's much less convenient to use though. But I would seriously consider contacting system administrator and raising this concern. It is also not hard to run every build in its own Docker container to allow every project use whatever version of NPM/Yarn they need without conflicting with each other. PS There were interesting presentation from Igor Minar with good practices for CI configuration. |
Hey guys. |
I am aware of these technologies and solutions to prevent this from happening, but I do not run administrator teams of my client and this will not be resolved today. We will have to push locally built version to git and get around the build server to create deliverable. Local packages are locked and it is thus possible, but to us it is an emergency situation. By the way, I do not want to start some discussion war here that is not relevant. What would help is to know if devkit team can solve this. Otherwise we will go further with our solution. |
I just keep seeing people coming to issues and complaining that their production build is broken with new release and library authors should fix it ASAP. IMO this is fundamentally wrong and I'm trying to make sure people are aware of that and take actions to fix it on their side. @ubarevicius Sure. You have your limitation and I understand that. I'll refrain from further comments and let's see what maintainers have to say. |
adding |
Thanks, I'll check this solution, we kind of solved this problem. @devoto13 I'm sorry if I sounded as if I demand solution asap. I was under stress. The cli helps us a lot in development and we appreciate the work of the team. We will advise the administrator teams to make improvements for the build servers. |
I'm experiencing the same issue, I did this for now to generate a new project: mkdir ng && cd ng
npm i @angular-devkit/[email protected] @angular/cli --no-save
$(npm bin)/ng new my-new-app |
@mayrmax What a workaround!! But you save me. |
This should be fixed via #345, released as Your dependency might not update automatically though. You can force it to update by installing and uninstalling the right version at toplevel: |
I've installed 0.0.25 and with rxjs 5.4 I get this error: Error: Cannot find module 'rxjs/operators' I suppose that the fix still implies that rxjs on all angular 4 projects using angular cli should be updated to v5.5 or higher. Is that correct? |
@ubarevicius can you give me the full error log please? I want to see where that missing module is. |
Error: Cannot find module 'rxjs/operators' It is indeed other file than in original log of this issue |
@ubarevicius Thanks for getting so quickly. I can confirm that @Brocco can you take a look again please? I also saw some odd mixes of rxjs |
@filipesilva no problem, thanks for looking into this ;) |
I had to add
|
@Davilink thanks for your comment. That was the last piece of the puzzle I needed to get get my build back in shape. |
Just created a fresh project and tried ng serve.
|
I think this is sorted now. Please see angular/angular-cli#9283 (comment) for a list of the updated versions with the fix. |
Thanks Filipe. We've just migrated to Angular 5.2.1 with new Rxjs and Angular CLI. Thus I can't confirm if it still works for older versions, but for us everything is working fine now. Cheers! |
Build server using @angular-cli is now producing errors when pulling in the new version of the devkit.
This will cause all @angular-cli builds to fail.
The text was updated successfully, but these errors were encountered: