Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 opened this issue Jun 20, 2023 · 4 comments

Comments

@fkalpana
Copy link

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
Copy link
Collaborator

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

@fkalpana
Copy link
Author

vue3

can we upgrade vue to verion3 on V14 instance ?

@maharshivpatel
Copy link
Collaborator

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

@shariquerik
Copy link
Member

can we upgrade vue to verion3 on V14 instance ?

No, you cannot upgrade to vue3 in v14 frappe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants