jsonforms icon indicating copy to clipboard operation
jsonforms copied to clipboard

Update vue to 3.4+

Open lucas-koehler opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe.

Updating the pnpm lock file to use vue 3.4.3 causes vue-vanilla's tests to fail with error:

Compiling...

  [=========================] 98% (after emitting)

 ERROR  Failed to compile with 1 error

This dependency was not found:

* node:stream in /home/user/jsonforms/node_modules/.pnpm/@[email protected][email protected]/node_modules/@vue/server-renderer/dist/server-renderer.cjs.js

To install it, you can run: npm install --save node:stream
  [=========================] 100% (completed)

 WEBPACK  Failed to compile with 1 error(s)

Error in /home/user/jsonforms/node_modules/.pnpm/@[email protected][email protected]/node_modules/@vue/server-renderer/dist/server-renderer.cjs.js

  Module not found: 'node:stream' in '/home/user/jsonforms/node_modules/.pnpm/@[email protected][email protected]/node_modules/@vue/server-renderer/dist'

 ERROR  mochapack exited with code 1.
 ELIFECYCLE  Test failed. See above for more details.

Using Node 18 instead of 16 did not solve the problem.

Describe the solution you'd like

Upgrade vue peer dependency to 3.4.3+ and fix the vue-vanilla package tests and/or other dependencies to still work.

Describe alternatives you've considered

Do not update vue. This is not a viable long-term solution

Framework

Vue 3

RendererSet

Vue Vanilla

Additional context

No response

lucas-koehler avatar Jan 03 '24 11:01 lucas-koehler