Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Jun 20, 2023. It is now read-only.

Conversation

@kakusuke
Copy link
Contributor

Windowsでnpm installしたところ、postinstallコマンドでbowerのパスを$(npm bin)/bowerとしているために、正しいパス形式に展開されずエラーが出ました

npm run コマンドで実行する際には、すでにパスが通っているらしいので、$(npm bin)/はすべて削除しました
また、このままではpublic/以下でbower installが実行されないため、.bowerrcにてpublic/以下で実行されるよう設定しました

@Kuniwak
Copy link
Contributor

Kuniwak commented Apr 23, 2015

ありがとうございます!

npm run コマンドで実行する際には、すでにパスが通っているらしいので、$(npm bin)/はすべて削除しました

npm のリファレンスに記述がありました。信頼できる振る舞いだと思います。

👍

Kuniwak added a commit that referenced this pull request Apr 23, 2015
Windows環境でnpmコマンドが動かない問題の修正
@Kuniwak Kuniwak merged commit 916e5ee into mixi-inc:2015 Apr 23, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.