hpi-schul-cloud / nuxt-client

Schulcloud-Verbund-Software-Nuxt-Client
GNU Affero General Public License v3.0
32 stars 14 forks source link

An in-range update of nuxt is breaking the build 🚨 #160

Closed greenkeeper[bot] closed 5 years ago

greenkeeper[bot] commented 5 years ago

The dependency nuxt was updated from 2.6.1 to 2.6.2.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

nuxt is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details - βœ… **codecov/project:** No report found to compare against ([Details](https://codecov.io/gh/schul-cloud/nuxt-client/commit/05699ae30bab0f9a3b5c2d5966dcffb77de0432a)). - βœ… **codecov/patch:** Coverage not affected. ([Details](https://codecov.io/gh/schul-cloud/nuxt-client/commit/05699ae30bab0f9a3b5c2d5966dcffb77de0432a)). - ❌ **Travis CI - Branch:** The build **failed**.

Release Notes for v2.6.2

Fixes

  • cli: Apply nuxt.config.js changes and watch for all imported files (#5500)
  • cli: Fix problem for users that have tsconfig.json but do not use typescript (#5478)
  • cli: Show memory usage after build for nuxt dev (#5514)
  • server Fix bug with SPA mode with CSP enabled (#5474)
  • vue-renderer: Use modulepreload for modern mode when using spa generate (#5489)
  • webpack: Suggest using official @nuxtjs/style-resources package (#5499)
  • Custom router.base support for banner url and loading screen (#5470) (nuxt/loading-screen#8)

Security Fixes

Thanks to our awesome contributors to this release

FAQ and help There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).

Your Greenkeeper Bot :palm_tree:

greenkeeper[bot] commented 5 years ago

After pinning to 2.6.1 your tests are passing again. Downgrade this dependency πŸ“Œ.

adrianjost commented 5 years ago

vue-router@^3.0.5 seems to be missing.

ChrisWeissmann commented 5 years ago

Added vue-router but now fails with missing all nuxt plugins as dependancies. Not sure how to fix this. 'nuxt_plugin_authenticate_5d424eee' doesn't seem like something to add via yarn. Is this a deeper problem with nuxt?



These dependencies were not found:                                                                                                                                                                                

* nuxt_plugin_authenticate_5d424eee in ./.nuxt/index.js                                                                                                                                                           
* nuxt_plugin_axios_c50f4254 in ./.nuxt/index.js                                                                                                                                                                  
* nuxt_plugin_directives_f60b4746 in ./.nuxt/index.js                                                                                                                                                             
* nuxt_plugin_global_0a77727c in ./.nuxt/index.js                                                                                                                                                                 
* nuxt_plugin_theme_61017060 in ./.nuxt/index.js                                                                                                                                                                  
* nuxt_plugin_toast_69a8ab85 in ./.nuxt/index.js ```
greenkeeper[bot] commented 5 years ago

Your tests are still failing with this version. Compare changes

Release Notes for v2.6.3

Fixes

  • cli: Watch and reload nuxt.config (#5574)
  • utils: serialize inline functions (#5051) (#5580)
  • vue-app: Fix context req and res types (#5560)
  • webpack: Fix production font preloading (#5436)
  • Don't customize esm options (91c3642)

Dependency Upgrades

  • Update webpackbar to ^3.2.0
  • Update vue-router to ^3.0.6
  • Update @nuxt/loading-screen to ^0.5.0
ChrisWeissmann commented 5 years ago

Actually I think adding the missing dependancy solves the issue. I am having a problem on my local machine. Travis seems to be able to build fine.

adrianjost commented 5 years ago

I think you need to delete the .nuxt folder. It acts as a build cache

ChrisWeissmann commented 5 years ago

I tried that but it didn't help. :/

adrianjost commented 5 years ago

Strange :/

ChrisWeissmann commented 5 years ago

Have you tried upgrading to 2.6.3? does it work for you?

adrianjost commented 5 years ago

Nope. It's always showing me errors for missing dependencies

adrianjost commented 5 years ago

Pull #160 should solve this issue. Thanks @ChrisWeissmann for the tip that our aliases might cause this issue. Turnes out, that we had overwritten the alias config of nuxt completly and therefore the dependencies coudn't get resovled.

greenkeeper[bot] commented 5 years ago

Your tests are passing again with this update. Explicitly upgrade to this version πŸš€

Release Notes for v2.7.0

DX Improvements πŸ’…

SSR logs in your browser πŸ–₯️

We all know the console.log debugging method, but when working with universal applications, you have to remember that sometimes, your logs are in your terminal and not in your browser console.

This can be really annoying when developing a Nuxt.js application, starting with this version and running nuxt dev, the ssr logs are now reported to your browser console:

nuxt-logs-ssr

Detecting store/ creation πŸ‘€

Nuxt.js now detects when you created a store/ directory and will reload himself auto-magically so you don't have to restart it anymore.

nuxt-store-watch

PS: We also improved the serverMiddleware watch to restart Nuxt.js and clean their cache

Fixes βœ”οΈ

  • builder: corretly detect mode of hashed plugins (#5695)
  • builder: call watch:restart after watch:fileChanged hook (#5620)
  • utils: node v8 not support dotAll in regex (#5608)
  • vue-app: properly catch component loading error (#5687) (#5688) (#5690)
  • vue-app: consider watchQuery option in routerViewKey (#5516)
  • vue-renderer: await on spa:templateParams hook (#5619)
  • webpack: set log level to warn for HardSourcePlugin (#5653)
  • vue-app: properly catch loading error in component prefetching (#5688) (#5690)
  • vue-app: avoid using aliases in templates (#5656)
  • builder: watch store dir and serverMiddleware paths (#5681)

Features πŸš€

  • vue-app: rename transition to pageTransition and deprecate it (#5558)
  • vue-renderer/vue-app: report SSR console logs to the browser with consola (#5673)
  • webpack: suppress not found typescript warnings (#5635)
  • webpack: extendable babel.presets and babel envName (#5637)
  • configurable aliases (#5655)

Refactors 🧹

  • server: exclude dist files request from browser detection (#5571)
  • vue-renderer: remove chalk in renderer (#5609)
  • vue-renderer: split renderer into ssr, spa and modern (#5559)
  • move modern detection from server to utils (#5584)

Examples πŸ“š

  • auth-routes: fix typo (#5651)
  • babel-preset-app: add core-js@3 example in the readme (#5633)
  • docker: fix Dockerfile casing (#5705)

Typescript πŸ‘·

Only for typescript users, Nuxt.js v2.7 dropped support for node < 8.6 relate to ts-loader v6

  • add babel config types (#5666)
  • upgrade ts-loader to v6 (#5691)
  • fix context.app type (#5701)
  • fix extendRoutes method type (#5700)
  • prevent ts-node to register twice (#5699)

Thanks to πŸ™