ngx-bootstrap
ngx-bootstrap copied to clipboard
Error installing ngx-bootstrap with angular 17
Hello,
I'm starting with angular/bootstrap Just installing ngx-bootstrap using :ng add ngx-bootstrap Could not find the project main file inside of the workspace config (src) Any idea please?
Same error here but not idea. I am confused because apparently the installation was success.
`✔ Packages successfully installed.
✅️ Added "bootstrap
✅️ Added "ngx-bootstrap
Could not find the project main file inside of the workspace config (src)`
Does anyone know if there were any debugs related to installing ngx-boostrap for angular 17?
There's a temporary resolve from this stackoverflow: https://stackoverflow.com/questions/77835848/could-not-find-the-project-main-file-inside-of-the-workspace-config-src
To summarize:
- Add
"main": "src/main.ts"
under "architect/build/options" insideangular.json
. - Run
ng add ngx-bootstrap
- Remove
"main": "src/main.ts"
(he/she mentioned you can't runng-serve
if not removed, and your editor might warns you that "main" is not allowed.)
Hello everyone,
I use <npm i [email protected]> insted of ngx-bootstrap you can get it from here https://getbootstrap.com/
Its working fine for me
Thanks in Advance