Hello,
I am trying to upgrade Ultima from 1.1 to 2.0.1.. I am getting error.. Can you please help me out?
TypeError: jQuery(...).nanoScroller is not a function
at
setTimeout(function () {
jQuery(_this.layoutMenuScroller).nanoScroller({ flash: true });
}, 10);
src\client\app\app.component.ts(70,79): error TS7006: Parameter 'event' implicitly has an 'any' type.
src\client\app\app.component.ts(89,21): error TS7006: Parameter 'event' implicitly has an 'any' type.
src\client\app\app.component.ts(120,15): error TS7006: Parameter '$event' implicitly has an 'any' type.
src\client\app\app.component.ts(130,27): error TS7006: Parameter 'event' implicitly has an 'any' type.
src\client\app\app.component.ts(142,21): error TS7006: Parameter 'event' implicitly has an 'any' type.
src\client\app\app.component.ts(142,28): error TS7006: Parameter 'item' implicitly has an 'any' type.
src\client\app\app.profile.component.ts(62,13): error TS7006: Parameter 'event' implicitly has an 'any' type.
Please advise
Upgrade Ultima from 1.1 to 2.0.1 - errors
Forum rules
Please note that response time for technical support is within 3-5 business days.
Please note that response time for technical support is within 3-5 business days.
Can you please install nanoscroller via npm and add these lines to your angular-cli.json
Code: Select all
"styles": [
"../node_modules/font-awesome/css/font-awesome.min.css",
"../node_modules/primeng/resources/primeng.min.css",
"../node_modules/fullcalendar/dist/fullcalendar.min.css",
"../node_modules/quill/dist/quill.snow.css",
"../node_modules/nanoscroller/bin/css/nanoscroller.css",
"styles.scss"
],
"scripts": [
"../node_modules/jquery/dist/jquery.js",
"../node_modules/nanoscroller/bin/javascripts/jquery.nanoscroller.js",
"../node_modules/moment/moment.js",
"../node_modules/chart.js/dist/Chart.js",
"../node_modules/fullcalendar/dist/fullcalendar.js",
"../node_modules/quill/dist/quill.js"
]
I am using Angular Seed, nanoscroller has been installed through NPM
// Add `NPM` third-party libraries to be injected/bundled.
this.NPM_DEPENDENCIES = [
...this.NPM_DEPENDENCIES,
{src: 'jquery/dist/jquery.min.js', inject: 'libs'},
{src: 'nanoscroller/bin/javascripts/jquery.nanoscroller.js', inject: 'libs'},
{src: 'nanoscroller/bin/css/nanoscroller.css', inject: true},
{ src: 'primeng/resources/primeng.min.css', inject: true },
{src: 'primeui/primeui-ng-all.min.js', inject: 'libs'},
Do I need other javascript files that you listed?
// Add `NPM` third-party libraries to be injected/bundled.
this.NPM_DEPENDENCIES = [
...this.NPM_DEPENDENCIES,
{src: 'jquery/dist/jquery.min.js', inject: 'libs'},
{src: 'nanoscroller/bin/javascripts/jquery.nanoscroller.js', inject: 'libs'},
{src: 'nanoscroller/bin/css/nanoscroller.css', inject: true},
{ src: 'primeng/resources/primeng.min.css', inject: true },
{src: 'primeui/primeui-ng-all.min.js', inject: 'libs'},
Do I need other javascript files that you listed?
I was able to fix nanoscroller error by moving nanoscroller js file to assets folder..temporary fix...
I am having issues with parameter event --
src\client\app\app.component.ts(70,79): error TS7006: Parameter 'event' implicitly has an 'any' type.
src\client\app\app.component.ts(89,21): error TS7006: Parameter 'event' implicitly has an 'any' type.
src\client\app\app.component.ts(120,15): error TS7006: Parameter '$event' implicitly has an 'any' type.
src\client\app\app.component.ts(130,27): error TS7006: Parameter 'event' implicitly has an 'any' type.
src\client\app\app.component.ts(142,21): error TS7006: Parameter 'event' implicitly has an 'any' type.
src\client\app\app.component.ts(142,28): error TS7006: Parameter 'item' implicitly has an 'any' type.
src\client\app\app.profile.component.ts(62,13): error TS7006: Parameter 'event' implicitly has an 'any' type.
I am having issues with parameter event --
src\client\app\app.component.ts(70,79): error TS7006: Parameter 'event' implicitly has an 'any' type.
src\client\app\app.component.ts(89,21): error TS7006: Parameter 'event' implicitly has an 'any' type.
src\client\app\app.component.ts(120,15): error TS7006: Parameter '$event' implicitly has an 'any' type.
src\client\app\app.component.ts(130,27): error TS7006: Parameter 'event' implicitly has an 'any' type.
src\client\app\app.component.ts(142,21): error TS7006: Parameter 'event' implicitly has an 'any' type.
src\client\app\app.component.ts(142,28): error TS7006: Parameter 'item' implicitly has an 'any' type.
src\client\app\app.profile.component.ts(62,13): error TS7006: Parameter 'event' implicitly has an 'any' type.
Hi,
In ultima we have these scripts
this would be enough.
In ultima we have these scripts
Code: Select all
"scripts": [
"../node_modules/jquery/dist/jquery.js",
"../node_modules/nanoscroller/bin/javascripts/jquery.nanoscroller.js",
"assets/layout/js/ripple.js",
"../node_modules/moment/moment.js",
"../node_modules/chart.js/dist/Chart.js",
"../node_modules/fullcalendar/dist/fullcalendar.js",
"../node_modules/quill/dist/quill.js"
]
-
- Information
-
Who is online
Users browsing this forum: No registered users and 15 guests