Skip to content
This repository was archived by the owner on Jan 13, 2024. It is now read-only.
This repository was archived by the owner on Jan 13, 2024. It is now read-only.

Access Denied when using PKG on MacOS and Linux #524

@fisch3r

Description

@fisch3r

Hi there,
I installed the latest pkg (4.3.4):
npm install pkg -g
Then I execute pkg:
pkg ./bin/backend.js --target node6-win-x86 -o ./dist/backend.exe

Error Message:
`> pkg@4.3.4

Error! Error: EACCES: permission denied, scandir '/.DocumentRevisions-V100'`

My node version: 7.5.0

I tried the following so far:

  • reinstalling pkg
  • setting PKG_CACHE_PATH to the current working directory like:
    PKG_CACHE_PATH=/Users/someuser/mypkgcache

It also occurs on my build server (Linux), only the folder is different: /.cache
Any ideas here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions