carbon-design-system / carbon-components-vue

Vue implementation of the Carbon Design System
http://vue.carbondesignsystem.com
Apache License 2.0
608 stars 180 forks source link

build: move dev postinstall #1616

Closed gabisinhas closed 4 months ago

gabisinhas commented 4 months ago

Title line template: [Title]: Brief description

Bug:

hi team, I am facing this error when trying to install carbon-vue in a new project using Node20/npm10. It is related to closed issue - https://github.com/carbon-design-system/carbon-components-vue/pull/1611

image

What version of the Carbon Design System are you using? "@carbon/icons-vue": "^10.83.1", "@carbon/vue": "^2.45.1",

davidnixon commented 4 months ago

This is different than #1576 since above you say "@carbon/vue": "^2.45.1" I don't think node 20 will work with vue 2. The lastest try to fix this for Vue 3 is in flight in #1617

davidnixon commented 4 months ago

Can you confirm which version of vue you are using? The error above with the "...Cannot find ... devPreinstall.js" looks like Vue 3

gabisinhas commented 4 months ago

@davidnixon I am using "vue": "^3.4.31",

davidnixon commented 4 months ago

awesome. was worried it was still Vue 2 :-) I am closing this as a dupe of #1576. I merged PR #1616 just now and a build is running to publish 3.0.19 hopefully that fixes it.