Al hacer npm audit fix
y ng build --prod
, me aparece el siguiente error:
Date: 2019-04-25T10:28:19.462Z
Hash: 0ac4170b0a4d66eddd2d
Time: 123639ms
chunk {0} runtime.26209474bfa8dc87a77c.js (runtime) 1.41 kB [entry] [rendered]
chunk {1} main.a10bbd91cb3dfa03228a.js (main) 1.51 MB [initial] [rendered]
chunk {2} polyfills.4c4f8ef040147bb3e499.js (polyfills) 58.2 kB [initial] [rendered]
chunk {3} styles.62656b300958c816df87.css (styles) 165 kB [initial] [rendered]
chunk {scripts} scripts.8123f3f0326e7d6f45d3.js (scripts) 633 kB [entry] [rendered]
ERROR in ./node_modules/solid-file-client/dist/browser/solid-file-client.bundle.js
Module not found: Error: Can't resolve 'null' in '/home/travis/build/Arquisoft/dechat_es4a/node_modules/solid-file-client/dist/browser'
The command "ng build --prod" exited with 1.
Done. Your build exited with 1.
travis.yml
language: node_js
node_js:
- "10.15"
before_script:
- npm install -g @angular/cli
- npm install
- npm install --save howler
- npm audit fix
script:
- ng build --prod
after_success:
- node_modules\.bin\cucumber-js src\test\dechatCucumber\features -r src\test\dechatCucumber\features\step_definitions
- bash <(curl -s https://codecov.io/bash)
Supongo que es algun tipo de libreria que me falta por instalar, alguie ha tenido un problema parecido o sabría subsanar el error anterior ¿?
npm install solid-auth-client
ynpm install solid-file-client
, fijate en mi respuesta