Coder Social home page Coder Social logo

Error when build in docker or gh action `[vite]: Rollup failed to resolve import "vue-material-design-icons/ToolBox.vue" from "/app/src/components/LabelIcon.vue".` about vue-material-design-icons HOT 6 CLOSED

robcresswell avatar robcresswell commented on August 16, 2024
Error when build in docker or gh action `[vite]: Rollup failed to resolve import "vue-material-design-icons/ToolBox.vue" from "/app/src/components/LabelIcon.vue".`

from vue-material-design-icons.

Comments (6)

robcresswell avatar robcresswell commented on August 16, 2024

Hey @zyxkad thanks for the report. Unfortunately, I don't have the bandwidth to help everyone debug their build processes 😄 Good luck!

from vue-material-design-icons.

zyxkad avatar zyxkad commented on August 16, 2024

@robcresswell I don't know if this pack only suitable for vue2? Because the example is for vue2, but I'm using vue3

from vue-material-design-icons.

robcresswell avatar robcresswell commented on August 16, 2024

@zyxkad No, it should be compatible with both

from vue-material-design-icons.

zyxkad avatar zyxkad commented on August 16, 2024

Continue record:
I tried use exactly same docker image, but one use docker copy to get the project files, others used mount.
The docker copy one throw the error, but the mounted one not.
I guess this issue is probably because filesystem? uh?

from vue-material-design-icons.

zyxkad avatar zyxkad commented on August 16, 2024

Well, sorry for that, I finally found the issue, in MacOS, import seems is case insensitive, it should be import Toolbox.vue but not ToolBox.vue

from vue-material-design-icons.

robcresswell avatar robcresswell commented on August 16, 2024

Thats cool, thanks for updating the issue @zyxkad and I'm glad you got it sorted out!

from vue-material-design-icons.

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.