无法安装流星

时间:2014-11-05 11:27:13

标签: meteor install

我试图在共享的debian主机(1and1.com)上运行meteor。它安装好,但是当我尝试运行流星时,我得到了这个:

  

(uiserver):u51918509:〜/ meteor>流星

     

/kunden/homepages/25/d272133409/htdocs/.meteor/meteor:line 133://homepages/25/d272133409/htdocs/.meteor/packages/meteor-tool/.1.0.35.ftql1v++ .linux.x86_64 + web.browser + web.cordova / meteor-tool-os.linux.x86_64 / dev_bundle / bin / node:没有这样的文件或目录

但文件似乎在那里:

  

(uiserver):u51918509:〜/ meteor> ls -al //homepages/25/d272133409/htdocs/.meteor/packages/meteor-tool/.1.0.35.ftql1v++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os。 linux.x86_64 / dev_bundle / bin中/节点

     

-rwx --- rx 1 u51918509 ftpusers 9216272 Oct 28 12:52 //homepages/25/d272133409/htdocs/.meteor/packages/meteor-tool/.1.0.35.ftql1v++os.linux.x86_64 + web.browser + web.cordova /流星刀具os.linux.x86_64 / dev_bundle / bin中/节点

当我尝试运行它时,我得到了

  

(uiserver):u51918509:〜/ meteor> /homepages/25/d272133409/htdocs/.meteor/packages/meteor-tool/.1.0.35.ftql1v++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/ dev_bundle / bin中/节点

     

-bash:/homepages/25/d272133409/htdocs/.meteor/packages/meteor-tool/.1.0.35.ftql1v++os.linux.x86_64+web.browser+web.cordova/meteor-tool- os.linux.x86_64 / dev_bundle / bin / node:没有这样的文件或目录

1 个答案:

答案 0 :(得分:1)

同样的问题,在linode x64上,似乎与arch有关。

删除以前的流星安装

rm -rf /usr/local/bin/meteor ~/.meteor

下载流星脚本

curl https://install.meteor.com/ > meteor.sh

编辑meteor.sh并强制使用32bit arch:

 72   ### Linux ###
 73   LINUX_ARCH=$(uname -m)
 74   #if [ "${LINUX_ARCH}" = "i686" ] ; then
 75     PLATFORM="os.linux.x86_32"
 76   #elif [ "${LINUX_ARCH}" = "x86_64" ] ; then
 77   #  PLATFORM="os.linux.x86_64"
 78   #else
 79   #  echo "Unusable architecture: ${LINUX_ARCH}"
 80   #  echo "Meteor only supports i686 and x86_64 for now."
 81   #  exit 1
 82   #fi

安装meteor.sh

sh meteor.sh

来源:https://github.com/meteor/meteor/issues/2610