我正在尝试在 FreeBSD 9 上运行 meteorjs。 我已经从 ports 安装了 nodejs。
我也试过:
git clone https://github.com/meteor/meteor.git
然后 node meteor --help
但它不起作用。
我在 meteor 文件中发现了这个“if”:
if [ "$UNAME" != "Linux" -a "$UNAME" != "Darwin" ] ; then echo "Sorry, this OS is not supported." exit 1 fi
是否有一些关于如何在 FreeBSD 上安装或构建 meteorjs 的信息?
谢谢!
最佳答案
我为 FreeBSD 创建了一个自定义开发包:https://github.com/yonas/meteor-freebsd
安装说明如下:
sudo pkg install bash ca_root_nss curl expat gettext-runtime git-lite gmake indexinfo libevent2 libffi mongodb node npm pcre perl5 python2 python27 snappy v8
git clone git://github.com/yonas/meteor-freebsd.git
sudo mv meteor-freebsd /usr/local/share/meteor
sudo ln -s /usr/local/share/meteor/meteor /usr/local/bin/meteor
meteor create myapp
cd myapp
meteor
https://stackoverflow.com/questions/13819199/