Git Product home page Git Product logo

Comments (4)

rstacruz avatar rstacruz commented on May 13, 2024

absolutely.

from pnpm.

colinmollenhour avatar colinmollenhour commented on May 13, 2024

I'd qualify that a bit.. For me when running pnpm via node which was installed via nvm the pnpm command clobbered the node executable in the nvm install:

$ pnpm env use --global lts
 WARN  EXDEV: cross-device link not permitted, link '/mnt/c/Users/Colin/.pnpm-store/v3/files/files/79/e3a117b3fb152e413382ee40e3aa91fab80beee7d8a400656a3072f19915ec1a8900fc3d17c9751e7769dc1cde5a71b3a8d62f0182f7b5f0b98888e3c643b2-exec' -> '/home/colin/.local/share/pnpm/nodejs/_tmp_27719_97048f4f340835574ed2ac62f91111ff/bin/node'
Falling back to copying packages from store
Node.js 16.13.1 is activated
  /home/colin/.nvm/versions/node/v17.0.1/bin/node -> /home/colin/.local/share/pnpm/nodejs/16.13.1/bin/node

Also I am using WSL but not sure how it was aware of my native windows Node installation..

from pnpm.

LemuelKL avatar LemuelKL commented on May 13, 2024

I'd qualify that a bit.. For me when running pnpm via node which was installed via nvm the pnpm command clobbered the node executable in the nvm install:

$ pnpm env use --global lts
 WARN  EXDEV: cross-device link not permitted, link '/mnt/c/Users/Colin/.pnpm-store/v3/files/files/79/e3a117b3fb152e413382ee40e3aa91fab80beee7d8a400656a3072f19915ec1a8900fc3d17c9751e7769dc1cde5a71b3a8d62f0182f7b5f0b98888e3c643b2-exec' -> '/home/colin/.local/share/pnpm/nodejs/_tmp_27719_97048f4f340835574ed2ac62f91111ff/bin/node'
Falling back to copying packages from store
Node.js 16.13.1 is activated
  /home/colin/.nvm/versions/node/v17.0.1/bin/node -> /home/colin/.local/share/pnpm/nodejs/16.13.1/bin/node

Also I am using WSL but not sure how it was aware of my native windows Node installation..

WSL adds Windows path elements to the $PATH environment variable. I suspect that would cause some complications underneath. You can disable this behaviour by confirguring the wsl.conf, see https://docs.microsoft.com/en-us/windows/wsl/wsl-config#interop-settings.

from pnpm.

Giszmo avatar Giszmo commented on May 13, 2024

I ended up with my $PATH being prepended with ~/.local/share/pnpm: which broke my mvn.

from pnpm.

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.