Open ginkgoch opened 4 years ago
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:
pkg
_Google Chrome cannot read and write to its data directory: /snapshot/carlo-desktop/nodemodules/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" } }
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/nodemodules/carlo/lib/.local-data/profile-stable
This is my package.json: