2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

atom + typescript の調査で何の成果も得られませんでした

Last updated at Posted at 2014-12-14

はじめに

  • お時間に余裕のある方のみ下に進んで下さい。

経緯

「typescriptの導入記事でも書こうかな」

npm i -g typescript

hello.ts
class Greeter {
    private greeting: string;
    constructor(message: string) {
        this.greeting = message;
    }
    public greet() {
        console.log("Hello, " + this.greeting);
    }
}
var greeter = new Greeter("TypeScript");
greeter.greet();

tsc hello.ts

「思ってたより導入簡単だ...」

「最近始めたatomとの連携でも調べてみようか」

ts_autocomplete.jpg

「もっとこう、、、ビビっとくるものはないのか」

error
$ git clone git@github.com:datafueled/atom-shell-typescript-starter.git
$ cd atom-shell-typescript-starter
$ ./script/bootstrap
Node: v0.10.26
npm: v1.4.3
Python: v2.7.9
Installing build modules...
gyp
gypnpm ERR! runas@1.0.1 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the runas@1.0.1 install script.
npm ERR! This is most likely a problem with the runas package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls runas
npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.1.7601
.....

虚しく出力されるエラーメッセージ、私はそっと瞼を閉じて ALT+F4 を押下した。

おわりに

  • 何かレベルの高い記事ばかりなのに外れを混入させてしまって申し訳ございません。
  • いい加減、Macを自宅に導入しようと思います。
2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?