-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Labels
P1Impacts a large percentage of users; if a workaround exists it is partial or overly painfulImpacts a large percentage of users; if a workaround exists it is partial or overly painfulfeatureIssue that requests a new featureIssue that requests a new feature
Description
- OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)
Debian 8.5 - Versions. Please run
ng --version
. If there's nothing outputted, please run
in a Terminal:node --version
and paste the result here:
angular-cli: 1.0.0-beta.11-webpack
node: 6.2.2
os: linux x64
- Repro steps. Was this an app that wasn't created using the CLI? What change did you
do on your code? etc.
npm install --save jquery
npm install --save bootstrap-sass
now in pollyfils.ts add:
import 'jquery'; import 'bootstrap-sass/assets/javascripts/bootstrap';
ng serve
- The log given by the failure. Normally this include a stack trace and some
more information.
in bundled js, i can find jquery lib, but in console i get'Error: Bootstrap's JavaScript requires jQuery'
- Mention any other details that might be useful.
i try the way to add in main.ts
import $ from 'jquery';
orimport * as jQuery from 'jquery';
but nothing change.
Any ideas ?
mgritcan and krishollenbeck
Metadata
Metadata
Assignees
Labels
P1Impacts a large percentage of users; if a workaround exists it is partial or overly painfulImpacts a large percentage of users; if a workaround exists it is partial or overly painfulfeatureIssue that requests a new featureIssue that requests a new feature