Ngx-admin: Metadata version mismatch for module

Created on 20 Nov 2017  路  8Comments  路  Source: akveo/ngx-admin

ERROR in Error: Metadata version mismatch for module ngx-admin/node_modules/ng2-tree/index.d.ts, found version 4, expected 3

First I thought it was ng2-tree package out of date. I update the ng2-tree from
"ng2-tree": "^2.0.0-alpha.10" To "ng2-tree": "^2.0.0-rc.1". But the issue still there.

{ 'ngx-admin': '2.0.1',
npm: '3.10.10',
ares: '1.10.1-DEV',
http_parser: '2.7.0',
icu: '58.2',
modules: '48',
node: '6.11.4',
openssl: '1.0.2l',
uv: '1.11.0',
v8: '5.1.281.108',
zlib: '1.2.11' }

Thanks for your help.

Most helpful comment

How do I solve this problem :

Modify dependencies at package.json , specifically this line

"ng2-tree": "^2.0.0-alpha.10" remove those caret to become like this "ng2-tree": "2.0.0-alpha.10"

run npm install and npm start

All 8 comments

+1

+1

+1

+1

+1

How do I solve this problem :

Modify dependencies at package.json , specifically this line

"ng2-tree": "^2.0.0-alpha.10" remove those caret to become like this "ng2-tree": "2.0.0-alpha.10"

run npm install and npm start

genz10, your solution worked perfectly! Thank you!!!

Guys, just use the correct version of npm as per the documentation.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mignam picture mignam  路  3Comments

nfdavenport picture nfdavenport  路  3Comments

queirozfcom picture queirozfcom  路  4Comments

nsankaranarayanan picture nsankaranarayanan  路  3Comments

AZm1n picture AZm1n  路  4Comments