Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The packed executable file cannot work #166

Open
ginkgoch opened this issue Jan 8, 2020 · 0 comments
Open

The packed executable file cannot work #166

ginkgoch opened this issue Jan 8, 2020 · 0 comments

Comments

@ginkgoch
Copy link

ginkgoch commented Jan 8, 2020

I tired to build a pretty simple demo with pkg, but it failed to run on macOS. Do I need to do something more? It failed with following issue:

Google Chrome cannot read and write to its data directory: /snapshot/carlo-desktop/node_modules/carlo/lib/.local-data/profile-stable

This is my package.json:

{
  "name": "carlo-desktop",
  "version": "1.0.0",
  "main": "index.js",
  "license": "MIT",
  "bin": {
    "carlo-desktop": "./index.js"
  },
  "pkg": {
    "scripts": "*.js",
    "assets": "src/**/*"
  },
  "dependencies": {
    "canvas": "^2.6.1",
    "carlo": "^0.9.46"
  },
  "devDependencies": {
    "pkg": "^4.4.2"
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant