Coder Social home page Coder Social logo

Uncaught SyntaxError: The requested module '/node_modules/.vite/deps/vue.js?v=d2d7e806' does not provide an export named 'default' about vue-audio-visual HOT 6 CLOSED

wty92911 avatar wty92911 commented on June 20, 2024
Uncaught SyntaxError: The requested module '/node_modules/.vite/deps/vue.js?v=d2d7e806' does not provide an export named 'default'

from vue-audio-visual.

Comments (6)

staskobzar avatar staskobzar commented on June 20, 2024 1

@mikeda37 I can not re-create this problem so I do not know how to fix it.
if you provide details on how to re-create this bug or step-by-step instructions I can try when I have time

from vue-audio-visual.

staskobzar avatar staskobzar commented on June 20, 2024

Hello,

I can not re-create this problem.

Are you sure it is coming from this plugin? Because you are not importing default value since it is in "{}" parentheses.

Can you provide more details on how you are using it?

from vue-audio-visual.

wty92911 avatar wty92911 commented on June 20, 2024

For example, "Import xxx from 'vue-audio-visual',the vscode tells me "Cannot find declaration file for module 'vue-audio-visual'."
image
I installed vue-audio-visual by npm

from vue-audio-visual.

wty92911 avatar wty92911 commented on June 20, 2024

image

from vue-audio-visual.

wty92911 avatar wty92911 commented on June 20, 2024

OK,got it! It works after I add './dist/vue-audio-visual' in the package.json

from vue-audio-visual.

mikeda37 avatar mikeda37 commented on June 20, 2024

@wty92911
I got the same error.
Could you tell me how you fix the package.json more specifically?

@staskobzar
Are there any other ways to fix this other than modifying files in your plugin?

from vue-audio-visual.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.