並び順

ブックマーク数

期間指定

  • から
  • まで

81 - 120 件 / 259件

新着順 人気順

iojsの検索結果81 - 120 件 / 259件

  • [Node] nvmをインストールして、ログイン時に有効になる設定も行う - YoheiM .NET

    こんにちは、@yoheiMuneです。 今日はLinuxにnvmを導入する方法と、Linuxログイン時にnvmがデフォルトで有効になる設定をブログに書きたいと思います。 目次 nvmのインストールとNodeJSの導入 nvmのインストール手順は以下のように行います。 gitのインストール 大体はgitコマンドが入っていると思いますが、ない場合にはインストールしておきます。 $ yum install -y git そして以下で使えることを確認できればOKです。 $ git --version git version 1.7.1 nvmのインストール 続いてnvmのインストールを行います。nvmはGitのレポジトリをクローンすることで導入できます。ここでは/opt/nvmにインストールします。 $ git clone git://github.com/creationix/nvm.git /

      [Node] nvmをインストールして、ログイン時に有効になる設定も行う - YoheiM .NET
    • Node.js — Node v6.7.0 (Current)

      This is an important security release. All Node.js users should consult the security release summary at for details on patched vulnerabilities. Notable changes Semver Minor: openssl: Upgrade to 1.0.2i, fixes a number of defects impacting Node.js: CVE-2016-6304 ("OCSP Status Request extension unbounded memory growth", high severity), CVE-2016-2183, CVE-2016-2178 and CVE-2016-6306. (Shigeki Ohtsu) #

        Node.js — Node v6.7.0 (Current)
      • Ruby in Production: Lessons Learned

        Having deployed a variety of Ruby apps (Rails and non-Rails) over the course of many years, here are some lessons I’ve learned to keep things afloat. Tools like Mina and Capistrano already do most of these (more on that further down), but its good to have a first-hand understanding of what needs to happen. All these instructions are available a ready-to-use repo: ruby-deploy-kickstart Ruby/Rails d

          Ruby in Production: Lessons Learned
        • Initial Release · Issue #28 · nodejs/node

          In the TC meeting today we came up with a vision for the first release. First, a few assumptions we've internalized that probably need to be stated for this to make sense. Node is pretty damn stable already. There are huge companies with it in production, 100K+ modules, etc. It is already far more stable that its pre-1.0 release tag suggests. Releasing more frequently leads to a more stable produc

            Initial Release · Issue #28 · nodejs/node
          • JavaScriptではES6+とReact-JSXからES5へのトランスパイルが標準に / ATOMエディタで最速環境構築 厳選パッケージ 3 + 3 2015年夏バージョン

            【注意】この記事は2015年夏に書かれましたが、事態は極めて流動的であり、この記事の内容はすぐに古くなる可能性があります。 JavaScriptはES6+からのトランスパイル形式が標準になりつつある これまで、CoffeeScriptやTypeeScriptなどJavaScriptトランスパイル言語がありましたが、標準ではありませんでした。 しかし、FacebookのReactの独自言語JSXや次世代JavaSciptのECMA Sciptバージョン6(ES6/コードネームHarmony)が台頭してくるにつれ、すべてはES6+からレガシーのバニラJavaScript(ES5以下)へ、トランスパイルする形式に統合されつつあります。 Reactのビルドシステムは、トランスパイラBabel(旧6to5)へ移行、JSTransformerなどは廃止の方向 Deprecating JSTransfo

              JavaScriptではES6+とReact-JSXからES5へのトランスパイルが標準に / ATOMエディタで最速環境構築 厳選パッケージ 3 + 3 2015年夏バージョン
            • 2015-03-09のJS: ESLint 0.16.0、AtScript is TypeScript

              JSer.info #218 - ESLint 0.16.0がリリースされました。 ESLintが利用するJavaScriptパーサであるespreeでES6の構文のほとんどをパース出来るようになったため、ESLintもほぼES6に対応しました。(ただしルールはES6に対応してない部分もあります) Add ECMAScript 6 features · Issue #10 · eslint/espree また、以下のように // のコメントを使ってESLintの設定変更に対応しています。 Angular 2: Built on TypeScript - TypeScript - Site Home - MSDN Blogsという記事では、AngularJS 2.0で導入が予定されていたAtScriptはTypeScriptに統合されると発表されました。 以前からTypeScriptチームと

                2015-03-09のJS: ESLint 0.16.0、AtScript is TypeScript
              • Announcing Scala.js 0.6.3

                May 12, 2015. We are excited to announce the release of Scala.js 0.6.3! A lot has happened in this release, probably because we dragged it for a longer amount of time than usual (2 months since the last release!). Besides the usual bag of bug fixes, there are three highlights: Support for BigInteger and BigDecimal, thanks to an incredible amount of work by @InTheNow. Extension of jsDependencies to

                  Announcing Scala.js 0.6.3
                • AWS Cloud9に移行すべき9つの理由 - Tech Blog

                  サーバーエンジニアの下川です。 IDEをローカルCloud9から、AWS Cloud9に移行しました。 はじめに IDE、何を使っていますか? 私はvimや、少し前はVSCodeも利用しましたが、2年前程からメインで使用しているのはCloud9です。 Cloud9でもサービスの方ではなく、自前でサーバーにインストールして使用しています。 Cloud9がAWSに買収されたのは2016年7月。 そして、2017年12月にはAWS Cloud9がリリースされました。 2018年4月現在では、まだ東京リージョンにはリリースされていませんが、EU (アイルランド)、アジアパシフィック (シンガポール)、米国東部 (バージニア北部)、米国東部 (オハイオ)、米国西部 (オレゴン)でリリースされています。 今回はローカルCloud9ユーザー、および、Lambda開発者がIDEをAWS Cloud9に移行

                    AWS Cloud9に移行すべき9つの理由 - Tech Blog
                  • Node.js — Node v4.1.2 (Current)

                    2015-10-05, Version 4.1.2 (Current), @rvagg This release includes a fix for CVE-2015-7384, a Denial of Service (DoS) bug. Details of the bug can be found on the nodejs-sec group. Please subscribe to nodejs-sec to receive future notifications of security releases. All users of Node.js v4.x should upgrade to v4.1.2, this is a critical update. Notable changes http: Fix out-of-order 'finish' event bug

                      Node.js — Node v4.1.2 (Current)
                    • Mocha v4 Nears Release

                      Mocha v4.0.0 is nearing release. With this new version also comes the obligatory breaking changes, and I'll enumerate them below. UPDATE (April 18, 2018): Mocha v4 was released on October 2, 2017. Mocha Will No Longer Support Node.js Pre-v4.0.0 There are several reasons for this: These versions of Node.js are no longer maintained and (some) have known security vulnerabilities which will not receiv

                        Mocha v4 Nears Release
                      • sandcrawler.js · The server-side scraping companion.

                        The server-side scraping companion Disclaimer: this library is an UNRELEASED work in progress. sandcrawler.js is a nodejs/iojs library aiming at providing developers with concise but exhaustive tools to scrape the web. // Scraping the famous Hacker News var sandcrawler = require('sandcrawler'); var spider = sandcrawler.spider() .url('https://news.ycombinator.com/') .scraper(function($, done) { var

                        • hubotとchatworkを連携して定常作業を自動化した話 - Qiita

                          マイネット Advent Calender14日目の記事です。 はじめに 弊社ではスマートフォンゲームの運営を行っておりますが、 日々の運用で定常的に発生する作業があります。 定常作業の例 複数プラットフォームの毎日の売上などの情報を管理サイトから引っ張ってきて足し合わせる ○月△日 □時になったら管理サイトで集計を行う etc... いずれも作業としては単純ですが、手動で行うと面倒なだけではなく、ミスの原因にもなります。 これらの作業はたいてい単純作業ですが、作業をエンジニアしか行うことが出来ない場合があり、非効率なこともあります。 また、自動化の方法はいくらでもありますが、弊社の特徴として買収・協業を行っているタイトルがあり、その中には以下のような制限が存在することもあります。 sudoが使えない(権限がない、cron仕込めない、ツールも入れられない) 勝手にAPIとか追加できない そ

                            hubotとchatworkを連携して定常作業を自動化した話 - Qiita
                          • 2015-01-20のJS: TypeScript 1.4、io.js 1.0、bluebird 2.7のglobal rejection events

                            JSer.info #211 - TypeScript 1.4がリリースされました。 以前TypeScript and the Road to 2.0 - TypeScript - Site Home - MSDN Blogsのロードマップで書かれていたように、Union Types、Type Aliases、Const Enumsの追加など機能が追加されています。 ES6の構文サポートの改善、ES6のコードを出力するモードも追加されていて詳しくは以下を見るといいです。 TypeScript 1.4.1 変更点 - Qiita また、TypeScriptのCompiler APIについてのドキュメントが加筆されています。 Node.jsのforkであるio.jsの1.0.0がリリースされました。 io.js - FAQにも書かれていますが、semverなのでNode.jsからのメジャーアッ

                              2015-01-20のJS: TypeScript 1.4、io.js 1.0、bluebird 2.7のglobal rejection events
                            • Release v4.0.0 · mochajs/mocha

                              4.0.0 / 2017-10-02 You might want to read this before filing a new bug! 😝 💥 Breaking Changes For more info, please read this article. Compatibility #3016: Drop support for unmaintained versions of Node.js (@boneskull): 0.10.x 0.11.x 0.12.x iojs (any) 5.x.x #2979: Drop support for non-ES5-compliant browsers (@boneskull): IE7 IE8 PhantomJS 1.x #2615: Drop Bower support; old versions (3.x, etc.) wi

                                Release v4.0.0 · mochajs/mocha
                              • ( ;^ω^)<へいわぼけ: バイク運転中に足切断の男性 2キロ走行後「あれ?ないぞ?」と拾いに行く

                                バイク運転中に足切断の男性 2キロ走行後「あれ?ないぞ?」と拾いに行く :様々なニュースを適当に貼っていくブログサイト。無駄な感想つき。 1: 犯人(大阪府) 2007/08/14(火) 03:46:40 ID:DcrcuEQn0 <バイク男性>足切断気付かず2キロ走る 浜松で分離帯接触 13日午前6時半ごろ、浜松市の国道1号浜名バイパスで同市の会社員の男性(54)がオートバイで中央分離帯に接触し、右足をひざ下約10センチで切断した。 男性は接触に気づいたがそのまま数分間走り、約2キロ先のインターチェンジで初めて足がないことに気づいたという。 切断された足は仲間が現場に拾いに戻った。 ソース:http://news.www.infoseek.co.jp/top/story/14mainichiF20070814p1500m040148/ 4 名前: さくにゃん(東京都)[] 投稿

                                • 2015-02-09のJS: Node v0.12.0、Esprima 2.0、CSS Reference

                                  JSer.info #214 - ついにNode v0.12.0がリリースされました。 最近ではforkであるio.js v1.1.0がリリースされたりしていますが、Nodeも久々のメジャー?アップデートがされました。 どのような変更があったかは以下を読むといいと思います。 Node.js v0.12 がリリースされました。 - from scratch Node-v0.12の新機能について JavaScript ASTパーサであるEsprima 2.0がリリースされました。 Esprima 2.0では今まで"Harmony"ブランチで開発されていたES6のサポートがマージされています。 React Tools等で使われているEsprima-FBはこの"Harmony"ブランチベースにJSXやFlow対応を入れたものといえば、どの程度ES6がサポートされてるかがわかるかもしれません。 2.

                                    2015-02-09のJS: Node v0.12.0、Esprima 2.0、CSS Reference
                                  • GitHub - indutny/caine: Friendly butler

                                    You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                      GitHub - indutny/caine: Friendly butler
                                    • 1.0.0 Release · Issue #1406 · karma-runner/karma

                                      There were some notes, and plans about a 1.0 release. I want to use this issue for any discussion and plans around it and start a complete list of tasks to do before we can release. There is this google doc that was started by @vojtajina and there was #944, which I will close in favor of this issue. Below is an incomplete list of things that need doing in my opinion. Organizational Clean up issue

                                        1.0.0 Release · Issue #1406 · karma-runner/karma
                                      • eggtoothcrocの日記

                                        msys2インストール MSYS2 Wikiにて、msys2-x86_64-20150512.exe を取得し、インストールを実行します。 更新 シェル(C:/MSYS64/mingw64_shell.bat)を起動します。 pacman -Sy リポジトリ->データベース更新 pacman --needed -S bash pacman pacman-mirrors msys2-runtime いきなりpacman -Suすると、子プロセスのfork()に失敗するので、核となるパッケージを先に更新します。MSYS2のDLLはfork()の実装のために、全プログラムで同一アドレス空間を共有しているからです(と書いてあるような...)。 一旦シェルを終了し、再度シェルを起動します。 前段の更新したパッケージが使用中となるので、一旦シェルを終了させる必要があります(と書いてあるような...)。

                                          eggtoothcrocの日記
                                        • 緊急アピール朝鮮 = 398;校への蛮行を決して= ;許さない

                                          MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_NextPart_01CA79C1.45BE0310" このドキュメントは単一ファイル Web ページ (Web アーカイブ ファイル) です。お使いのブラウザ、またはエディタは Web アーカイブ ファイルをサポートしていません。Microsoft Internet Explorer など、Web アーカイブをサポートするブラウザをダウンロードしてください。 ------=_NextPart_01CA79C1.45BE0310 Content-Location: file:///C:/A3A94E34/sasaerukai091204.htm Content-Transfer-Encoding: quoted-printable Content-Type:

                                          • io.jsとnode.js Foundation

                                            io.jsとnode.js Foundation 和解の現状 一週間前、io.jsのTC(Technical Committee)はJoyentのCEO Scott Hammondから招待を受けて、node.js Foundationを始める意向とio.jsをnode.jsプロジェクトへ戻したいとの彼の思いについてプライベートな打ち合わせを行いました。 ほんの数ヶ月で、io.jsは23人のコアコミッター、複数のワーキンググループ、27言語のローカライゼーションチームを揃え、すばらしいコミュニティのサポートを受けながら、良いペースで質の高いソフトウェアのリリースを行なっています。オープンガバナンスによってコミュニティが再活性化され、node.js史上最多のプロジェクト参加者を惹きつけることが出来ました。 io.jsをより良くすることができるとすれば、node.jsとの分離したプロジェクトの将

                                            • Node.js v4 Release Timeline · Issue #2522 · nodejs/node

                                              This is ultimately up to @nodejs/tsc but for the sake of just getting it done I'm going to propose the way forward and will both tag this as tsc-agenda and ask that @nodejs/tsc members comment on this thread, particularly if they'd like to -1 anything I'm suggesting—otherwise let's roll with this. Our original aim was to get v4 out by the "end of August" so that we had a good 2 months of real-worl

                                                Node.js v4 Release Timeline · Issue #2522 · nodejs/node
                                              • `io.js` support by ljharb · Pull Request #616 · nvm-sh/nvm

                                                This branch adds support for https://github.com/iojs/io.js / https://iojs.org/ The following features should now work: nvm install iojs will install the latest io.js version. nvm ls iojs and nvm use iojs will function as you'd expect. nvm install node will install the latest stable node version. nvm ls node and nvm use node will function as you'd expect. In general, a specific io.js version can be

                                                  `io.js` support by ljharb · Pull Request #616 · nvm-sh/nvm
                                                • Node.js — July 7th 2022 Security Releases

                                                  (Update 07-July-2022) Security releases available Updates are now available for the v18.x, v16.x, and v14.x Node.js release lines for the following issues. HTTP Request Smuggling - Flawed Parsing of Transfer-Encoding (Medium)(CVE-2022-32213) The llhttp parser in the http module does not correctly parse and validate Transfer-Encoding headers. This can lead to HTTP Request Smuggling (HRS). More deta

                                                    Node.js — July 7th 2022 Security Releases
                                                  • Joyent Wants Fledgling Developers To Use Node.js—And It's Willing to Pay

                                                    We uphold a strict editorial policy that focuses on factual accuracy, relevance, and impartiality. Our content, created by leading industry experts, is meticulously reviewed by a team of seasoned editors to ensure compliance with the highest standards in reporting and publishing. A nascent rivalry between two closely related JavaScript programming frameworks—Node.js and IO.js, the latter of which

                                                    • Promise errors in io.js

                                                      See how to code native Promises and specific error detection in io.js. Recently the projects announced they are merging back together. While we wait for that merge to happen, there are still a few things you can do in io.js that are not yet available in node.js. One of those features is native Promises, part of ES6, along with some new io.js specific error detection.Here’s the basic Promises featu

                                                        Promise errors in io.js
                                                      • ソフトウェアのバージョン

                                                        ソフトウェアのバージョン(Macユーザのための) ここに必要なソフトウェアのバージョンを調べるターミナルコマンド群を一覧しておきます。 強制ではありませぬが、出来うる限り、最新バージョンになるように努力してくださいませ。 バージョンが古いと、当該中の手解き(ハンズオン)を行うことができない場合があります。 ピリオド区切りバージョン表記法(version notation separated by periods) 〔major version〕.〔minor version〕.〔maintenance version〕 〔メジャーバージョン〕.〔マイナーバージョン〕.〔メンテナンスバージョン〕 --- 青木淳@2024/05/15 | macos | bash | xcode | clang | make | scan-build | java | ant | python | javas

                                                        • 2015-07-06のJS: React v0.14 Beta 1、Firefox 39、ES6アンケート結果

                                                          JSer.info #235 - React v0.14 Beta 1がリリースされました。 大きな変更として、reactとreact-domの2つがパッケージに分けられています。 今までreactモジュールにあったAPIがそれぞれ以下のように移されています。 (移されたAPIはreactモジュールから触るのがdeprecatedとなってます) react-dom ReactDOM.render、ReactDOM.unmountComponentAtNode、ReactDOM.findDOMNode react-dom/server ReactDOMServer.renderToString、ReactDOMServer.renderToStaticMarkup これらの移行したAPIやES6 Classes対応などはreact-codemodという移行用のツールで変換できるようになるよう

                                                            2015-07-06のJS: React v0.14 Beta 1、Firefox 39、ES6アンケート結果
                                                          • io.js Roadmap

                                                            コミュニティによる、コミュニティのための io.js は Node.js と完全互換で npm のほぼ全てのモジュールと互換性があります。 io.js はコミュニティドリブンのオープンソースプロジェクトです。io.js は Node.js の主要なコントリビュータによって開始されましたが、既に多くの積極的な開発者を集めており、これは Node.js の歴史の中で最も多くなっています。 io.js に求められているものとは? 安定性 透明性 (デバッグとトレーシング) より良いストリーム 長期サポート 継続的に標準を受け入れる ローカライズ 関連するリストはロードマッププロジェクトにあります。コントリビュート歓迎です。 安定性ポリシー 私たちは他のどの言語よりも大きなパッケージエコシステムを持っており、我々はそれを壊すことはできません。 私たちは JS API を削除しません セマンティック

                                                              io.js Roadmap
                                                            • さくらvps+hubot+Slackでslack botをつくる - Qiita

                                                              概要 gitとslackを連携させるためにhubotを使ってSlack botつくってみようというお話です。 herokuの例は沢山あったのですが、vpsの例があんまりなくて正直カンタンにできるのかな・・と不安だったのですが案外カンタンにできました。 今回はbotをつくってbotが生きているか否か確認するところまでやりたいと思います。 環境 さくらのVPS CentOS6こと通称遷都くん (phpは6.5くらいだったけど今回別に関係ないですね。) 前提 Slackに登録している、使える vps環境のセットアップ完了済み nvm/npm/node.js/redisをインストール バージョンが云々という話はおいておき、参考サイトと同じようにインストールします。 まずはnvm,npm(nodejsのバージョン管理),nodejsをインストール。 git clone https://github.

                                                                さくらvps+hubot+Slackでslack botをつくる - Qiita
                                                              • Node.js — Node v17.5.0 (Current)

                                                                Notable Changes Add fetch API Adds experimental support to the fetch API. This adds a --experimental-fetch flag that installs the fetch, Request, Response and Headers globals. [76a229c4ff] - (SEMVER-MINOR) lib: add fetch (Michaël Zasso) #41749 Add stream methods [1ae648567a] - (SEMVER-MINOR) stream: add iterator helper find (linkgoron) #41849 [62e1a68077] - (SEMVER-MINOR) stream: add toArray (Benj

                                                                  Node.js — Node v17.5.0 (Current)
                                                                • io.js - あなたが知るべきこと.md

                                                                  io.js - あなたが知るべきこと.md おことわり:これはコミュニティから来た任意の人によって作られた非公式なコメントです。私はio.jsの公式な代表ではありません。何か質問がある人はnode-forward discussionsリポジトリのissueを開いて下さい io.js - あなたが知るべきこと io はnode.jsのforkされたバージョンです (まだ未リリースの次のnode.jsの安定版をforkしています) io.jsはnode.jsとの互換性を保ちます io.js プロジェクトは オープンガバナンスモデルを採用しています。 ioは木星にある四番目に大きな月の名前から取られました. また、io.jsが得意なことである'input/output'(特に非同期 i/o)にもちなんでいます。 nodeを使っている人のことを'noders'と呼びますが、ioを使っている人は

                                                                    io.js - あなたが知るべきこと.md
                                                                  • Jade - Template Engine

                                                                    !!! 5 html(lang="en") head title= pageTitle(car insurance montana) :javascript | if (foo) { | bar() | } body h1 Jade - node template engine #container - if (youAreUsingJade) You are amazing - else Get on it! Get on it! Get on it! Get on it! <!DOCTYPE html> <html lang="en"> <head> <title>Jade</title> <script type="text/javascript"> //<![CDATA[ if (foo) { bar() } //]]> </script> </head> <body> <h1>J

                                                                    • io.js on Travis-CIでNode.jsのC++アドオンのビルドが失敗する件 - WebService::Blog-&gt;new( user =&gt; ’hide_o_55’ )

                                                                      Node.jsのC++アドオンをTravis-CIでテストする際に、io.js@v3の環境でのみビルドエラーが発生していたので原因と対策を記録しておく。 ※バージョン等の情報は2015-08-19時点のものである。 事象 io.js@v3.0.0の環境で以下のようなビルドエラーが発生する。 /home/travis/.node-gyp/3.0.0/include/node/v8.h:336:1: error: expected unqualified-id before ‘using’ /home/travis/.node-gyp/3.0.0/include/node/v8.h:468:1: error: expected unqualified-id before ‘using’ /home/travis/.node-gyp/3.0.0/include/node/v8.h:499:48:

                                                                        io.js on Travis-CIでNode.jsのC++アドオンのビルドが失敗する件 - WebService::Blog-&gt;new( user =&gt; ’hide_o_55’ )
                                                                      • semver.io

                                                                        semver.io semver.io is a plaintext and JSON webservice that tracks all available versions of node.js, iojs, npm, yarn, nginx, and mongodb. It uses that version info to resolve semver range queries. It's used by Heroku's node buildpack and is open-sourced on GitHub. Other sources Semver.io uses a simple and short module system to pull version data from a variety of sources. Pull requests are welcom

                                                                        • 2014/12/24時点での iojs/io.js が joyent/node と違っている部分

                                                                          You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                                                            2014/12/24時点での iojs/io.js が joyent/node と違っている部分
                                                                          • Node.js — Node v6.1.0 (Current)

                                                                            Please see our blog post for more info on the security contents of this release. Notable Changes assert: deep{Strict}Equal() now works correctly with circular references. (Rich Trott) #6432 debugger: Arrays are now formatted correctly in the debugger repl. (cjihrig) #6448 deps: Upgrade OpenSSL sources to 1.0.2h (Shigeki Ohtsu) #6550 net: Introduced a Socket#connecting property. (Fedor Indutny) #64

                                                                              Node.js — Node v6.1.0 (Current)
                                                                            • IMAPでGmailを監視して、新着メールがあったらPHPを実行

                                                                              とあるシステムがqmailでメールサーバーを構成していて、新着メールをトリガーにPHPを実行していた。 このサーバーを移行するときにメールはGmail(Google Apps)で受け取るようにして、サーバーからはGmailを監視するように変更したときの覚書。 環境: CentOS 6.6, iojs-v1.4.2 ざっと調べた感じだとNode.jsで実装すると簡単そう。 メール受信をトリガ - NAVER まとめ メールをトリガーにした処理がかんたんにかけるNode.jsの「inbox」 - ayapi.github.io inboxが内部で使っているencoding(のiconv-lite)がiso-2022-jpに対応してないので下記エラーが出る。 [Error: Encoding not recognized: 'ISO-2022-JP' (searched as: 'iso2022

                                                                              • Raspberry Pi への Node.js インストールとnvmでのバージョン管理 - Qiita

                                                                                Raspberry Pi のGPIOに色々なデバイスを接続しIoTを試しています。Node.jsとJohnny-fiveを使えばRaspberry PiでIoTを容易に実現できます。しかし,GPIOを使った入出力制御にはroot権限が必要でNode.js動作環境のセットアップに工夫が必要です。このページは,その工夫の備忘書きです。 1.概要 RASBIAN JESSIE には node v0.10.29 が収容されていますが,現行のものと比べてかなり古いバージョンなのでアンインストールしv5.4.0をインストールします。 nvm(node version manager)を使うとnodeのインストールとバージョンコントロールを極めて簡単に行うことができます。 しかし,nvmの一般的方法でインストールしたnodeは複数ユーザで使う考慮がされてません。 sudo node としてroot権限で

                                                                                  Raspberry Pi への Node.js インストールとnvmでのバージョン管理 - Qiita
                                                                                • Node.js v0.12, io.js, and the NodeSource Linux Repositories

                                                                                  Node.js v0.12, io.js, and the NodeSource Linux Repositories A long time ago in a galaxy far, far away.... Two years ago, when Node.js v0.10 was released, Chris Lea updated his popular Ubuntu PPA and users were automatically upgraded from v0.8. Even though this was done at the encouragement of the Node.js maintainers at the time, it ended up causing a significant amount of pain for users who were n

                                                                                    Node.js v0.12, io.js, and the NodeSource Linux Repositories