GithubHelp home page GithubHelp logo

Comments (9)

Artur- avatar Artur- commented on July 30, 2024 1

The shrinkwrap packages install all their dependencies inside the corresponding folder even though they are also in the main node_modules

from vaadin-usage-statistics.

web-padawan avatar web-padawan commented on July 30, 2024 1

Will investigate the options.

from vaadin-usage-statistics.

web-padawan avatar web-padawan commented on July 30, 2024

This most likely indicates that there are duplicate dependencies 😱

Does Flow run npm dedupe after installing dependencies?

from vaadin-usage-statistics.

web-padawan avatar web-padawan commented on July 30, 2024

I think this should be resolved by npm dedupe. Will double check if we can avoid that.

from vaadin-usage-statistics.

Artur- avatar Artur- commented on July 30, 2024

Can we make the message show up e.g max once per day/week instead of all the time? Having it spam the build log only makes me want to turn the whole thing off

from vaadin-usage-statistics.

ZheSun88 avatar ZheSun88 commented on July 30, 2024

This is issue should not be closed, when i run mvn jetty:run on the starters, it prints the info 3 times..

tested with platform 14.0.4 which is using vaadin-usage-statistics 2.0.10

from vaadin-usage-statistics.

Artur- avatar Artur- commented on July 30, 2024

Indeed, the fix was reverted because it did not work properly and was also tied to npm I think. Any other ideas for this @web-padawan ?

from vaadin-usage-statistics.

web-padawan avatar web-padawan commented on July 30, 2024

Yes, the problem was that npm could not be resolved in case of local Node installation.

I think we can try storing an info in the node_modules/.cache folder (if there are folder write permissions, which might not be always true, so need to try / catch).

Here is a library which could help to read / create such a cache folder:
https://github.com/avajs/find-cache-dir

from vaadin-usage-statistics.

Artur- avatar Artur- commented on July 30, 2024

How about using the global ~/.vaadin folder which is already used for e.g. proKey and other data. If you store it inside node_modules, it would be per project which is probably not what you want?

from vaadin-usage-statistics.

Related Issues (12)

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.