frappe / print_designer

Visual print designer for Frappe / ERPNext
GNU Affero General Public License v3.0
232 stars 123 forks source link

Issue with Ubuntu installation - Vue issue ( yarn run v1.22.19 warning ../../../package.json: No license field $ node esbuild --production --apps print_designer --run-build-command ✘ [ERROR] Could not resolve "@vue/composition-api/dist/vue-composition-api.mjs" ../../../node_modules/vue-demi/lib/index.mjs:2:54: 2 │ import VueCompositionAPI, { getCurrentInstance } from '@vue/composition-api/dist/vue-composition-api.mjs' ╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ You can mark the path "@vue/composition-api/dist/vue-composition-api.mjs" as external to exclude it from the bundle, which will remove this error. ) #8

Closed fkalpana closed 1 year ago

fkalpana commented 1 year ago

yarn run v1.22.19 warning ../../../package.json: No license field $ node esbuild --production --apps print_designer --run-build-command ✘ [ERROR] Could not resolve "@vue/composition-api/dist/vue-composition-api.mjs"

../../../node_modules/vue-demi/lib/index.mjs:2:54:
  2 │ import VueCompositionAPI, { getCurrentInstance } from '@vue/composition-api/dist/vue-composition-api.mjs'
    ╵                                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

You can mark the path "@vue/composition-api/dist/vue-composition-api.mjs" as external to exclude it from the bundle, which will remove this error.

maharshivpatel commented 1 year ago

Please note that print designer is only compatible with develop version of frappe framework. v14 is not supported as this app requires vue3.

fkalpana commented 1 year ago

vue3

can we upgrade vue to verion3 on V14 instance ?

maharshivpatel commented 1 year ago

Vue is part of frappe framework. maybe @shariquerik can answer this better.

shariquerik commented 1 year ago

can we upgrade vue to verion3 on V14 instance ?

No, you cannot upgrade to vue3 in v14 frappe