question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Build script error in MacOS El Capitan

See original GitHub issue

Expected behavior

The build script (npm build:dev) should run without errors.

Actual behavior

The build script does not finish successfully due to the following error.

readlink: illegal option -- f
usage: readlink [-n] [file ...]
./scripts/build: line 24: ./../node_modules/.bin/browserify: No such file or directory

Steps to reproduce behavior

Clone the repo. Run npm install Run the build script using MacOS El Capitan’s bash shell. npm run build:dev

Are there any prerequisites I need to install?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
marshallswaincommented, Jul 18, 2016

Cool. That looks like a more elegant solution. Thanks!

0reactions
yoshuawuytscommented, Jul 18, 2016

I updated to El Capitan a couple of days ago. If you add this to your shell rc you should be good to go ✨:

# override built-in coreutils
export PATH="$(brew --prefix coreutils)/libexec/gnubin:$PATH"
export PATH="$(brew --prefix gnu-tar)/libexec/gnubin:$PATH"
export PATH="$(brew --prefix curl)/bin:$PATH"

# link man pages to new coreutils
export MANPATH="$(brew --prefix coreutils)/libexec/gnuman:$MANPATH"
export PATH="$(brew --prefix gnu-tar)/libexec/gnuman:$PATH"
export MANPATH="$(brew --prefix gnu-sed)/share/man:$MANPATH"

I reckon if anyone stumbled up on this they should be able to resolve it. Not a hard issue as it’s mostly just build tooling but yeah

Read more comments on GitHub >

github_iconTop Results From Across the Web

Applescript not working on El Captain - Apple Community
I have El Captain 10.11.3 (15D21) and Applescript is not working at all, I can open and create a new script but if...
Read more >
macos - ANT build script not working in Sublime Text 3 on Mac using ...
I'm using an ANT build script that I've used in previous versions of OSX. Since upgrading to El Capitan I've been getting the...
Read more >
El Capitan-No packages were eligible for install-FIX v2
Fixes the "install failed " and "No packages were eligible for install" error while installing macOS El Capitan with Internet Recovery by ...
Read more >
El Capitan: No packages were eligible for install-Fix - YouTube
Fixes the "install failed " and "No packages were eligible for install" error while installing macOS El Capitan with Internet Recovery by ...
Read more >
Fixing Mac OS X Install Errors “can't be verified ... - OSXDaily
It may have been corrupted or tampered with during downloading” message, or a more vague “An error occurred while preparing the installation.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found