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
windows8.1でのインストールエラー #61
Comments
#28はwinserの問題のようですが、こちらではwinserは正常に起動しているようです。インストールの時もそのコマンドを実行しましたが、winserは普通にインストールできております。 管理者権限のPowershellの実行結果で Version: winser@v1.0.3 [OK] 以下で、No rights to manage services.(サービスを管理する権利がない) と出ますが何の権限でしょうか? |
Windowsにインストールしたことがないのでログの意味は私にはわかりません. 以下,間違っているかもしれませんが,
を
にするとどうでしょうか? 私はDockerイメージを作る場合にDockerfile内で,
としています. |
丁寧な対応ありがとうございます。 指定の方法を行っても治りませんでした。 お騒がせしてすいませんでした。 windows系で似たようなエラーが出ている方のために、修正した環境変数の内容を貼っておきます。 nodejsのインストール先は、インストール時の標準にしてください。 ユーザー環境変数 (あなたのユーザー名 へ、現在サインイン中のユーザー名を入れてください。) システム環境変数 間違っていたり、存在しないない環境変数があれば、修正してください。 |
改行でわかりにくいので、修正内容を貼り付けます。 |
よかったです! |
こちらクローズ済みですが私も |
メールから呼び出されてきました。 とにかく解決してよかったです。 |
Environment
2.11.0
v8.9.4
6.4.1
Issue
windows8.1で、Mirakurunのインストールが出来ません。
osはすでに最新版にアップデートしております。
以前epgstationと一緒に構築しようとしていました。
powershellは管理者権限です。
なぜか以前インストールしたときは問題なく起動し、コンピューターの再起動をしても起動しました。
しかし、epgstationをコンピュータ起動時に起動する.batファイルを作ってスタートアップに登録してから、再起動すると、.batファイルが起動してからMirakurunが起動しませんでした。
それからいろいろ試しても解決せず、epgstationとMirakurun,nodejs,winser,batファイルを、すべて削除してからmirakurunを再インストールしようとしました。しかし以前できた方法でインストールできません。
windowsは非サポートなのは承知しておりますが、
対応いただければ幸いです。
以下ログです。
使用した.bat
cd c:\epgstationnpm start
powershellの内容
Windows PowerShell
Copyright (C) 2014 Microsoft Corporation. All rights reserved.
PS C:\Windows\system32> npm install mirakurun@latest -g --production
C:\Users\kazu\AppData\Roaming\npm\mirakurun-epgdump -> C:\Users\kazu\AppData\Roaming\npm\node_modules\mirakurun\bin\epgd
ump.js
C:\Users\kazu\AppData\Roaming\npm\mirakurun -> C:\Users\kazu\AppData\Roaming\npm\node_modules\mirakurun\bin\cli.sh
Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!
The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)
Version: node@v8.9.4 [OK]
Version: winser@v1.0.3 [OK]
No rights to manage services.
child_process.js:624
throw err;
^
Error: Command failed: winser.cmd -i -a --startuptype auto --startcmd node.exe bin\init.win32.js --set AppPriority ABOVE
_NORMAL_PRIORITY_CLASS --set Type SERVICE_WIN32_OWN_PROCESS --set AppStdout C:\Users\kazu\AppData\Local\Mirakurun\stdout
--set AppStderr C:\Users\kazu\AppData\Local\Mirakurun\stderr --env USERPROFILE=C:\Users\kazu --env LOCALAPPDATA=C:\User
s\kazu\AppData\Local --env USING_WINSER=1
at checkExecSyncError (child_process.js:601:13)
at Object.execFileSync (child_process.js:621:13)
at Object. (C:\Users\kazu\AppData\Roaming\npm\node_modules\mirakurun\bin\postinstall.js:154:19)
at Module._compile (module.js:643:30)
at Object.Module._extensions..js (module.js:654:10)
at Module.load (module.js:556:32)
at tryModuleLoad (module.js:499:12)
at Function.Module._load (module.js:491:3)
at Function.Module.runMain (module.js:684:10)
at startup (bootstrap_node.js:187:16)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! mirakurun@2.11.0 postinstall:
node bin/postinstall.js && opencollective-postinstall
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the mirakurun@2.11.0 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\kazu\AppData\Roaming\npm-cache_logs\2019-10-30T12_03_47_954Z-debug.log
2019-10-30T12_03_47_954Z-debug.log
The text was updated successfully, but these errors were encountered: