alastria / alastria-wallet

Wallet of ALASTRIA_ID
12 stars 16 forks source link

Error al intentar arrancar el proyecto demo de wallet #75

Closed rextremotabaresDtt closed 4 years ago

rextremotabaresDtt commented 4 years ago

He hecho checkout del proyecto, seguido las instrucciones y al ejecutar npm run start:android recibo el siguiente error

ERROR in multi ./node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/es5-polyfills.js zone.js/dist/zone-legacy ./node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/jit-polyfills.js ./node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/es5-jit-polyfills.js ./src/polyfills.ts
Module not found: Error: Can't resolve 'zone.js/dist/zone-legacy' in '/Users/rodrigo/Downloads/alastria/alastria-wallet'
resolve 'zone.js/dist/zone-legacy' in '/Users/rodrigo/Downloads/alastria/alastria-wallet'
  Parsed request is a module
  using description file: /Users/rodrigo/Downloads/alastria/alastria-wallet/package.json (relative path: .)
    Field 'browser' doesn't contain a valid alias configuration
    resolve as module
      looking for modules in /Users/rodrigo/Downloads/alastria/alastria-wallet/
        using description file: /Users/rodrigo/Downloads/alastria/alastria-wallet/package.json (relative path: .)
          Field 'browser' doesn't contain a valid alias configuration
          using description file: /Users/rodrigo/Downloads/alastria/alastria-wallet/package.json (relative path: ./zone.js/dist/zone-legacy)
            no extension
              Field 'browser' doesn't contain a valid alias configuration
              /Users/rodrigo/Downloads/alastria/alastria-wallet/zone.js/dist/zone-legacy doesn't exist
            .ts
              Field 'browser' doesn't contain a valid alias configuration
              /Users/rodrigo/Downloads/alastria/alastria-wallet/zone.js/dist/zone-legacy.ts doesn't exist
            .tsx
              Field 'browser' doesn't contain a valid alias configuration
              /Users/rodrigo/Downloads/alastria/alastria-wallet/zone.js/dist/zone-legacy.tsx doesn't exist
            .mjs
              Field 'browser' doesn't contain a valid alias configuration
              /Users/rodrigo/Downloads/alastria/alastria-wallet/zone.js/dist/zone-legacy.mjs doesn't exist
            .js
              Field 'browser' doesn't contain a valid alias configuration
              /Users/rodrigo/Downloads/alastria/alastria-wallet/zone.js/dist/zone-legacy.js doesn't exist
            as directory
              /Users/rodrigo/Downloads/alastria/alastria-wallet/zone.js/dist/zone-legacy doesn't exist
      /Users/rodrigo/Downloads/alastria/node_modules doesn't exist or is not a directory
      /Users/rodrigo/Downloads/node_modules doesn't exist or is not a directory
      /Users/rodrigo/node_modules doesn't exist or is not a directory
      /Users/node_modules doesn't exist or is not a directory
      /node_modules doesn't exist or is not a directory
      looking for modules in /Users/rodrigo/Downloads/alastria/alastria-wallet/node_modules
        using description file: /Users/rodrigo/Downloads/alastria/alastria-wallet/package.json (relative path: ./node_modules)
          Field 'browser' doesn't contain a valid alias configuration
          using description file: /Users/rodrigo/Downloads/alastria/alastria-wallet/node_modules/zone.js/package.json (relative path: ./dist/zone-legacy)
            no extension
              Field 'browser' doesn't contain a valid alias configuration
              /Users/rodrigo/Downloads/alastria/alastria-wallet/node_modules/zone.js/dist/zone-legacy doesn't exist
            .ts
              Field 'browser' doesn't contain a valid alias configuration
              /Users/rodrigo/Downloads/alastria/alastria-wallet/node_modules/zone.js/dist/zone-legacy.ts doesn't exist
            .tsx
              Field 'browser' doesn't contain a valid alias configuration
              /Users/rodrigo/Downloads/alastria/alastria-wallet/node_modules/zone.js/dist/zone-legacy.tsx doesn't exist
            .mjs
              Field 'browser' doesn't contain a valid alias configuration
              /Users/rodrigo/Downloads/alastria/alastria-wallet/node_modules/zone.js/dist/zone-legacy.mjs doesn't exist
            .js
              Field 'browser' doesn't contain a valid alias configuration
              /Users/rodrigo/Downloads/alastria/alastria-wallet/node_modules/zone.js/dist/zone-legacy.js doesn't exist
            as directory
              /Users/rodrigo/Downloads/alastria/alastria-wallet/node_modules/zone.js/dist/zone-legacy doesn't exist
[/Users/rodrigo/Downloads/alastria/alastria-wallet/zone.js/dist/zone-legacy]
[/Users/rodrigo/Downloads/alastria/alastria-wallet/zone.js/dist/zone-legacy.ts]
[/Users/rodrigo/Downloads/alastria/alastria-wallet/zone.js/dist/zone-legacy.tsx]
[/Users/rodrigo/Downloads/alastria/alastria-wallet/zone.js/dist/zone-legacy.mjs]
[/Users/rodrigo/Downloads/alastria/alastria-wallet/zone.js/dist/zone-legacy.js]
[/Users/rodrigo/Downloads/alastria/node_modules]
[/Users/rodrigo/Downloads/node_modules]
[/Users/rodrigo/node_modules]
[/Users/node_modules]
[/node_modules]
[/Users/rodrigo/Downloads/alastria/alastria-wallet/node_modules/zone.js/dist/zone-legacy]
[/Users/rodrigo/Downloads/alastria/alastria-wallet/node_modules/zone.js/dist/zone-legacy.ts]
[/Users/rodrigo/Downloads/alastria/alastria-wallet/node_modules/zone.js/dist/zone-legacy.tsx]
[/Users/rodrigo/Downloads/alastria/alastria-wallet/node_modules/zone.js/dist/zone-legacy.mjs]
[/Users/rodrigo/Downloads/alastria/alastria-wallet/node_modules/zone.js/dist/zone-legacy.js]
 @ multi ./node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/es5-polyfills.js zone.js/dist/zone-legacy ./node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/jit-polyfills.js ./node_modules/@angular-devkit/build-angular/src/angular-cli-files/models/es5-jit-polyfills.js ./src/polyfills.ts polyfills-es5[1]

Versiones cordova 9.0.0 npm 6.14.4 node 12.16.2

ghost commented 4 years ago

@rextremotabaresDtt es un issue conocida, que heredamos de @angular-devkit Si quieres que funcione correctamente tendrás que modificar un fichero. Te dejo aquí las instrucciones: https://github.com/alastria/alastria-identity-entity#replacements

cmoralesdiego commented 4 years ago

Buenas @rdemera, este error ya lo vimos y ya lo corregimos con lo que indicas, ahora el que nos preocupa es el que ya conoces del SecuredObject con lo que este lo puedes dar por cerrado. Gracias!!!

ghost commented 4 years ago

Hola @cmoralesdiego, la cierro y a ver si podemos desbloquear la issue de SecuredObject Gracias!