Notice: The Monaca & Onsen UI Community Forum is shutting down.
For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.
Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.
Please update Angular2-onsenui-kitchensink and npmjs
-
Re: angular2-onsenui-kitchensink not working
Hello guys,
The kitchensink example is out of date. Could you please resolve this?
I get 2 unmet dependencies:
UNMET PEER DEPENDENCY @angular/compiler-cli@^2.1.2 UNMET PEER DEPENDENCY zone.js@0.6.26
And after npm start I get lots of errors from rxjs:
ERROR in [default] /home/tt/projects/angular2-onsenui-kitchensink/node_modules/rxjs/scheduler/Action.d.ts:29:24 Cannot find name 'delay'. ERROR in [default] /home/tt/projects/angular2-onsenui-kitchensink/node_modules/rxjs/scheduler/Action.d.ts:29:30 Expression expected. ERROR in [default] /home/tt/projects/angular2-onsenui-kitchensink/node_modules/rxjs/scheduler/Action.d.ts:29:32 Cannot find name 'number'. ERROR in [default] /home/tt/projects/angular2-onsenui-kitchensink/node_modules/rxjs/scheduler/Action.d.ts:29:39 ';' expected. ERROR in [default] /home/tt/projects/angular2-onsenui-kitchensink/node_modules/rxjs/scheduler/Action.d.ts:30:0 Declaration or statement expected.
With a really big warning:
WARNING in ./~/onsenui/js/onsenui.js Cannot find SourceMap 'data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzI....
And https://www.npmjs.com/package/angular2-onsenui is also two months old and has similar errors.
Would it be possible to implement the example into:
https://github.com/AngularClass/angular2-webpack-starter ?
-
@Viatorus
Thank you for reporting.The kitchensink example is out of date. Could you please resolve this?
It was due to old dependencies, so I have updated all the dependencies in the kitchensink example:
https://github.com/OnsenUI/angular2-onsenui-kitchensinkAnd https://www.npmjs.com/package/angular2-onsenui is also two months old and has similar errors.
We released
angular2-onsenui@1.0.0-rc.4
in last week. Maybe the errors are fixed.Would it be possible to implement the example into:
https://github.com/AngularClass/angular2-webpack-starter ?The kitchensink example is not a seed for Onsen UI app, so we are not planning to use large templates such as
angular2-webpack-starter
.Thank you!