jQWidgets Forums
jQuery UI Widgets › Forums › Angular › ng build –prod fails
Tagged: AOT build --prod
This topic contains 2 replies, has 2 voices, and was last updated by Martin 6 years, 1 month ago.
Viewing 3 posts - 1 through 3 (of 3 total)
-
Authorng build –prod fails Posts
-
Hi guy! I have the paid version of jqwidgets, in the moment i’am using angular 7!
I need to build using the AOT but i can’t get it!"dependencies": { "@angular/animations": "~7.2.12", "@angular/cdk": "^7.3.7", "@angular/common": "~7.2.12", "@angular/compiler": "~7.2.12", "@angular/core": "~7.2.12", "@angular/forms": "~7.2.12", "@angular/http": "~7.2.12", "@angular/platform-browser": "~7.2.12", "@angular/platform-browser-dynamic": "~7.2.12", "@angular/router": "~7.2.12", "@ng-bootstrap/ng-bootstrap": "^4.1.1", "bootstrap": "^4.3.1", "core-js": "^2.5.4", "hammerjs": "^2.0.8", "jqwidgets-scripts": "^7.1.0", "ng-block-ui": "^2.1.3", "ngx-post-message": "^1.5.3", "ngx-toastr": "^10.0.2", "rxjs": "~6.4.0", "zone.js": "~0.9.0" }, "devDependencies": { "@angular-devkit/build-angular": "^0.13.8", "@angular/cli": "~7.3.8", "@angular/compiler-cli": "^7.2.12", "@angular/language-service": "~7.2.12", "@types/jasmine": "~3.3.12", "@types/jasminewd2": "~2.0.6", "@types/node": "~11.13.2", "codelyzer": "~5.0.0", "ts-node": "~8.0.3", "tslint": "~5.15.0", "typescript": "3.2.4" }
The error is:
ERROR in ./node_modules/jqwidgets-scripts/jqwidgets-ng/jqxbuttons/jqwidgets-ng-jqxbuttons.ngfactory.js Module not found: Error: Can't resolve 'jqwidgets-ng/jqxbuttons' in 'C:\TFS SOURCES\ANTAS\Sviluppo3\Antas.UI\node_modules\jqwidgets-scripts\jqwidgets-ng\jqxbuttons' ERROR in ./src/app/app.module.ngfactory.js Module not found: Error: Can't resolve 'jqwidgets-ng/jqxbuttons' in 'C:\TFS SOURCES\ANTAS\Sviluppo3\Antas.UI\src\app' ERROR in ./src/app/entities/users/group-company/group-company-list/group-company-list.component.ngfactory.js Module not found: Error: Can't resolve 'jqwidgets-ng/jqxbuttons' in 'C:\TFS SOURCES\ANTAS\Sviluppo3\Antas.UI\src\app\entities\users\group-company\group-company-list' ERROR in ./node_modules/jqwidgets-scripts/jqwidgets-ng/jqxchart/jqwidgets-ng-jqxchart.ngfactory.js Module not found: Error: Can't resolve 'jqwidgets-ng/jqxchart' in 'C:\TFS SOURCES\ANTAS\Sviluppo3\Antas.UI\node_modules\jqwidgets-scripts\jqwidgets-ng\jqxchart' ERROR in ./src/app/app.module.ngfactory.js Module not found: Error: Can't resolve 'jqwidgets-ng/jqxchart' in 'C:\TFS SOURCES\ANTAS\Sviluppo3\Antas.UI\src\app' ERROR in ./src/app/entities/dashboard/main-page/block_four/block_four.component.ngfactory.js Module not found: Error: Can't resolve 'jqwidgets-ng/jqxchart' in 'C:\TFS SOURCES\ANTAS\Sviluppo3\Antas.UI\src\app\entities\dashboard\main-page\block_four' ERROR in ./src/app/entities/dashboard/main-page/block_one/block_one.component.ngfactory.js Module not found: Error: Can't resolve 'jqwidgets-ng/jqxchart' in 'C:\TFS SOURCES\ANTAS\Sviluppo3\Antas.UI\src\app\entities\dashboard\main-page\block_one' ERROR in ./src/app/entities/dashboard/main-page/block_three/block_three.component.ngfactory.js Module not found: Error: Can't resolve 'jqwidgets-ng/jqxchart' in 'C:\TFS SOURCES\ANTAS\Sviluppo3\Antas.UI\src\app\entities\dashboard\main-page\block_three' ERROR in ./src/app/entities/dashboard/main-page/block_two/block_two.component.ngfactory.js Module not found: Error: Can't resolve 'jqwidgets-ng/jqxchart' in 'C:\TFS SOURCES\ANTAS\Sviluppo3\Antas.UI\src\app\entities\dashboard\main-page\block_two' ERROR in ./src/app/app.module.ngfactory.js Module not found: Error: Can't resolve 'jqwidgets-ng/jqxcheckbox' in 'C:\TFS SOURCES\ANTAS\Sviluppo3\Antas.UI\src\app' ERROR in ./node_modules/jqwidgets-scripts/jqwidgets-ng/jqxcombobox/jqwidgets-ng-jqxcombobox.ngfactory.js Module not found: Error: Can't resolve 'jqwidgets-ng/jqxcombobox' in 'C:\TFS SOURCES\ANTAS\Sviluppo3\Antas.UI\node_modules\jqwidgets-scripts\jqwidgets-ng\jqxcombobox' ERROR in ./src/app/app.module.ngfactory.js Module not found: Error: Can't resolve 'jqwidgets-ng/jqxcombobox' in 'C:\TFS SOURCES\ANTAS\Sviluppo3\Antas.UI\src\app' ERROR in ./src/app/entities/users/group-company/group-company-list/group-company-list.component.ngfactory.js Module not found: Error: Can't resolve 'jqwidgets-ng/jqxcombobox' in 'C:\TFS SOURCES\ANTAS\Sviluppo3\Antas.UI\src\app\entities\users\group-company\group-company-list' ERROR in ./src/app/app.module.ngfactory.js Module not found: Error: Can't resolve 'jqwidgets-ng/jqxdropdownlist' in 'C:\TFS SOURCES\ANTAS\Sviluppo3\Antas.UI\src\app' ERROR in ./node_modules/jqwidgets-scripts/jqwidgets-ng/jqxfileupload/jqwidgets-ng-jqxfileupload.ngfactory.js Module not found: Error: Can't resolve 'jqwidgets-ng/jqxfileupload' in 'C:\TFS SOURCES\ANTAS\Sviluppo3\Antas.UI\node_modules\jqwidgets-scripts\jqwidgets-ng\jqxfileupload' ERROR in ./src/app/app.module.ngfactory.js Module not found: Error: Can't resolve 'jqwidgets-ng/jqxfileupload' in 'C:\TFS SOURCES\ANTAS\Sviluppo3\Antas.UI\src\app' ERROR in ./src/app/entities/users/group-company/group-company-list/group-company-list.component.ngfactory.js Module not found: Error: Can't resolve 'jqwidgets-ng/jqxfileupload' in 'C:\TFS SOURCES\ANTAS\Sviluppo3\Antas.UI\src\app\entities\users\group-company\group-company-list' ERROR in ./node_modules/jqwidgets-scripts/jqwidgets-ng/jqxgauge/jqwidgets-ng-jqxgauge.ngfactory.js Module not found: Error: Can't resolve 'jqwidgets-ng/jqxgauge' in 'C:\TFS SOURCES\ANTAS\Sviluppo3\Antas.UI\node_modules\jqwidgets-scripts\jqwidgets-ng\jqxgauge' ERROR in ./src/app/app.module.ngfactory.js Module not found: Error: Can't resolve 'jqwidgets-ng/jqxgauge' in 'C:\TFS SOURCES\ANTAS\Sviluppo3\Antas.UI\src\app' ERROR in ./src/app/entities/dashboard/main-page/block_five/block_five.component.ngfactory.js Module not found: Error: Can't resolve 'jqwidgets-ng/jqxgauge' in 'C:\TFS SOURCES\ANTAS\Sviluppo3\Antas.UI\src\app\entities\dashboard\main-page\block_five' ERROR in ./node_modules/jqwidgets-scripts/jqwidgets-ng/jqxgrid/jqwidgets-ng-jqxgrid.ngfactory.js Module not found: Error: Can't resolve 'jqwidgets-ng/jqxgrid' in 'C:\TFS SOURCES\ANTAS\Sviluppo3\Antas.UI\node_modules\jqwidgets-scripts\jqwidgets-ng\jqxgrid' ERROR in ./src/app/app.module.ngfactory.js Module not found: Error: Can't resolve 'jqwidgets-ng/jqxgrid' in 'C:\TFS SOURCES\ANTAS\Sviluppo3\Antas.UI\src\app' ERROR in ./src/app/entities/users/group-company/group-company-list/group-company-list.component.ngfactory.js Module not found: Error: Can't resolve 'jqwidgets-ng/jqxgrid' in 'C:\TFS SOURCES\ANTAS\Sviluppo3\Antas.UI\src\app\entities\users\group-company\group-company-list' ERROR in ./node_modules/jqwidgets-scripts/jqwidgets-ng/jqxinput/jqwidgets-ng-jqxinput.ngfactory.js Module not found: Error: Can't resolve 'jqwidgets-ng/jqxinput' in 'C:\TFS SOURCES\ANTAS\Sviluppo3\Antas.UI\node_modules\jqwidgets-scripts\jqwidgets-ng\jqxinput' ERROR in ./src/app/app.module.ngfactory.js Module not found: Error: Can't resolve 'jqwidgets-ng/jqxinput' in 'C:\TFS SOURCES\ANTAS\Sviluppo3\Antas.UI\src\app' ERROR in ./src/app/entities/users/group-company/group-company-list/group-company-list.component.ngfactory.js Module not found: Error: Can't resolve 'jqwidgets-ng/jqxinput' in 'C:\TFS SOURCES\ANTAS\Sviluppo3\Antas.UI\src\app\entities\users\group-company\group-company-list' ERROR in ./node_modules/jqwidgets-scripts/jqwidgets-ng/jqxlineargauge/jqwidgets-ng-jqxlineargauge.ngfactory.js Module not found: Error: Can't resolve 'jqwidgets-ng/jqxlineargauge' in 'C:\TFS SOURCES\ANTAS\Sviluppo3\Antas.UI\node_modules\jqwidgets-scripts\jqwidgets-ng\jqxlineargauge' ERROR in ./src/app/app.module.ngfactory.js Module not found: Error: Can't resolve 'jqwidgets-ng/jqxlineargauge' in 'C:\TFS SOURCES\ANTAS\Sviluppo3\Antas.UI\src\app' ERROR in ./src/app/entities/dashboard/main-page/block_five/block_five.component.ngfactory.js Module not found: Error: Can't resolve 'jqwidgets-ng/jqxlineargauge' in 'C:\TFS SOURCES\ANTAS\Sviluppo3\Antas.UI\src\app\entities\dashboard\main-page\block_five' ERROR in ./src/app/app.module.ngfactory.js Module not found: Error: Can't resolve 'jqwidgets-ng/jqxnotification' in 'C:\TFS SOURCES\ANTAS\Sviluppo3\Antas.UI\src\app' ERROR in ./src/app/app.module.ngfactory.js Module not found: Error: Can't resolve 'jqwidgets-ng/jqxpanel' in 'C:\TFS SOURCES\ANTAS\Sviluppo3\Antas.UI\src\app' ERROR in ./node_modules/jqwidgets-scripts/jqwidgets-ng/jqxwindow/jqwidgets-ng-jqxwindow.ngfactory.js Module not found: Error: Can't resolve 'jqwidgets-ng/jqxwindow' in 'C:\TFS SOURCES\ANTAS\Sviluppo3\Antas.UI\node_modules\jqwidgets-scripts\jqwidgets-ng\jqxwindow' ERROR in ./src/app/app.module.ngfactory.js Module not found: Error: Can't resolve 'jqwidgets-ng/jqxwindow' in 'C:\TFS SOURCES\ANTAS\Sviluppo3\Antas.UI\src\app'm ERROR in ./src/app/entities/users/group-company/group-company-list/group-company-list.component.ngfactory.js Module not found: Error: Can't resolve 'jqwidgets-ng/jqxwindow' in 'C:\TFS SOURCES\ANTAS\Sviluppo3\Antas.UI\src\app\entities\users\group-company\group-company-list'
SOLVED!
Can’t import modules from jqwidgets-scripts, it should be jqwidgets-ng
Hello thiagodebona,
Thank you for the update!
Best Regards,
MartinjQWidgets Team
http://www.jqwidgets.com/ -
AuthorPosts
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.