Мое приложение хорошо работает на машине windows, оно не показывает ошибку char js, но если я запускаю то же приложение на машине linux, то выдает ошибку 92% дополнительных скриптов обработки ресурсов-webpack-plugin ✖ 「wdm」: Ошибка: ENOENT: нет такого файла или каталога, откройте '/home/..../..../..../node_modules/chart.js/dist/chart.js' Почему так ли это, пожалуйста, дайте мне решение. Спасибо в наставлении.
Мой пакет json файл
{
"name": "xxxx",
"version": "0.0.0",
"license": "MIT",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build --prod",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e",
"compodoc": "compodoc",
"generate-docs": "compodoc -p src/tsconfig.app.json",
"serve-docs": "compodoc -s src/tsconfig.app.json"
},
"private": true,
"dependencies": {
"@ag-grid-community/all-modules": "^22.1.1",
"@ag-grid-community/angular": "^22.1.2",
"@angular-devkit/build-webpack": "^0.803.28",
"@angular/animations": "7.2.1",
"@angular/cdk": "^5.2.5",
"@angular/common": "7.2.1",
"@angular/compiler": "7.2.1",
"@angular/core": "7.2.1",
"@angular/forms": "7.2.1",
"@angular/http": "7.2.1",
"@angular/material": "^5.2.5",
"@angular/platform-browser": "7.2.1",
"@angular/platform-browser-dynamic": "7.2.1",
"@angular/router": "7.2.1",
"@compodoc/compodoc": "^1.1.10",
"@ng-select/ng-select": "^1.6.3",
"@types/xlsx": "0.0.36",
"ag-grid": "^18.1.2",
"ag-grid-angular": "^18.1.0",
"angular-2-local-storage": "^2.0.1",
"angular-fusioncharts": "^3.0.4",
"aws-sdk": "^2.712.0",
"bootstrap": "^3.4.0",
"chart.js": "^2.9.3",
"core-js": "^2.6.11",
"dateformat": "^3.0.3",
"file-saver": "^2.0.1",
"file-server": "^2.0.1",
"fusioncharts": "^3.15.1",
"gentelella": "^1.4.0",
"jspdf-autotable": "^3.5.6",
"lodash": "^4.17.19",
"mathjs": "^5.4.0",
"moment": "^2.27.0",
"ng2-bootstrap-modal": "^1.0.1",
"ng2-charts": "^1.6.0",
"ng2-order-pipe": "^0.1.5",
"ngx-bootstrap": "^2.0.5",
"ngx-filesaver": "^2.2.0",
"ngx-loading": "^1.0.15",
"ngx-modialog": "^5.0.1",
"ngx-order-pipe": "^2.0.2",
"ngx-pagination": "^3.2.1",
"ngx-toastr": "^8.10.2",
"pdfmake": "^0.1.66",
"rxjs": "^6.6.0",
"rxjs-compat": "^6.6.0",
"ts-xlsx": "0.0.11",
"tslib": "^1.13.0",
"xlsx": "^0.14.1",
"zone.js": "^0.9.1"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.12.0",
"@angular/cli": "7.2.2",
"@angular/compiler-cli": "^7.2.16",
"@angular/language-service": "7.2.1",
"@types/jasmine": "^2.8.17",
"@types/jasminewd2": "^2.0.6",
"@types/jquery": "^3.5.0",
"@types/lodash": "^4.14.157",
"@types/node": "^6.14.10",
"codelyzer": "^4.5.0",
"jasmine-core": "~2.8.0",
"jasmine-spec-reporter": "~4.2.1",
"karma": "^4.4.1",
"karma-chrome-launcher": "~2.2.0",
"karma-coverage-istanbul-reporter": "^1.2.1",
"karma-jasmine": "~1.1.0",
"karma-jasmine-html-reporter": "^0.2.2",
"protractor": "^5.4.4",
"ts-node": "~4.1.0",
"tslint": "~5.9.1",
"typescript": "3.2.4"
}
}