build - 如何在 FreeBSD 上安装 meteor ?

我正在尝试在 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

安装 meteor

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/

相关文章:

scala - 如何在 Scala 中实现 Python 的 issuperset()

deployment - 如何在 Kubernetes 中相同部署的两个 Pod 中使环境变量不同?

github - 如何从 GitHub 评论为我的拉取请求触发 Travis 重建?

elm - HTML 可选属性

shell - 画一棵圣诞树

dictionary - 在 OCaml 中使用 Map.update

excel - 想知道是否可能

prolog - '/1' 在 Prolog 中代表什么?

spring-boot-test - 在 Spring Boot 2.1 中,由于多个 @Boots

logistic-regression - 为什么在这个逻辑回归示例中 Pymc3 ADVI 比 M