Questions tagged [angular-webpack-starter]
7 questions
366
votes
25 answers
Angular 4: no component factory found,did you add it to @NgModule.entryComponents?
I'm using Angular 4 template with webpack
and I have this error when I try to use a component (ConfirmComponent):
No component factory found for ConfirmComponent. Did you add it to
@NgModule.entryComponents?
The component is declared in…

mrapi
- 5,831
- 8
- 37
- 57
1
vote
2 answers
Not able to use a jQuery plugin with Angular 4 and Webpack
I'm using Angular 4 with webpack and I'm not able to use a jQuery plugin,with angular cli it works,with webpack not
I've included the plugin in webpack.config.vendor.js
const treeShakableModules = [
.....
'@angular/router',
'zone.js',
…

mrapi
- 5,831
- 8
- 37
- 57
0
votes
0 answers
Getting error while installing Webpack with Angular 6 project
While installing webpack with Angular6 project
I am getting error and not able to install it
I used CLI command entering into project folder named myNewAngularPro -
users-MacBook-Pro-3:myNewAngularPro user$ npm install -g webpack-cli
Error I got…

Anurag Ranjan
- 242
- 1
- 4
- 14
0
votes
1 answer
angular production build error - 404 for all the files
i have taken build from angular and i deployed on tomcat. but iam getting this error
GET http://localhost:8080/vendor.6973535b47bac575f754.js net::ERR_ABORTED
index.html:76 GET http://localhost:8080/vendor.6973535b47bac575f754.css…

Dharan Ganesan
- 433
- 2
- 6
- 23
0
votes
1 answer
Angular 4 ng2-bootstrap-modal error: Module parse failed,Unexpected token
I'm trying to deploy an angular 4 + webpack app and got this error on build
ERROR in ./$$_gendir/~/ng2-bootstrap-modal/dist/dialog-wrapper.component.ngfactory.ts
Module parse failed:…

mrapi
- 5,831
- 8
- 37
- 57
0
votes
1 answer
Webpack adding jQuery plugin: Error: jQuery requires a window with a document
I'm using Angular 4 +webpack.I've added a jQuery plugin to nonTreeShakableModules const in webpack.config.vendor.js:
const path = require('path');
const webpack = require('webpack');
const ExtractTextPlugin =…

mrapi
- 5,831
- 8
- 37
- 57
0
votes
2 answers
Angular2/4 with bootstrap scss (Angular webpack starter)
I am trying to setup a simple project with Angular2/4 with bootstrap.
I cloned the Angular-Webpack-Starter repo, removed the things which are no longer needed and added bootstrap according to the link…

Abhijith Nagaraja
- 3,370
- 6
- 27
- 55