Git Product home page Git Product logo

Comments (12)

SanokKule avatar SanokKule commented on September 27, 2024 1

Works without problems. ๐Ÿ‘Œ

from hfs.

rejetto avatar rejetto commented on September 27, 2024 1

this should be fixed by 0.46.1

from hfs.

SanokKule avatar SanokKule commented on September 27, 2024

After deleting the node_modules folder i can't seem to replicate the EPERM error with npm.
But regarding fs-extended-attributes, would fs-ads work as a replacement on windows?

from hfs.

SanokKule avatar SanokKule commented on September 27, 2024

npx fails without showing gyp error, sometimes showing:

npm WARN cleanup Failed to remove some directories [
npm WARN cleanup   [
npm WARN cleanup     'C:\\Users\\SanokKule\\AppData\\Local\\npm-cache\\_npx\\95660a09cc333978\\node_modules\\hfs',
npm WARN cleanup     [Error: EPERM: operation not permitted, rmdir 'C:\Users\SanokKule\AppData\Local\npm-cache\_npx\95660a09cc333978\node_modules\hfs\plugins'] {
npm WARN cleanup       errno: -4048,
npm WARN cleanup       code: 'EPERM',
npm WARN cleanup       syscall: 'rmdir',
npm WARN cleanup       path: 'C:\\Users\\SanokKule\\AppData\\Local\\npm-cache\\_npx\\95660a09cc333978\\node_modules\\hfs\\plugins'
npm WARN cleanup     }
npm WARN cleanup   ]
npm WARN cleanup ]

The folder it tries to delete will randomly change each time

from hfs.

rejetto avatar rejetto commented on September 27, 2024

npx fails without showing gyp error, sometimes showing:
npm WARN cleanup Failed to remove some directories [

this is a warning, so nothing critical.
you said you could remove the folder with same user, so the eperm must be caused by something else, like the folder is not empty or the folder is being used.
Could it be that you had hfs running while also installing new version?

from hfs.

rejetto avatar rejetto commented on September 27, 2024

npm ERR! gyp ERR! find VS **************************************************************
npm ERR! gyp ERR! find VS You need to install the latest version of Visual Studio
npm ERR! gyp ERR! find VS including the "Desktop development with C++" workload.
npm ERR! gyp ERR! find VS For more information consult the documentation at:
npm ERR! gyp ERR! find VS https://github.com/nodejs/node-gyp#on-windows
npm ERR! gyp ERR! find VS **************************************************************

so, this seems to be your error.
I didn't have same problem because I have it already installed.
For the time being, npm/npx version on requires some c++ compiler installed (one that is recognized).
I would really want to get rid of this requirement, caused by a new library i'm using in 0.46 .
I'm using its funcitonality for the "uploader" information, but I planned to use it for other things as well.

itโ€™s very convenient, because if you store information (like "uploader") differently, it gets lost when you move/rename the file, and also the information itโ€™s not deleted if you delete the file. This library solves all these problems.

At the moment I'm not sure how this can be solved, but I will try. Suggestions are welcome, possibly good ones ๐Ÿซ 

from hfs.

SanokKule avatar SanokKule commented on September 27, 2024

At the moment I'm not sure how this can be solved, but I will try. Suggestions are welcome, possibly good ones ๐Ÿซ 

Would fs-ads work as a replacement on windows?

from hfs.

rejetto avatar rejetto commented on September 27, 2024

not exactly: that works only on Windows.
It could solve the problem on Windows but only if I find a way to avoid installing the other library on Windows.
A have an idea to test when I'll have time: to fork the lib in a way that disables compiling and bundles a few precompiled platforms.

from hfs.

rejetto avatar rejetto commented on September 27, 2024

do you get errors if you try to npm install --no-save fs-xattr ?

from hfs.

SanokKule avatar SanokKule commented on September 27, 2024
npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported platform for [email protected]: wanted {"os":"!win32"} (current: {"os":"win32"})
npm ERR! notsup Valid os:  !win32
npm ERR! notsup Actual os: win32

from hfs.

rejetto avatar rejetto commented on September 27, 2024

ok, this shouldn't raise any error instead
npm i --no-save fs-x-attributes

from hfs.

rejetto avatar rejetto commented on September 27, 2024

or better, npx hfs@exp
exp is for experimental

from hfs.

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.