strothj / react-docgen-typescript-loader

Webpack loader to generate docgen information from Typescript React components.
Other
360 stars 47 forks source link

Install fail! Error: EACCES: permission denied, mkdir #35

Closed clock157 closed 5 years ago

clock157 commented 5 years ago

already root user

image

clock157 commented 5 years ago

image image

this package maybe has wrong permission.

clock157 commented 5 years ago

image

strothj commented 5 years ago

Hello,

What package manager are you using? Is this being used in some kind of container? Can you provide some specifics about your environment?

I believe the last publish was performed from Windows where file permissions don't map to those from posix. In any case I don't believe that should be the issue.

There being a node_modules directory with the same permissions issue is suspicious because I don't think that was published with the package.

clock157 commented 5 years ago

we are using package manager npminstall@2.26.2 in our CI machine, maybe it's npminstall's bug if the package published on windows.

can you publish a patch version on linux or mac if it's possible?

thanks

strothj commented 5 years ago

That utility appears to manage the installations of node packages using a separate algorithm/method than managers like NPM or Yarn.

I don't have any issue performing a republish. I'll make a publish hopefully sometime Sunday to hopefully fix your issue.

In the mean time, perhaps you can perform a chmod/chown post dependency step.

clock157 commented 5 years ago

I appreciate you help!

strothj commented 5 years ago

@clock157 I published v3.0.1 from Linux. Let me know if this resolves your problem.

clock157 commented 5 years ago

hi, @strothj, the issue maybe has been fixed, because of it throw another error now, it's not your package's issue. i have been contacted our CI engineer to upgrade the package manager that try to fix all problem. 😅 image