0
我嘗試在bluehost上安裝node.js失敗。我得到的最後一個錯誤是關於只讀文件系統。我將我正在安裝的目錄設置爲755.在bluehost上安裝node.js時出錯
make -C out BUILDTYPE=Release V=1
make[1]: Entering directory `/home7/arielbal/node-v0.12.0/out'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home7/arielbal/node-v0.12.0/out'
ln -fs out/Release/node node
/ramdisk/bin/python tools/install.py install '' '/usr/local'
installing /usr/local/bin/node
make -C out BUILDTYPE=Release V=1
make[1]: Entering directory `/home7/arielbal/node-v0.12.0/out'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home7/arielbal/node-v0.12.0/out'
ln -fs out/Release/node node
/ramdisk/bin/python tools/install.py install '' '/usr/local'
installing /usr/local/bin/node
Traceback (most recent call last):
File "tools/install.py", line 202, in <module>
run(sys.argv[:])
File "tools/install.py", line 197, in run
if cmd == 'install': return files(install)
File "tools/install.py", line 130, in files
action(['out/Release/node'], 'bin/node')
File "tools/install.py", line 79, in install
def install(paths, dst): map(lambda path: try_copy(path, dst), paths)
File "tools/install.py", line 79, in <lambda>
def install(paths, dst): map(lambda path: try_copy(path, dst), paths)
File "tools/install.py", line 70, in try_copy
try_unlink(target_path) # prevent ETXTBSY errors
File "tools/install.py", line 33, in try_unlink
os.unlink(path)
OSError: [Errno 30] Read-only file system: '/usr/local/bin/node'
make: *** [install] Error 1
共享主機?還有,你是否檢查過目錄上的權限,以確保一旦你改變了他們的權限? – ambe5960 2015-03-13 07:29:59
這是共享主機。我應該檢查權限。 – abalter 2015-03-13 07:40:53
我剛剛意識到它試圖安裝到/ usr/locl/bin中,我絕對沒有寫入權限。我想我需要找出一種方法來安裝它作爲某種本地安裝。 – abalter 2015-03-18 06:03:58