万年素人からHackerへの道

万年素人がHackerになれるまで殴り書きするぜ。

  • ・資産運用おすすめ
    10万円は1000円くらい利益
    資産運用ブログ アセマネ
    • ・寄付お願いします
      YENTEN:YYzNPzdsZWqr5THWAdMrKDj7GT8ietDc2W
      BitZenny:ZfpUbVya8MWQkjjGJMjA7P9pPkqaLnwPWH
      c0ban:8KG95GXdEquNpPW8xJAJf7nn5kbimQ5wj1
      Skycoin:KMqcn7x8REwwzMHPi9fV9fbNwdofYAWKRo

    NativeScript

    NativeScript

    公式

    https://docs.nativescript.org

    この手順をまねした

    https://html5experts.jp/albatrosary/20691/

    エラー

    rbenv install 2.2.3で 早速以下のエラー。

    https://github.com/rbenv/ruby-build/issues/377

    以下のことをやればとりあえずいけた。

     brew link openssl --force
    brew upgrade rbenv

    nodebrewは入った

    curl -L git.io/nodebrew | perl - setup
    echo 'export PATH=$HOME/.nodebrew/current/bin:$PATH' >> .bash_profile
    source .bash_profile

    バージョンはパクッたがそのままいけた

    nodebrew ls-remote
    nodebrew install-binary v5.12.0
    nodebrew use v5.12.0

    tnsコマンド

    何の略? TypeScript Native Script??

    さっそく

    Support for Node.js 5.12.0 is not verified. This CLI might not install or run properly.

    node8がいる?

    n latest

    LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54

    tns create HelloWorld --template nativescript-template-ng-tutorial
    cd HelloWorld
    tns run android

    ANDROID_HOME not foundができない・・。

    https://github.com/NativeScript/nativescript-cli/issues/2014

    tns doctor

    これでドキュメントに跳べる