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

[Vue warn]: Invalid VNode type: Symbol(v-fgt) (symbol) #158

Open
imransilvake opened this issue May 20, 2024 · 9 comments
Open

[Vue warn]: Invalid VNode type: Symbol(v-fgt) (symbol) #158

imransilvake opened this issue May 20, 2024 · 9 comments

Comments

@imransilvake
Copy link

imransilvake commented May 20, 2024

I upgraded the package to the latest version from "2.4.1" and I am getting the following error:

runtime-core.esm-bundler.js:40 [Vue warn]: Invalid VNode type: Symbol(v-fgt) (symbol) 
  at <AVWaveform src="http://foo.com/music.ogg" > 
  at <As> 
  at <MessagingMainCompose content= {html: '', str: ''} onOnEmitUpdateContent=fn > 
  at <MessagingMain key=1 > 
  at <MessagingContent onVnodeUnmounted=fn<onVnodeUnmounted> ref=Ref< Proxy(Object) {…} > > 
  at <RouterView key="/messaging/008-demo" > 
  at <MessagingContentWrapper> 
  at <AppMessaging onVnodeUnmounted=fn<onVnodeUnmounted> ref=Ref< Proxy(Object) {…} > > 
  at <RouterView> 
  at <PrivateLayout key=1 > 
  at <App>

I followed the install instructions but that didn't fix it.

Any way to fix it?

@staskobzar
Copy link
Owner

Hello @imransilvake
this is version has only github security fix PR merged. Try to reinstall packages or remove node_modules and run install again.
If it does not help then rollback to the version 2 that was working for you before.
Version 2 is outdated and it is suggested to update to ver 3.

@imransilvake
Copy link
Author

imransilvake commented May 21, 2024

@staskobzar The error I got from above is from the latest version. I want to use that to fix security issues on the gitlab. I removed node_modules and installed the package again but still getting above error.

@staskobzar
Copy link
Owner

@imransilvake what vue version do you have?

@imransilvake
Copy link
Author

imransilvake commented May 22, 2024

@staskobzar I am using Vue with CLI:
"vue": "^3.2.47"

@staskobzar
Copy link
Owner

Just tried with vue cli to create a project and setup the plugin. All works fine.
In you error log plugin is using example src url that does not exists:
image

Did you forget to provide a real audio file path?
Can you recreate it with a simple vue cli project and give me a source example?

@imransilvake
Copy link
Author

Hey,
sorry for late reply. I was able to make it work. I have found another issue with the cors-anonym prop. It doesn't work with av-line.

                                                       <av-line
							cors-anonym
							:audio-controls="false"
							:line-width="2"
							line-color="#6656ff"
							:canv-height="20"
							:canv-width="132" />

@staskobzar
Copy link
Owner

Hello @imransilvake
cors-anonym is the part of the base mixin that is used by all the plugins, not only by av-line. Did you try to provide a value to the prop?

<av-line
   :cors-anonym="true"
/>

@imransilvake
Copy link
Author

yes I tried that as well but it didn't work.

@staskobzar
Copy link
Owner

you do not have audio-src attribute in your example. Are you sure you have it in your real code?

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

2 participants