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

Update .gitignore #21

Merged
merged 1 commit into from
Dec 24, 2017
Merged

Conversation

yudai524
Copy link
Contributor

.gitignore を加筆しました。

一点は、JetBrainsのIDEの関連ファイルです。
もう一点は、 pyenv のローカルバージョンを指定するファイルです。
pyenv を使っていてグローバルなバージョンが3系だと yarnnpm i するときに下記エラーが出てしまうので、ローカルバージョンを指定出来るようにしたく、追加しました。

> weak@1.0.1 install /Users/yudai524/Desktop/Arbitrager/r2/node_modules/weak
> node-gyp rebuild

gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp ERR! configure error
gyp ERR! stack Error: Command failed: /Users/yudai524/.pyenv/shims/python2 -c import platform; print(platform.python_version());
gyp ERR! stack pyenv: python2: command not found
gyp ERR! stack
gyp ERR! stack The `python2' command exists in these Python versions:
gyp ERR! stack   2.7.11
gyp ERR! stack   2.7.13
gyp ERR! stack
gyp ERR! stack
gyp ERR! stack     at ChildProcess.exithandler (child_process.js:275:12)
gyp ERR! stack     at emitTwo (events.js:126:13)
gyp ERR! stack     at ChildProcess.emit (events.js:214:7)
gyp ERR! stack     at maybeClose (internal/child_process.js:925:16)
gyp ERR! stack     at Socket.stream.socket.on (internal/child_process.js:346:11)
gyp ERR! stack     at emitOne (events.js:116:13)
gyp ERR! stack     at Socket.emit (events.js:211:7)
gyp ERR! stack     at Pipe._handle.close [as _onclose] (net.js:554:12)
gyp ERR! System Darwin 16.7.0
gyp ERR! command "/Users/yudai524/.nvm/versions/node/v8.9.0/bin/node" "/Users/yudai524/.nvm/versions/node/v8.9.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/yudai524/Desktop/Arbitrager/r2/node_modules/weak
gyp ERR! node -v v8.9.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm WARN r2@2.1.0 No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: weak@1.0.1 (node_modules/weak):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: weak@1.0.1 install: `node-gyp rebuild`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

@coveralls
Copy link

Coverage Status

Coverage remained the same at 96.14% when pulling 7750855 on yudai524:update-gitignore into d560964 on bitrinjani:master.

@bitrinjani bitrinjani merged commit 3b01e15 into bitrinjani:master Dec 24, 2017
@yudai524 yudai524 deleted the update-gitignore branch December 24, 2017 08:54
@bitrinjani
Copy link
Owner

node-gypのエラーは、実はyarnかjestの未解決バグで、jestをv21からv22にアップグレードしたときから発生していました。
いまjestをv21にダウングレードし、エラーが出ないようにしました。05d5f11

.gitignoreの変更は特に問題ないので、マージしておきました。

@yudai524
Copy link
Contributor Author

なるほど、これは知りませんでした。。。勉強になります。
マージありがとうございます!

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

Successfully merging this pull request may close these issues.

None yet

3 participants