我試圖在ubuntu 10.04上安裝咖啡腳本。它永遠掛起。這是 NPM的輸出裝咖啡腳本--verbose:無法在ubuntu上安裝coffeescript LTS
npm info it worked if it ends with ok
npm verb cli [ 'node',
npm verb cli '/home/deployment/local/node/bin/npm',
npm verb cli 'install',
npm verb cli 'coffee-script',
npm verb cli '--verbose' ]
npm info using [email protected]
npm info using [email protected]
npm verb config file /home/deployment/.npmrc
npm verb config file /home/deployment/local/node/etc/npmrc
npm verb into /home/deployment [ 'coffee-script' ]
npm verb cache add coffee-script
npm verb cache add [ 'coffee-script', null ]
npm verb parsed url { pathname: 'coffee-script',
npm verb parsed url href: 'coffee-script' }
npm info addNamed [ 'coffee-script', '' ]
npm verb addNamed [ null, '' ]
npm verb GET coffee-script
npm verb raw, before any munging coffee-script
npm verb url resolving [ 'https://registry.npmjs.org/',
npm verb url resolving './coffee-script' ]
npm verb url resolved https://registry.npmjs.org/coffee-script
npm verb url parsed { protocol: 'https:',
npm verb url parsed slashes: true,
npm verb url parsed host: 'registry.npmjs.org',
npm verb url parsed hostname: 'registry.npmjs.org',
npm verb url parsed href: 'https://registry.npmjs.org/coffee-script',
npm verb url parsed pathname: '/coffee-script' }
npm verb etag "51J8TC2ZNUASOLES8S4M8TNK3"
npm verb response https://registry.npmjs.org/coffee-script
npm verb etag coffee-script from cache
npm verb GET coffee-script/1.1.2
npm verb raw, before any munging coffee-script/1.1.2
npm verb url resolving [ 'https://registry.npmjs.org/',
npm verb url resolving './coffee-script/1.1.2' ]
npm verb url resolved https://registry.npmjs.org/coffee-script/1.1.2
npm verb url parsed { protocol: 'https:',
npm verb url parsed slashes: true,
npm verb url parsed host: 'registry.npmjs.org',
npm verb url parsed hostname: 'registry.npmjs.org',
npm verb url parsed href: 'https://registry.npmjs.org/coffee-script/1.1.2',
npm verb url parsed pathname: '/coffee-script/1.1.2' }
npm verb etag "51J8TC2ZNUASOLES8S4M8TNK3"
npm verb response https://registry.npmjs.org/coffee-script/1.1.2
npm verb etag coffee-script/1.1.2 from cache
npm verb bin dist [ null,
npm verb bin dist { shasum: 'a530a19d050c37054d83ae6c8041fba0fcd61ed3',
npm verb bin dist tarball: 'http://registry.npmjs.org/coffee-script/-/coffee-script- 1.1.2.tgz' } ]
npm verb addRemoteTarball [ 'https://registry.npmjs.org/coffee-script/-/coffee-script-1.1.2.tgz',
npm verb addRemoteTarball 'a530a19d050c37054d83ae6c8041fba0fcd61ed3' ]
npm verb mkdir (expected) error ENOENT, No such file or directory '/tmp/npm-1312820932485'
npm verb mkdir (expected) error ENOENT, No such file or directory '/tmp/npm-1312820932485/1312820932485-0.11148986197076738'
npm verb mkdir done: /tmp/npm-1312820932485/1312820932485-0.11148986197076738 755
npm info fetch https://registry.npmjs.org/coffee-script/-/coffee-script-1.1.2.tgz
npm verb fetch to /tmp/npm-1312820932485/1312820932485-0.11148986197076738/tmp.tgz
它似乎在獲取永遠掛起。當我找到該URL時,我收到一條消息,指出http證書已過期。
有什麼建議?
我經歷了類似的問題,是能夠得到它使用'sudo'安裝。你嘗試過嗎? –
所有節點的東西都安裝在本地的用戶。當我安裝節點時,我用「./configure --prefix = $ HOME/local/node」運行configure。過去,當用戶不具有sudo訪問權時,我已成功完成此操作。 –