Giter Club home page Giter Club logo

Comments (7)

stephane avatar stephane commented on June 17, 2024 1

Deleted my global npm cache and the problem is gone :/

from vue-test-utils.

eddyerburgh avatar eddyerburgh commented on June 17, 2024

Thanks for the bug report.

I think Lodash should be in dependencies, because we rely on the folder structure of lodash 4.17.0 -
lodash/cloneDeep.

I can't reproduce the issue locally, but I'll look into this later.

Can you give me some more information - npm version, node version, babel options (if any).

A small example repo would be extremely helpful.

from vue-test-utils.

stephane avatar stephane commented on June 17, 2024

Yes my bad, it's a required dependency, of course.
I'll try to provide a small example repo ASAP.

from vue-test-utils.

eddyerburgh avatar eddyerburgh commented on June 17, 2024

Hi stephane, did you mange to create a reproduction?

This is a major issue, and I'd like to resolve it, but I'm unable to replicate it.

from vue-test-utils.

stephane avatar stephane commented on June 17, 2024

I tried again in various projects (with official webpack template or without, with yarn or npm) and each time, the lodash dependency is properly fetched.

success Saved 2 new dependencies.
β”œβ”€ [email protected]
└─ [email protected]

Excepted in one of my project where lodash v3.10.1 is still used, I'm not able to figure out why and vue-test-utils works from git (package.json). The package-lock.json requires 4.17.4...

I don't think the issue is related to vue-test-utils so I close the issue.
Thank you.

from vue-test-utils.

eddyerburgh avatar eddyerburgh commented on June 17, 2024

I've had so many npm problems since v 5 😟

from vue-test-utils.

stephane avatar stephane commented on June 17, 2024

The issue is tied to karma 1.7.1 which depends on lodash v3.10.1 if the karma dependency is added first to node_modules/ by NPM, lodash v3.10.1 is stored at the root and not inside its dir (karma/)

from vue-test-utils.

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.