openframeworks / openframeworks/projectGenerator

PG doesn't compile osx build

Open
#153 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
CSS
Stars
90
Forks
79
Avg merge
2d 9h
Merged PRs (30d)
5

Description

Getting this kind of error
Using stable branch of oF and stable of PG
OSX Sierra

Followed the instructions on the front end readme.

npm run build:osx

> projectGenerator@0.0.1 build:osx /Users/kkshmz/openFrameworks/apps/projectGenerator/frontend
> electron-packager . $npm_package_productName --icon=static/icon/of.icns --out=dist --ignore='dist' --ignore='readme.md' --prune --overwrite --version=0.30.0 --platform=darwin --arch=x64

Packaging app for platform darwin x64 using electron v0.30.0
Command failed: npm prune --production
npm ERR! May not delete: /private/var/folders/s7/nq349l7s6k10td26d7r5nckw0000gn/T/electron-packager/darwin-x64/projectGenerator-darwin-x64/Electron.app/Contents/Resources/app/node_modules/.bin

Does not work if .bin is maunally deleted, either.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the frontend README instructions and reproduce the failure using npm run build:osx on the stable branches and OSX Sierra setup described. Trace the electron-packager output around npm prune --production and the reported node_modules/.bin path; done means the OSX packaging command completes successfully without that error.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, node.js
Domain
build-system, desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.