GithubHelp home page GithubHelp logo

Comments (3)

LinusBorg avatar LinusBorg commented on June 26, 2024 3

There's nothing in this report that would allow us to investigate the cause of the problem. Please provide us with a reproduction.

from core.

yyx990803 avatar yyx990803 commented on June 26, 2024 3

Traced this down to the dependency update commit #10175

Root cause is the upgrade of lru-cache from 10.1.0 to 10.2.0 included this change which causes the result of calling Object.prototype.toString on the parseCache export of compiler-sfc has changed.

rollup-plugin-typescript2 uses object-hash to hash options, which somehow encounters the new LRUCache class and throws because the string type has changed to something it does not support.

It's a bit unfortunate that a seemingly harmless bump can cause issues like this. I think it's better to pin lru-cache considering we are only using the Map compatible interface and don't expect the implementation to change.

from core.

nestle49 avatar nestle49 commented on June 26, 2024

There's nothing in this report that would allow us to investigate the cause of the problem. Please provide us with a reproduction.

@LinusBorg
Okay, I agree, I created minimal reproduction https://github.com/nestle49/minimalReproduction

I get build error after upgrade vue version to 3.4.16 or later

Steps to reproduce
Clone repository
npm install
npm run build

If I downgrade vue version to 3.4.15, it's okay, but not after upgrade to 3.4.16 or later (3.4.18)

from core.

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.