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

temp workaround to deploy issues: #22

Closed
cekvenich opened this issue Oct 17, 2019 · 2 comments
Closed

temp workaround to deploy issues: #22

cekvenich opened this issue Oct 17, 2019 · 2 comments

Comments

@cekvenich
Copy link

cekvenich commented Oct 17, 2019

Here is how I got integer to build. But this is short term, my project has downstream end users who will not be able to do this:

  1. remove all node, npm, yarn, packages, global packages.
    eg: /usr/local/share/.config/yarn/global/node_modules

  2. install nvm ( https://github.com/nvm-sh/nvm )
    eg:
    `
    append to ~/.zshrc:
    export NVM_DIR="$HOME/.nvm"
    [ -s "/usr/local/opt/nvm/nvm.sh" ] && . "/usr/local/opt/nvm/nvm.sh" # This loads nvm

[ -s "/usr/local/opt/nvm/etc/bash_completion" ] && . "/usr/local/opt/nvm/etc/bash_completion" # This loads nvm bash_completion
`
Install node via nvm

  1. install full xcode or similar dev tools
  2. install python (I think v2 works better )
  3. if mac: sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
    Also yarn seems to work better than npm
@cekvenich cekvenich changed the title temp solution to catalina: temp workaround to catalina deploy issues: Oct 17, 2019
@cekvenich cekvenich changed the title temp workaround to catalina deploy issues: temp workaround to deploy issues: Oct 18, 2019
@cekvenich
Copy link
Author

It will not work w/ python3 w/ yarn - have to switch to 2
( Unicode-objects must be encoded before hashing )

Other:
rm -rf /usr/local/lib/node_modules/
rm -rf /usr/local/share/.config
( I suspect that npm can't work as root )

@cekvenich
Copy link
Author

This is a fix: npm i -g node-gyp@latest

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