Skip to content
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

ng add ngx-bootstrap giving error Cannot find module 'C:\Workspace\angular-demo\node_modules\@schematics\angular\utility\test.js' #6509

Closed
nitin27may opened this issue Sep 16, 2022 · 7 comments
Labels

Comments

@nitin27may
Copy link

nitin27may commented Sep 16, 2022

I create a new Angular project by runnning command ng new angular-demo after that I am trying to run command ng add ngx-bootstrap. It is installing ngx-bootstrap 9.0.0 but then giving error and not updating all required configuration:

image

Versions of ngx-bootstrap, Angular, and Bootstrap:

ngx-bootstrap: 9.0.0

Angular: 14.2.0

Bootstrap: Not added as ng add ngx-bootstrap is broken

Build system:
Angular CLI: 14.2.3
Node: 16.14.0
Package Manager: npm 8.19.1
OS: win32 x64

Expected behavior

It should add all dpendeicies and update the configuration.

@matheuscabralkk
Copy link

having the same issue here, same build system as yours

@SvetlanaMuravlova
Copy link
Contributor

@matheuscabralkk , @nigelsim hi) thank you for your issue. It should be fixed in this pr #6508
connected issue #6505

@GunnysKid
Copy link

I have this same issue. I see that PR 6508 fixed it, but I don't see what I need to do to get it working. I've asked in the slack group, and I see a StackOverflow question that doesn't have a helpful answer, so no point in asking the same thing again there. What do I need to do in order to get the code that works?

I'm having the same issue. I'm seeing that it's "fixed" in multiple pull requests here that keep referencing each other, but no clue on how or what to do to proceed. Details beside "its fixed in this pr" would be greatly appreciated.

@SvetlanaMuravlova
Copy link
Contributor

@GunnysKid new version with this pr hasn't been released yet ))

@Rich-Hopkins
Copy link

@SvetlanaMuravlova any idea when we can expect that release?

@Rich-Hopkins
Copy link

@SvetlanaMuravlova , it's been a month since I last asked, will this fix be released anytime soon?

@zoleko
Copy link

zoleko commented Jun 28, 2023

same issue in 2023
is there a fix for this please
I can see version 10.x.x is for angular 15.x.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants