我已经完成了从角度 16 到 17 的版本,但没有成功。我希望你能帮忙。现在是 package.json 文件。
“依赖关系”:{ "@Angular/animations": "^17.3.4", "@Angular/cdk": "^17.3.4", “@角度/常见”:“^17.3.4”, “@角度/编译器”:“^17.3.4”, “@角/核心”:“^17.3.4”, “@角度/形式”:“^17.3.4”, "@Angular/localize": "^17.3.4", "@angular/platform-browser": "^17.3.4", "@angular/platform-browser-dynamic": "^17.3.4", “@角度/路由器”:“^17.3.4”, "@fortawesome/fontawesome-free": "^5.12.1", "@mingleats/ng-extract-i18n-merge": "1.0.2-SNAPSHOT", "@ngx-loading-bar/core": "^6.0.2", "@ngx-loading-bar/http-client": "^6.0.2", "@ngx-translate/core": "^15.0.0", "@ngx-translate/http-loader": "^8.0.0", "@progress/kendo-angle-buttons": "^15.5.0", "@progress/kendo-angular-charts": "^15.5.0", "@progress/kendo-angle-common": "^15.5.0", "@progress/kendo-angle-dateinputs": "^15.5.0", "@progress/kendo-angle-dialog": "^15.5.0", "@progress/kendo-angle-dropdowns": "^15.5.0", "@progress/kendo-angle-editor": "^15.5.0", "@progress/kendo-angular-excel-export": "^15.5.0", "@progress/kendo-angle-grid": "^15.5.0", "@progress/kendo-angle-inputs": "^15.5.0", "@progress/kendo-angular-intl": "^15.5.0", "@progress/kendo-angular-l10n": "^15.5.0", "@progress/kendo-angle-label": "^15.5.0", "@progress/kendo-angle-layout": "^15.5.0", "@progress/kendo-angular-listview": "^15.5.0", "@progress/kendo-angle-menu": "^15.5.0", "@progress/kendo-angle-messages": "^1.56.0", "@progress/kendo-angle-notification": "^15.5.0", "@progress/kendo-angle-pager": "^15.5.0", "@progress/kendo-angular-pdf-export": "^15.5.0", "@progress/kendo-angle-popup": "^15.5.0", "@progress/kendo-angle-progressbar": "^15.5.0", "@progress/kendo-angle-toolbar": "^15.5.0", "@progress/kendo-angular-tooltip": "^15.5.0", "@progress/kendo-angle-treelist": "^15.5.0", "@progress/kendo-angle-treeview": "^15.5.0", "@progress/kendo-angle-upload": "^15.5.0", "@progress/kendo-data-query": "^1.5.5", "@progress/kendo-drawing": "^1.16.3", "@progress/kendo-licensing": "^1.3.3", "@progress/kendo-theme-default": "^6.7.0", "@progress/kendo-ui": "^2024.1.319", "@telerik/kendo-draggable": "^2.2.0", "@types/file-saver": "^2.0.1", "@types/lodash": "^4.14.157", "布尔玛": "^0.8.0", "文件保护程序": "^2.0.2", "hammerjs": "^2.0.0", "jquery": "^3.7.1", "localforage": "^1.7.3", "lodash-es": "^4.17.15", "时刻": "^2.29.4", "ngx-moment": "^6.0.2", "ngx-spinner": "^16.0.2", "rxjs": "^7.5.5", "tslib": "^2.4.0", “zone.js”:“~0.14.4” }, “开发依赖项”:{ "@angular-builders/custom-webpack": "^17.0.2", "@Angular-devkit/build-Angular": "^17.0.0", “@angular-eslint/builder”:“17.3.0”, “@angular-eslint/eslint-plugin”:“17.3.0”, “@angular-eslint/eslint-plugin-template”:“17.3.0”, “@angular-eslint/template-parser”:“17.3.0”, "@angular/cli": "^17.3.4", "@angular/compiler-cli": "^17.3.4", "@Angular/语言服务": "^17.3.4", "@biesbjerg/ngx-translate-extract": "^5.0.0", “@biesbjerg/ngx-translate-extract-marker”:“1.0.0”, "@fullhuman/postcss-purgecss": "^4.0.3", "@mingleats/ng-extract-i18n-merge": "1.0.2-SNAPSHOT", "@types/jasmine": "~3.6.0", "@types/jasminewd2": "~2.0.3", "@types/jquery": "^3.5.29", "@types/node": "^14.0.14", "@typescript-eslint/eslint-plugin": "^5.62.0", "@typescript-eslint/eslint-plugin-tslint": "^5.62.0", "@typescript-eslint/parser": "^5.62.0", "@typescript-eslint/typescript-estree": "^5.62.0", "自动前缀": "^10.2.5", "codelyzer": "^6.0.2", "eslint": "^8.51.0", "eslint-config-prettier": "^8.10.0", "eslint-plugin-html": "^7.1.0", "eslint-plugin-import": "^2.28.1", "eslint-plugin-jsdoc": "^39.9.1", "eslint-plugin-prefer-arrow": "^1.2.1", "eslint-plugin-prettier": "^3.4.0", "哈士奇": "^7.0.0", "茉莉花核心": "~4.2.0", "jasmine-spec-reporter": "~5.0.0", "业力": "~6.3.2", "karma-chrome-launcher": "~3.1.0", "karma-coverage-istanbul-reporter": "~3.0.2", "karma-jasmine": "~5.1.0", "karma-jasmine-html-reporter": "^2.0.0", "lint-staged": "^11.0.0", "moment-locales-webpack-plugin": "^1.2.0", "ng-packagr": "^17.3.0", "postcss-import": "^16.1.0", "postcss-loader": "^8.1.1", "postcss-scss": "^4.0.9", “更漂亮”:“2.3.2”, "量角器": "~7.0.0", "resolve-url-loader": "^5.0.0", "tailwindcss": "^2.0.4", "ts-node": "~8.10.1", "tslint": "~6.1.0", “打字稿”:“〜5.4.5”, “webpack”:“^5.41.1” }
npm 运行开始
错误 TS2304:找不到名称“JQueryStatic”。
240 变量 jQuery:JQueryStatic;
/node_modules/@progress/kendo-ui/index.d.ts'不是模块
在检查多个网站时,我什至无法获得 Kendo 的最新版本。不修复节点模块就不能使用吗?
最好的办法可能是删除 node_modules 文件夹,然后再次运行“npm install”。然后再尝试一次 npm run start