-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
modal.js 404 (Not Found) #2291
Comments
replace with |
@valorkin |
Are you using v1.8.1? |
Sorry 1.8.0? |
Yes im using 1.8.0 |
This is so wrong, because it is exported |
no it is not, check index.ts in the ngx-bootstrap/src/ folder in the repository, you won't find it ! |
Yes, you are right. Seems I was looking in wrong file, sorry. |
Fix will be released tomorrow |
Thanks for you. |
I'm using "ngx-bootstrap": "^2.0.3", and got this error.
app.module.ts @NgModule This happens when inject the modalService in constructor.
Am I doing anything wrong? |
When i try to use BsModalService in my component, i get this error
/node_modules/ngx-bootstrap/modal.js 404 (Not Found)
portion of systemjs.config is:
paths: {
// paths serve as alias
'npm:': 'node_modules/'
},
map: {
'moment': 'npm:/moment',
'ngx-bootstrap': 'npm:ngx-bootstrap'
},
packages: {
'ngx-bootstrap': {
format: 'cjs',
main: 'bundles/ngx-bootstrap.umd.js',
defaultExtension: 'js'
},
'moment': {
main: 'moment.js',
defaultExtension: 'js'
},
}
and app.module
import { CollapseModule } from 'ngx-bootstrap';
import { ModalModule } from 'ngx-bootstrap';
and in the component
import { BsModalService } from "ngx-bootstrap/modal";
constructor(private modalService: BsModalService) { }
Any Help.
The text was updated successfully, but these errors were encountered: