Topic: Seeing several errors on ng Serve
PHANI KUMAR SHEELA pro asked 2 years ago
Seeing lot of errors with npm install and ng serve like below
- node_modules/ng-uikit-pro-standard/lib/pro/progressbars/progressbar.module.d.ts:11:21 - error TS2694: Namespace '"C:/Users/.../UXDESIGNS/node_modules/@angular/core/core"' has no exported member 'ɵɵInjectorDeclaration'.
I have taken my angular project to new server and tried installing all packages using npm install. I am seeing a lot of errors like these.
Appreciate pointing towards the issue
Below is my package.json file
{ "name": "uxdesigns", "version": "0.0.0", "scripts": { "ng": "ng", "start": "ng serve", "build": "ng build", "test": "ng test", "lint": "ng lint", "e2e": "ng e2e", "postinstall": "node patch.js" }, "private": true, "dependencies": { "@agm/core": "^1.0.0", "@angular/animations": "~10.2.4", "@angular/cdk": "~8.2.3", "@angular/common": "~10.2.4", "@angular/compiler": "~10.2.4", "@angular/core": "~10.2.4", "@angular/forms": "~10.2.4", "@angular/localize": "^10.2.4", "@angular/material": "^8.2.3", "@angular/platform-browser": "~10.2.4", "@angular/platform-browser-dynamic": "~10.2.4", "@angular/router": "~10.2.4", "@fortawesome/fontawesome-free": "^5.11.2", "@microsoft/signalr": "^3.1.2", "@tensorflow/tfjs-node": "^3.6.0", "@types/chart.js": "^2.8.9", "@walletconnect/web3-provider": "^1.7.7", "angular-barcode": "^2.0.1", "angular-bootstrap-md": "^8.4.0", "animate.css": "^3.7.2", "bootstrap": "^4.3.1", "canvas": "^2.7.0", "chart.js": "^2.5.0", "crypto-icons": "^1.0.65", "easy-pie-chart": "^2.1.7", "ethers": "^5.6.6", "face-api.js": "^0.22.2", "hammerjs": "^2.0.8", "highcharts": "^9.2.2", "highcharts-angular": "^2.10.0", "jquery": "^3.6.0", "mdbootstrap": "^4.8.11", "modal": "^1.2.0", "moment": "^2.29.1", "ng-mdb-pro": "git+https://oauth2:xxxxxx@git.mdbootstrap.com/mdb/angular/ng-pro.git", "ng-particles": "^2.20.3", "ng-uikit-pro-standard": "git+https://oauth2:xxxxxxxxx@git.mdbootstrap.com/mdb/angular/ng-uikit-pro-standard.git", "ng2-pdf-viewer": "^6.3.0", "ngx-captcha": "^9.0.1", "ngx-kjua": "^1.7.0", "ngx-webcam": "^0.3.2", "node-fetch": "^2.6.1", "rxjs": "~6.5.4", "screenfull": "^3.3.0", "tslib": "^1.10.0", "tsparticles": "^1.37.3", "zone.js": "~0.10.2" }, "devDependencies": { "@angular-devkit/build-angular": "~0.1002.3", "@angular/cli": "^10.2.3", "@angular/compiler-cli": "^10.2.4", "@angular/language-service": "^10.2.4", "@types/jasmine": "~3.3.8", "@types/jasminewd2": "~2.0.3", "@types/jquery": "^3.5.8", "@types/node": "^12.11.1", "codelyzer": "^5.1.2", "jasmine-core": "~3.4.0", "jasmine-spec-reporter": "~4.2.1", "karma": "^6.3.1", "karma-chrome-launcher": "~2.2.0", "karma-coverage-istanbul-reporter": "~2.0.1", "karma-jasmine": "~2.0.1", "karma-jasmine-html-reporter": "^1.4.0", "protractor": "~5.4.0", "ts-node": "~7.0.0", "tslint": "~5.15.0", "typescript": "^4.0.7" } }
Arkadiusz Idzikowski staff answered 2 years ago
When you use this command: git+https://oauth2:xxxxxxxxx@git.mdbootstrap.com/mdb/angular/ng-uikit-pro-standard.git
, you install the latest available ng-uikit-pro-standard
version. In this case, it is v13.0.0 which requires Angular v13.
You need to update your Angular version to v13 or install ng-uikit-pro-standard
version compatible with your dependencies: git+https://oauth2:xxxxxxxxx@git.mdbootstrap.com/mdb/angular/ng-uikit-pro-standard.git#10.1.1
(this command always install version 10.1.1),
PHANI KUMAR SHEELA pro answered 2 years ago
I have tried installing 10.1.1 of ng-uikit-pro-standard but still seeing errors
using the url
git+https://oauth2:xxxxxxxxx@git.mdbootstrap.com/mdb/angular/ng-uikit-pro-standard.git#10.1.1
Below is the Angular version
/ \ _ __ __ _ _ | | _ _ _ __ / | | | _|
/ △ \ | '_ \ / | | | | |/ _
| '| | | | | | |
/ \| | | | (| | || | | (| | | | || |_ | |
// __| ||__, |__,||__,|| __|_||
|__/
Angular CLI: 10.2.3 Node: 16.16.0 OS: win32 x64
Angular: 10.2.4 ... animations, cdk, common, compiler, compiler-cli, core, forms ... language-service, localize, platform-browser ... platform-browser-dynamic, router Ivy Workspace: Yes
Package Version
@angular-devkit/architect 0.1002.3 @angular-devkit/build-angular 0.1002.3 @angular-devkit/core 10.2.3 @angular-devkit/schematics 10.2.3 @angular/cli 10.2.3 @angular/material 8.2.3 @schematics/angular 10.2.3 @schematics/update 0.1002.3 rxjs 6.5.4 typescript 4.0.7
A lot of errors like below are seen and not able to proceed further at the moment
ERROR in ./node_modules/ng-uikit-pro-standard/fesm2015/ng-uikit-pro-standard.mjs 18612:33-56 Can't import the named export 'ɵɵngDeclareDirective' from non EcmaScript module (only default export is available)
ERROR in ./node_modules/ng-uikit-pro-standard/fesm2015/ng-uikit-pro-standard.mjs 19880:27-50 Can't import the named export 'ɵɵngDeclareDirective' from non EcmaScript module (only default export is available)
ERROR in ./node_modules/ng-uikit-pro-standard/fesm2015/ng-uikit-pro-standard.mjs 20547:26-49 Can't import the named export 'ɵɵngDeclareDirective' from non EcmaScript module (only default export is available)
ERROR in ./node_modules/ng-uikit-pro-standard/fesm2015/ng-uikit-pro-standard.mjs 20594:29-52 Can't import the named export 'ɵɵngDeclareDirective' from non EcmaScript module (only default export is available)
ERROR in ./node_modules/ng-uikit-pro-standard/fesm2015/ng-uikit-pro-standard.mjs 20969:20-43 Can't import the named export 'ɵɵngDeclareDirective' from non EcmaScript module (only default export is available)
ERROR in ./node_modules/ng-uikit-pro-standard/fesm2015/ng-uikit-pro-standard.mjs 21013:27-50 Can't import the named export 'ɵɵngDeclareDirective' from non EcmaScript module (only default export is available)
ERROR in ./node_modules/ng-uikit-pro-standard/fesm2015/ng-uikit-pro-standard.mjs 22547:30-53 Can't import the named export 'ɵɵngDeclareDirective' from non EcmaScript module (only default export is available)
ERROR in ./node_modules/ng-uikit-pro-standard/fesm2015/ng-uikit-pro-standard.mjs 94:25-46 Can't import the named export 'ɵɵngDeclareFactory' from non EcmaScript module (only default export is available)
ERROR in ./node_modules/ng-uikit-pro-standard/fesm2015/ng-uikit-pro-standard.mjs 149:19-40 Can't import the named export 'ɵɵngDeclareFactory' from non EcmaScript module (only default export is available)
ERROR in ./node_modules/ng-uikit-pro-standard/fesm2015/ng-uikit-pro-standard.mjs 162:30-51 Can't import the named export 'ɵɵngDeclareFactory' from non EcmaScript module (only default export is available)
ERROR in ./node_modules/ng-uikit-pro-standard/fesm2015/ng-uikit-pro-standard.mjs 182:34-55 Can't import the named export 'ɵɵngDeclareFactory' from non EcmaScript module (only default export is available)
ERROR in ./node_modules/ng-uikit-pro-standard/fesm2015/ng-uikit-pro-standard.mjs 193:24-45 Can't import the named export 'ɵɵngDeclareFactory' from non EcmaScript module (only default export is available)
ERROR in ./node_modules/ng-uikit-pro-standard/fesm2015/ng-uikit-pro-standard.mjs 387:23-44 Can't import the named export 'ɵɵngDeclareFactory' from non EcmaScript module (only default export is available)
ERROR in ./node_modules/ng-uikit-pro-standard/fesm2015/ng-uikit-pro-standard.mjs 466:31-52 Can't import the named export 'ɵɵngDeclareFactory' from non EcmaScript module (only default export is available)
ERROR in ./node_modules/ng-uikit-pro-standard/fesm2015/ng-uikit-pro-standard.mjs 557:28-49 Can't import the named export 'ɵɵngDeclareFactory' from non EcmaScript module (only default export is available)
Arkadiusz Idzikowski staff commented 2 years ago
Please try to remove the node_modules
folder and package-lock.json
file and run npm install
again to make sure that the correct version of the ng-uikit-pro-standard
is installed.
In case of any further problems please also try to add our library to the fresh Angular 10 project created with Angular CLI (to make sure that this problem is not caused by some other dependencies).
PHANI KUMAR SHEELA pro answered 2 years ago
Below is the ng version Angular CLI: 10.2.3 Node: 16.16.0 OS: win32 x64
Angular: 10.2.4 ... animations, cdk, common, compiler, compiler-cli, core, forms ... language-service, localize, platform-browser ... platform-browser-dynamic, router Ivy Workspace: Yes
Package Version
@angular-devkit/architect 0.1002.3 @angular-devkit/build-angular 0.1002.3 @angular-devkit/core 10.2.3 @angular-devkit/schematics 10.2.3 @angular/cli 10.2.3 @angular/material 8.2.3 @schematics/angular 10.2.3 @schematics/update 0.1002.3 rxjs 6.5.4 typescript 4.0.7
PHANI KUMAR SHEELA pro answered 2 years ago
Node packages may not be installed. Try installing with 'npm install'. Error: Could not find the '@angular-devkit/build-angular:dev-server' builder's node package. npm WARN using --force Recommended protections disabled. npm WARN ERESOLVE overriding peer dependency npm WARN Found: @angular/common@10.2.5 npm WARN node_modules/@angular/common npm WARN @angular/common@"^10.2.4" from the root project npm WARN npm WARN Could not resolve dependency: npm WARN peer @angular/common@"^6.0.0 || ^7.0.0 || ^8.0.0" from @agm/core@1.1.0 npm WARN node_modules/@agm/core npm WARN @agm/core@"^1.0.0" from the root project npm WARN ERESOLVE overriding peer dependency npm WARN Found: @angular/core@10.2.5 npm WARN node_modules/@angular/core npm WARN @angular/core@"^10.2.4" from the root project npm WARN 1 more (@angular/common) npm WARN npm WARN Could not resolve dependency: npm WARN peer @angular/core@"^6.0.0 || ^7.0.0 || ^8.0.0" from @agm/core@1.1.0 npm WARN node_modules/@agm/core npm WARN @agm/core@"^1.0.0" from the root project npm WARN ERESOLVE overriding peer dependency npm WARN Found: @angular/animations@10.2.5 npm WARN node_modules/@angular/animations npm WARN @angular/animations@"^10.2.4" from the root project npm WARN 1 more (@angular/platform-browser) npm WARN npm WARN Could not resolve dependency: npm WARN peer @angular/animations@"^8.0.0 || ^9.0.0-0" from @angular/material@8.2.3 npm WARN node_modules/@angular/material npm WARN @angular/material@"^8.2.3" from the root project npm WARN ERESOLVE overriding peer dependency npm WARN Found: @angular/cdk@10.2.7 npm WARN node_modules/@angular/cdk npm WARN @angular/cdk@"^10.2.4" from the root project npm WARN npm WARN Could not resolve dependency: npm WARN peer @angular/cdk@"8.2.3" from @angular/material@8.2.3 npm WARN node_modules/@angular/material npm WARN @angular/material@"^8.2.3" from the root project npm WARN ERESOLVE overriding peer dependency npm WARN Found: @angular/core@10.2.5 npm WARN node_modules/@angular/core npm WARN @angular/core@"^10.2.4" from the root project npm WARN 1 more (@angular/common) npm WARN npm WARN Could not resolve dependency: npm WARN peer @angular/core@"^8.0.0 || ^9.0.0-0" from @angular/material@8.2.3 npm WARN node_modules/@angular/material npm WARN @angular/material@"^8.2.3" from the root project npm WARN ERESOLVE overriding peer dependency npm WARN Found: @angular/common@10.2.5 npm WARN node_modules/@angular/common npm WARN @angular/common@"^10.2.4" from the root project npm WARN npm WARN Could not resolve dependency: npm WARN peer @angular/common@"^8.0.0 || ^9.0.0-0" from @angular/material@8.2.3 npm WARN node_modules/@angular/material npm WARN @angular/material@"^8.2.3" from the root project npm WARN ERESOLVE overriding peer dependency npm WARN Found: @angular/forms@10.2.5 npm WARN node_modules/@angular/forms npm WARN @angular/forms@"^10.2.4" from the root project npm WARN npm WARN Could not resolve dependency: npm WARN peer @angular/forms@"^8.0.0 || ^9.0.0-0" from @angular/material@8.2.3 npm WARN node_modules/@angular/material npm WARN @angular/material@"^8.2.3" from the root project npm WARN ERESOLVE overriding peer dependency npm WARN Found: @angular/common@10.2.5 npm WARN node_modules/@angular/common npm WARN @angular/common@"^10.2.4" from the root project npm WARN npm WARN Could not resolve dependency: npm WARN peer @angular/common@"^8.0.0" from angular-bootstrap-md@8.10.1 npm WARN node_modules/angular-bootstrap-md npm WARN angular-bootstrap-md@"^8.4.0" from the root project npm WARN ERESOLVE overriding peer dependency npm WARN Found: @angular/core@10.2.5 npm WARN node_modules/@angular/core npm WARN @angular/core@"^10.2.4" from the root project npm WARN 1 more (@angular/common) npm WARN npm WARN Could not resolve dependency: npm WARN peer @angular/core@"^8.0.0" from angular-bootstrap-md@8.10.1 npm WARN node_modules/angular-bootstrap-md npm WARN angular-bootstrap-md@"^8.4.0" from the root project npm WARN ERESOLVE overriding peer dependency npm WARN Found: @angular/compiler@10.2.5 npm WARN node_modules/@angular/compiler npm WARN @angular/compiler@"~10.2.4" from the root project npm WARN 3 more (@angular/compiler-cli, @angular/localize, @angular/platform-browser-dynamic) npm WARN npm WARN Could not resolve dependency: npm WARN peer @angular/compiler@">=2.3.1 <10.0.0 || >9.0.0-beta <10.0.0 || >9.1.0-beta <10.0.0 || >9.2.0-beta <10.0.0" from codelyzer@5.2.2 npm WARN node_modules/codelyzer npm WARN dev codelyzer@"^5.1.2" from the root project npm WARN ERESOLVE overriding peer dependency npm WARN Found: @angular/core@10.2.5 npm WARN node_modules/@angular/core npm WARN @angular/core@"^10.2.4" from the root project npm WARN 1 more (@angular/common) npm WARN npm WARN Could not resolve dependency: npm WARN peer @angular/core@">=2.3.1 <10.0.0 || >9.0.0-beta <10.0.0 || >9.1.0-beta <10.0.0 || >9.2.0-beta <10.0.0" from codelyzer@5.2.2 npm WARN node_modules/codelyzer npm WARN dev codelyzer@"^5.1.2" from the root project npm WARN ERESOLVE overriding peer dependency npm WARN Found: jasmine-core@3.4.0 npm WARN node_modules/jasmine-core npm WARN dev jasmine-core@"~3.4.0" from the root project npm WARN 1 more (karma-jasmine) npm WARN npm WARN Could not resolve dependency: npm WARN peer jasmine-core@">=3.8" from karma-jasmine-html-reporter@1.7.0 npm WARN node_modules/karma-jasmine-html-reporter npm WARN dev karma-jasmine-html-reporter@"^1.4.0" from the root project npm WARN ERESOLVE overriding peer dependency npm WARN Found: @angular/common@10.2.5 npm WARN node_modules/@angular/common npm WARN @angular/common@"^10.2.4" from the root project npm WARN npm WARN Could not resolve dependency: npm WARN peer @angular/common@"^11.0.0" from ngx-captcha@9.0.1 npm WARN node_modules/ngx-captcha npm WARN ngx-captcha@"^9.0.1" from the root project npm WARN ERESOLVE overriding peer dependency npm WARN Found: @angular/core@10.2.5 npm WARN node_modules/@angular/core npm WARN @angular/core@"^10.2.4" from the root project npm WARN 1 more (@angular/common) npm WARN npm WARN Could not resolve dependency: npm WARN peer @angular/core@"^11.0.0" from ngx-captcha@9.0.1 npm WARN node_modules/ngx-captcha npm WARN ngx-captcha@"^9.0.1" from the root project npm ERR! code 1 npm ERR! command failed npm ERR! command git checkout 10.1.1 npm ERR! error: pathspec '10.1.1' did not match any file(s) known to git npm ERR! A complete log of this run can be found in:
PHANI KUMAR SHEELA pro answered 2 years ago
As suggested followed the steps by deleting the Node Modules folder and package-lock.json file
I am seeing these errors on a fresh project as well.
Node packages may not be installed. Try installing with 'npm install'. Error: Could not find the '@angular-devkit/build-angular:dev-server' builder's node package. npm WARN using --force Recommended protections disabled. npm WARN ERESOLVE overriding peer dependency npm WARN Found: @angular/common@10.2.5 npm WARN node_modules/@angular/common npm WARN @angular/common@"^10.2.4" from the root project npm WARN npm WARN Could not resolve dependency: npm WARN peer @angular/common@"^6.0.0 || ^7.0.0 || ^8.0.0" from @agm/core@1.1.0 npm WARN node_modules/@agm/core npm WARN @agm/core@"^1.0.0" from the root project npm WARN ERESOLVE overriding peer dependency npm WARN Found: @angular/core@10.2.5 npm WARN node_modules/@angular/core npm WARN @angular/core@"^10.2.4" from the root project npm WARN 1 more (@angular/common) npm WARN npm WARN Could not resolve dependency: npm WARN peer @angular/core@"^6.0.0 || ^7.0.0 || ^8.0.0" from @agm/core@1.1.0 npm WARN node_modules/@agm/core npm WARN @agm/core@"^1.0.0" from the root project npm WARN ERESOLVE overriding peer dependency npm WARN Found: @angular/animations@10.2.5 npm WARN node_modules/@angular/animations npm WARN @angular/animations@"^10.2.4" from the root project npm WARN 1 more (@angular/platform-browser) npm WARN npm WARN Could not resolve dependency: npm WARN peer @angular/animations@"^8.0.0 || ^9.0.0-0" from @angular/material@8.2.3 npm WARN node_modules/@angular/material npm WARN @angular/material@"^8.2.3" from the root project npm WARN ERESOLVE overriding peer dependency npm WARN Found: @angular/cdk@10.2.7 npm WARN node_modules/@angular/cdk npm WARN @angular/cdk@"^10.2.4" from the root project npm WARN npm WARN Could not resolve dependency: npm WARN peer @angular/cdk@"8.2.3" from @angular/material@8.2.3 npm WARN node_modules/@angular/material npm WARN @angular/material@"^8.2.3" from the root project npm WARN ERESOLVE overriding peer dependency npm WARN Found: @angular/core@10.2.5 npm WARN node_modules/@angular/core npm WARN @angular/core@"^10.2.4" from the root project npm WARN 1 more (@angular/common) npm WARN npm WARN Could not resolve dependency: npm WARN peer @angular/core@"^8.0.0 || ^9.0.0-0" from @angular/material@8.2.3 npm WARN node_modules/@angular/material npm WARN @angular/material@"^8.2.3" from the root project npm WARN ERESOLVE overriding peer dependency npm WARN Found: @angular/common@10.2.5 npm WARN node_modules/@angular/common npm WARN @angular/common@"^10.2.4" from the root project npm WARN npm WARN Could not resolve dependency: npm WARN peer @angular/common@"^8.0.0 || ^9.0.0-0" from @angular/material@8.2.3 npm WARN node_modules/@angular/material npm WARN @angular/material@"^8.2.3" from the root project npm WARN ERESOLVE overriding peer dependency npm WARN Found: @angular/forms@10.2.5 npm WARN node_modules/@angular/forms npm WARN @angular/forms@"^10.2.4" from the root project npm WARN npm WARN Could not resolve dependency: npm WARN peer @angular/forms@"^8.0.0 || ^9.0.0-0" from @angular/material@8.2.3 npm WARN node_modules/@angular/material npm WARN @angular/material@"^8.2.3" from the root project npm WARN ERESOLVE overriding peer dependency npm WARN Found: @angular/common@10.2.5 npm WARN node_modules/@angular/common npm WARN @angular/common@"^10.2.4" from the root project npm WARN npm WARN Could not resolve dependency: npm WARN peer @angular/common@"^8.0.0" from angular-bootstrap-md@8.10.1 npm WARN node_modules/angular-bootstrap-md npm WARN angular-bootstrap-md@"^8.4.0" from the root project npm WARN ERESOLVE overriding peer dependency npm WARN Found: @angular/core@10.2.5 npm WARN node_modules/@angular/core npm WARN @angular/core@"^10.2.4" from the root project npm WARN 1 more (@angular/common) npm WARN npm WARN Could not resolve dependency: npm WARN peer @angular/core@"^8.0.0" from angular-bootstrap-md@8.10.1 npm WARN node_modules/angular-bootstrap-md npm WARN angular-bootstrap-md@"^8.4.0" from the root project npm WARN ERESOLVE overriding peer dependency npm WARN Found: @angular/compiler@10.2.5 npm WARN node_modules/@angular/compiler npm WARN @angular/compiler@"~10.2.4" from the root project npm WARN 3 more (@angular/compiler-cli, @angular/localize, @angular/platform-browser-dynamic) npm WARN npm WARN Could not resolve dependency: npm WARN peer @angular/compiler@">=2.3.1 <10.0.0 || >9.0.0-beta <10.0.0 || >9.1.0-beta <10.0.0 || >9.2.0-beta <10.0.0" from codelyzer@5.2.2 npm WARN node_modules/codelyzer npm WARN dev codelyzer@"^5.1.2" from the root project npm WARN ERESOLVE overriding peer dependency npm WARN Found: @angular/core@10.2.5 npm WARN node_modules/@angular/core npm WARN @angular/core@"^10.2.4" from the root project npm WARN 1 more (@angular/common) npm WARN npm WARN Could not resolve dependency: npm WARN peer @angular/core@">=2.3.1 <10.0.0 || >9.0.0-beta <10.0.0 || >9.1.0-beta <10.0.0 || >9.2.0-beta <10.0.0" from codelyzer@5.2.2 npm WARN node_modules/codelyzer npm WARN dev codelyzer@"^5.1.2" from the root project npm WARN ERESOLVE overriding peer dependency npm WARN Found: jasmine-core@3.4.0 npm WARN node_modules/jasmine-core npm WARN dev jasmine-core@"~3.4.0" from the root project npm WARN 1 more (karma-jasmine) npm WARN npm WARN Could not resolve dependency: npm WARN peer jasmine-core@">=3.8" from karma-jasmine-html-reporter@1.7.0 npm WARN node_modules/karma-jasmine-html-reporter npm WARN dev karma-jasmine-html-reporter@"^1.4.0" from the root project npm WARN ERESOLVE overriding peer dependency npm WARN Found: @angular/common@10.2.5 npm WARN node_modules/@angular/common npm WARN @angular/common@"^10.2.4" from the root project npm WARN npm WARN Could not resolve dependency: npm WARN peer @angular/common@"^11.0.0" from ngx-captcha@9.0.1 npm WARN node_modules/ngx-captcha npm WARN ngx-captcha@"^9.0.1" from the root project npm WARN ERESOLVE overriding peer dependency npm WARN Found: @angular/core@10.2.5 npm WARN node_modules/@angular/core npm WARN @angular/core@"^10.2.4" from the root project npm WARN 1 more (@angular/common) npm WARN npm WARN Could not resolve dependency: npm WARN peer @angular/core@"^11.0.0" from ngx-captcha@9.0.1 npm WARN node_modules/ngx-captcha npm WARN ngx-captcha@"^9.0.1" from the root project npm ERR! code 1 npm ERR! command failed npm ERR! command git checkout 10.1.1 npm ERR! error: pathspec '10.1.1' did not match any file(s) known to git npm ERR! A complete log of this run can be found in:
PHANI KUMAR SHEELA pro answered 2 years ago
This is affecting Production Environments, Immediate assistance is highly appreciated. Are you available on for a quick meeting or consultation?
Thanks!
Arkadiusz Idzikowski staff commented 2 years ago
I already answered here: https://mdbootstrap.com/support/angular/not-able-to-run-ng-serve/. I assume that you created a new thread because you now get different error messages. Please try to edit your first post when you need to add some information to the thread and use comments for discussion. We try to use answers only to add a solution to the problem because it is much more readable.
Unfortunately we offer support only on this forum.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: MDB4 13.0.0
- Device: Windows
- Browser: edge; chrome
- OS: Windows Server
- Provided sample code: No
- Provided link: Yes
PHANI KUMAR SHEELA pro commented 2 years ago
Below is the main error seen repetitively.
ERROR in ./node_modules/ng-uikit-pro-standard/fesm2015/ng-uikit-pro-standard.mjs 23015:29-51 Can't import the named export 'ɵɵngDeclareNgModule' from non EcmaScript module (only default export is available)