-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Description
Error on adding primeng/primeui to a angular-cli webpack project
-
OS?
Linux 4.4.0-34-generic long update time 285707ms #53-Ubuntu SMP Wed Jul 27 16:06:39 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux -
Versions. Please run
ng --version. If there's nothing outputted, please run
in a Terminal:node --versionand paste the result here:
angular-cli: local (v1.0.0-beta.11-webpack.2, branch: master)
node: 6.4.0
os: linux x64git logon local angular-cli clone:
latest master commit is:
commit 1f4c6fe
Author: Mike Brocchi mbrocchi@gmail.com
Date: Mon Aug 29 00:05:32 2016 -0400feat(feature): add ability to generate feature modules (feat(feature): add ability to generate feature modules #1867)
-
Repro steps. Was this an app that wasn't created using the CLI? What change did you
do on your code? etc.
added primeng to a project:
npm install --save primeng primeui
added"../node_modules/primeui/themes/omega/theme.css", "../node_modules/font-awesome/css/font-awesome.min.css", "../node_modules/primeui/primeui-ng-all.min.css"to apps[0].styles
ng build -
The log given by the failure. Normally this include a stack trace and some
more information.
ERROR in ./~/primeui/images/loadingbar.gif
Module parse failed: <PROJECT_PATH>/node_modules/primeui/images/loadingbar.gif Unexpected character '�' (1:6)
You may need an appropriate loader to handle this file type.
(Source code omitted for this binary file)
@ <CLI_CLONE_PATH>/angular-cli/~/css-loader!<CLI_CLONE_PATH>/angular-cli/~/postcss-loader!./~/primeui/primeui-ng-all.min.css 6:16675-16709
@ ./~/primeui/primeui-ng-all.min.css
@ multi styles
ERROR in ./~/primeui/images/loading.gif
Module parse failed: <PROJECT_PATH>/node_modules/primeui/images/loading.gif Unexpected character '' (1:7)
You may need an appropriate loader to handle this file type.
(Source code omitted for this binary file)
@ <CLI_CLONE_PATH>/angular-cli/~/css-loader!<CLI_CLONE_PATH>/angular-cli/~/postcss-loader!./~/primeui/primeui-ng-all.min.css 6:32505-32536
@ ./~/primeui/primeui-ng-all.min.css
@ multi styles
Just ask if any more information is required!