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

Dependency not found - @quasar/app #358

Open
zikju opened this issue Jun 10, 2022 · 22 comments
Open

Dependency not found - @quasar/app #358

zikju opened this issue Jun 10, 2022 · 22 comments
Labels
bug Something isn't working Qv2 Vite

Comments

@zikju
Copy link

zikju commented Jun 10, 2022

Cannot use QMediaPlayer as an extension.

Getting error:
Extension(@quasar/qmediaplayer): Dependency not found - @quasar/app

I'm using a fresh version of Quasar (v2.7.1) with Vite and Pinia.

To Reproduce

Steps to reproduce the behavior:

  1. quasar ext add @quasar/qmediaplayer@next
  2. quasar describe QMediaPlayer
  3. See error

Error

App • Running "@quasar/qmediaplayer" Quasar App Extension...
App • ⚠️  Extension(@quasar/qmediaplayer): Dependency not found - @quasar/app. Please install it.

My quasar info

NodeJs - 16.15.0
                
Global packages 
  NPM - 8.10.0
  yarn - 1.22.18
  @quasar/cli - 1.3.2
  @quasar/icongenie - Not installed
  cordova - Not installed

Important local packages                                                                                           
  quasar - 2.7.1 -- Build high-performance VueJS user interfaces (SPA, PWA, SSR, Mobile and Desktop) in record time
  @quasar/app-vite - 1.0.1 -- Quasar Framework App CLI with Vite                                                   
  @quasar/extras - 1.14.0 -- Quasar Framework fonts, icons and animations                                          
  eslint-plugin-quasar - Not installed                                                                             
  vue - 3.2.34 -- The progressive JavaScript framework for building modern web UI.                                 
  vue-router - 4.0.15                                                                                              
  pinia - 2.0.14 -- Intuitive, type safe and flexible Store for Vue                   
  vuex - Not installed                                                                
  vite - 2.9.1 -- Native-ESM powered web dev build tool                               
  eslint - 8.15.0 -- An AST-based pattern checker for JavaScript.                     
  electron - Not installed                                                            
  electron-packager - Not installed                                                   
  electron-builder - Not installed                                                    
  register-service-worker - 1.7.2 -- Script for registering service worker, with hooks
  @capacitor/core - Not installed                                                     
  @capacitor/cli - Not installed                                                      
  @capacitor/android - Not installed                                                  
  @capacitor/ios - Not installed                                                      
                                                                                      
Quasar App Extensions                                                                 
  @quasar/quasar-app-extension-qmediaplayer - 2.0.0-beta.6 -- A Quasar App Extension for @quasar/quasar-ui-qmediaplayer
@hawkeye64
Copy link
Member

It looks like the dependency list (internal) needs updating.

@hawkeye64
Copy link
Member

hawkeye64 commented Jun 24, 2022

Working on a fix. This will be released in the next day or two.

@yusufkandemir
Copy link
Member

@hawkeye64 you can undo that commit. The problem is caused by a faulty release.
image
image

The version is correct, but the contents are not.

@agrobost
Copy link

Hi, did you find a fix or a workaround for this issue ?
Thank you !

@fsyntax
Copy link

fsyntax commented Jul 20, 2022

Hey guys, is this being worked on or has anybody found a workaround?

@wieli99
Copy link

wieli99 commented Aug 12, 2022

Hi, the problem still seems to exist, which makes the plugin unusable

@lucianobosco
Copy link

Same here, I'm unable to use it with Quasar Cli Vite

@TTerry8155
Copy link

This issue is still occurring. Any update?

@albertosgz
Copy link

Is happening to me right now 😭

@9527Robin
Copy link

now

@nucle
Copy link

nucle commented Sep 29, 2022

Hi,
I will try to fix this issue.

@nucle nucle added Qv2 Vite bug Something isn't working labels Oct 19, 2022
@HiPhone-Chan
Copy link

Same here, I'm unable to use it with Quasar Cli Vite

@albertosgz
Copy link

Hi, what is the status of this issue?

@lividpro
Copy link

Its still a beta, but no real updates.

Copy https://github.com/quasarframework/quasar-ui-qmediaplayer/blob/next/app-extension/src/index.js
to
image

You will still get some errors but it works

image

@zantiu
Copy link

zantiu commented Dec 8, 2022

anyone has a fix without errors?

@nikolaiaas
Copy link

Any news on this issue? :-)

@vycoder
Copy link

vycoder commented Jan 5, 2023

Also encountering the same issue. @lividpro's workaround does work, but I get another error on runtime, regarding missing language en-US and material-icons missing. Even after adding the necessary values on quasar.conf.js.

Does anybody know a good alternative?

@kochenov
Copy link

Hello! What is the way out of this situation?

@hawkeye64
Copy link
Member

QMediaPlayer currently does not support Vite. Vite does not support loading externals, like the language and icon packages, like webpack does.

@bmhoang
Copy link

bmhoang commented Feb 21, 2024

Guys, any update?

@andyslack
Copy link

Same error here

@GilbMata
Copy link

Me too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Qv2 Vite
Projects
None yet
Development

No branches or pull requests