Coder Social home page Coder Social logo

Windows/NTFS - Path to long about framework HOT 8 CLOSED

aurelia avatar aurelia commented on May 5, 2024
Windows/NTFS - Path to long

from framework.

Comments (8)

mantzas avatar mantzas commented on May 5, 2024

+1 trying to delete the folder was a pain. Maybe there was no consideration for us windows users (again)! I am refering to the package manager.

from framework.

EisenbergEffect avatar EisenbergEffect commented on May 5, 2024

This is related to how NodeJS handles packages and creates its directory structure. There's really nothing we can do about it. I would consider brining this issue up with the NodeJS/NPM teams.

from framework.

gep13 avatar gep13 commented on May 5, 2024

We recently ran into the same problem with an un-related node project. We had to use the rimraf node module (https://github.com/isaacs/rimraf) to help with the deletion of the node_modules folder. We sometimes have to drill into the folder hierarchy and run rimraf a couple times, but you can get rid of the folders, eventually.

from framework.

Stoggy avatar Stoggy commented on May 5, 2024

@EisenbergEffect Regardless if it's a NodeJS/NPM issue or not, it should be possible to finish the Get Started guide successfully, even for windows users.
As far as i can see, the current issue boils down to the package "conventional-changelog"
Maybe there's an alternative for this package?

from framework.

EisenbergEffect avatar EisenbergEffect commented on May 5, 2024

I'm not clear how working through the get-started tutorial involves deleting node packages. But regardless, this is not a bug in Aurelia or even the 3rd party gulp plugins. It's an issue with NodeJS on Windows and you will encounter it on various projects on Windows when trying to delete packages.

I'm open to alternatives for Windows users, in order to improve this, but I don't know of any at the moment. NodeJS is the de facto standard and really the only technology for doing this sort of work and Microsoft isn't building any alternatives...in fact they are embracing it with the next VS release. Maybe it's worth asking them to implement an advanced delete feature in VS?

from framework.

jwahyoung avatar jwahyoung commented on May 5, 2024

This is a bug with the Windows API, not an NPM bug. Windows support
260-char-length paths, maximum, regardless of the underlying file system.
It hasn't changed for years.

If you need to remove files, you might try working from Windows Powershell
and using short paths.

On Thu, Feb 5, 2015 at 7:56 AM, Rob Eisenberg [email protected]
wrote:

I'm not clear how working through the get-started tutorial involves
deleting node packages. But regardless, this is not a bug in Aurelia or
even the 3rd party gulp plugins. It's an issue with NodeJS on Windows and
you will encounter it on various projects on Windows when trying to delete
packages.

I'm open to alternatives for Windows users, in order to improve this, but
I don't know of any at the moment. NodeJS is the de facto standard and
really the only technology for doing this sort of work and Microsoft isn't
building any alternatives...in fact they are embracing it with the next VS
release. Maybe it's worth asking them to implement an advanced delete
feature in VS?


Reply to this email directly or view it on GitHub
#26 (comment).

from framework.

mantzas avatar mantzas commented on May 5, 2024

or you could shorten the length by copying a child higher up the hieracrchy in order to create shorter paths. that worked for me

from framework.

jdalton avatar jdalton commented on May 5, 2024

Just a heads up. lodash v3 has significantly reduced the dep graphs of its modularized packages:

[email protected]
├─┬ [email protected]
│ ├── [email protected]
│ └─┬ [email protected]
│   ├── [email protected]
│   ├── [email protected]
│   └── [email protected]
└─┬ [email protected]
  ├── [email protected]
  └── [email protected]

There's even a simplified form:

from framework.

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.