angularcolombia / angularcolombia.com-legacy

Angular Colombia's legacy group website
MIT License
9 stars 10 forks source link

Error al instalar las dependencias del proyecto con npm #28

Open jkevingutierrez opened 6 years ago

jkevingutierrez commented 6 years ago

Tipo de issue

Descripción

Al instalar las dependencias con npm, e intentar correr el servidor (npm start) genera un error relacionado con las versiones de angularfire2:

ERROR in Error: Metadata version mismatch for module /code/open/angularcolombia.com/node_modules/angularfire2/index.d.ts, found version 4, expected 3, resolving symbol AppModule in /code/open/angularcolombia.com/src/a
pp/app.module.ts, resolving symbol AppModule in /code/open/angularcolombia.com/src/app/app.module.ts, resolving symbol AppModule in /code/open/angularcolombia.com/src/app/app.module.ts
    at syntaxError (/code/open/angularcolombia.com/node_modules/@angular/compiler/bundles/compiler.umd.js:1729:34)
    at simplifyInContext (/code/open/angularcolombia.com/node_modules/@angular/compiler/bundles/compiler.umd.js:24979:23)
    at StaticReflector.simplify (/code/open/angularcolombia.com/node_modules/@angular/compiler/bundles/compiler.umd.js:24991:13)
    at StaticReflector.annotations (/code/open/angularcolombia.com/node_modules/@angular/compiler/bundles/compiler.umd.js:24418:41)
    at _getNgModuleMetadata (/code/open/angularcolombia.com/node_modules/@angular/compiler-cli/src/ngtools_impl.js:138:31)
    at _extractLazyRoutesFromStaticModule (/code/open/angularcolombia.com/node_modules/@angular/compiler-cli/src/ngtools_impl.js:109:26)
    at Object.listLazyRoutesOfModule (/code/open/angularcolombia.com/node_modules/@angular/compiler-cli/src/ngtools_impl.js:53:22)
    at Function.NgTools_InternalApi_NG_2.listLazyRoutes (/code/open/angularcolombia.com/node_modules/@angular/compiler-cli/src/ngtools_api.js:91:39)
    at AotPlugin._getLazyRoutesFromNgtools (/code/open/angularcolombia.com/node_modules/@ngtools/webpack/src/plugin.js:207:44)
    at _donePromise.Promise.resolve.then.then.then.then.then (/code/open/angularcolombia.com/node_modules/@ngtools/webpack/src/plugin.js:443:24)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)

Si las dependencias se instalan con Yarn, todo funciona bien

Pasos para reproducirlo

  1. Clonar el repositorio
  2. npm install
  3. npm start

Ambiente