1

Shiny-server (R)のインストールで問題が発生しました。https://github.com/rstudio/shiny-server/wiki/Building-Shiny-Server-from-Sourceにあるインストール手順に従う場合、最後の 2 番目のステップで

(cd .. && ext/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js --python="$PYTHON" rebuild)

次のエラーが表示されます。

node.js:134
    throw e; // process.nextTick error, or 'error' event on first tick
    ^
Error: Cannot find module '../package'
    at Function._resolveFilename (module.js:317:11)
    at Function._load (module.js:262:25)
    at require (module.js:346:19)
    at Object.<anonymous> (/store/opt/shiny-server/ext/node/lib/node_modules/npm/node_modules/node-gyp/lib/node-gyp.js:78:17)
    at Module._compile (module.js:402:26)
    at Object..js (module.js:408:10)
    at Module.load (module.js:334:31)
    at Function._load (module.js:293:12)
    at require (module.js:346:19)
    at Object.<anonymous> (/store/opt/shiny-server/ext/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js:13:11)

これを修正するために何をすべきかについての提案はありますか?

更新: Ubuntu 11.10 を使用しているため、コンパイル済みのバージョンをインストールすることはできません

4

1 に答える 1