Strider安装(mac)

安装:

sudo npm install -g strider

安装时实现一些??

npm WARN deprecated [email protected]: Jade has been renamed to pug, please install the latest version of pug instead of jade
npm WARN deprecated [email protected]: v1.0.0 is a complete rewrite of Swig from the ground up. Previous versions are no longer supported
npm WARN deprecated [email protected]: [email protected]<3.0.0 is no longer maintained. Upgrade to [email protected]^4.0.0.
npm WARN deprecated [email protected]: Deprecated, use jstransformer
npm WARN deprecated [email protected]: [email protected]<3.0.0 is no longer maintained. Upgrade to [email protected]^4.0.0.
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to [email protected]^4.0.0 as soon as possible. Use ‘npm ls graceful-fs‘ to find it in the tree.
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to [email protected]^4.0.0 as soon as possible. Use ‘npm ls graceful-fs‘ to find it in the tree.
npm WARN deprecated [email protected]: Renamed to supports-color. If you‘re using chalk, upgrade to the latest version. https://github.com/chalk/supports-color
> [email protected] install /usr/local/lib/node_modules/strider/node_modules/fsevents
> node-gyp rebuild

  CXX(target) Release/obj.target/fse/fsevents.o
In file included from ../fsevents.cc:6:
../node_modules/nan/nan.h:342:68: error: too many arguments to function call, expected at
      most 2, have 4
    return v8::Signature::New(v8::Isolate::GetCurrent(), receiver, argc, argv);

更新依赖包:

sudo npm install -g pug lodash swig jstransformer minimatch graceful-fs minimatch supports-color
sudo npm install -g fsevents

启动strider

strider

又出现了警告:

{ Error: Cannot find module ‘../build/Release/bson‘
    at Function.Module._resolveFilename (module.js:440:15)
    at Function.Module._load (module.js:388:25)
    at Module.require (module.js:468:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/usr/local/lib/node_modules/strider/node_modules/mongoose/node_modules/bson/ext/index.js:15:10)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:458:32)
    at tryModuleLoad (module.js:417:12)
    at Function.Module._load (module.js:409:3) code: ‘MODULE_NOT_FOUND‘ }
js-bson: Failed to load c++ bson extension, using pure JS version

网上搜了一下说要修改bson的index.js文件:

找到 npm 的module mongodb ..node_modules\mongodb\node_modules\bson\ext\index.js

并在catch块改变bson的js本版路径:

bson = require(‘../build/Release/bson‘);

变成

bson = require(‘../browser_build/bson‘);

 

再次启动strider 成功。

假如安装在本地,直接访问127.0.0.1:3000 即可打开

时间: 2025-01-14 06:46:41

Strider安装(mac)的相关文章

Strider安装(Ubuntu)

安装: git clone https://github.com/Strider-CD/strider.git && cd strider nam install 然而还是出现一大波错误 npm WARN deprecated [email protected]: Jade has been renamed to pug, please install the latest version of pug instead of jade npm WARN deprecated [email 

VMware Workstation11.0安装Mac OS X 10.10最完整指南(包含所需所有资源下载)

前言说明:最近换了新的电脑,配置好很多了,想装下虚拟机来玩下IOS,其中也遇到了几个大坑,现在刚完全装好,把所有步骤以及资源整合到一处,后面的朋友可以避免浪费很多无谓的百度时间. ""我先把使用到的程序以及版本说明下,因为这非常总要,使用虚拟机安装mac,其实就是装黑苹果,这要依赖很多破解工具,但这些工具都是有版本支持的.我这些版本装的没问题,但是你如果下载网上其他版本,我就不能确保一定没问题了,只能是自己试了."" VMware 11.0 永久不过期激活密钥 1F

XE6移动开发环境搭建之IOS篇(4):VMware9里安装Mac OSX 10.8(有图有真相)

XE6移动开发环境搭建之IOS篇(4):VMware9里安装Mac OSX 10.8(有图有真相) 2014-08-18 21:10 网上能找到的关于Delphi XE系列的移动开发环境的相关文章甚少,本文尽量以详细的内容.傻瓜式的表达来告诉你想要的答案. 以下内容比较长,我们努力地图解每一个步骤,没有耐心的观众可以忽略前27步,直接看第28步最终结果.--------------------------------------------------------------- 1.在虚拟机主界

VMware 11安装Mac和Linux

VMware 11安装Mac OS X 10.10_百度经验 https://jingyan.baidu.com/article/ff411625b9011212e48237b4.html?qq-pf-to=pcqq.c2c 一.下载以上文件1. vm百度软件下载即可,版本都能满足需要,随意好了2. unlocker 206 链接:http://pan.baidu.com/s/1bnWTgIz 密码:5zgm3. Mac OS X 10.10镜像 链接:http://pan.baidu.com/

WMware 10 上安装Mac OS X 10.9 系统的正确方法

最近需要在iPad上做一个App,于是想在虚拟机中安装一个OS X 10.9试用一下.经过几十次的尝试趟过很多坑后,终于找到了在WMware 10 上安装Mac OS X 10.9 系统的正确方法.本方法不需要什么U盘,而且由于所有操作都在硬盘上,所以速度也会很快. 需要准备的工具和文件如下: VMware-workstation-full-10.0.1-1379776.exe unlock-all-v130.zip Install OS X Mavericks.dmg(大小为 4.94G) U

VMware 11完全安装Mac OS X 10.10

引用原文如下: VMware 11安装Mac OS X 10.10_百度经验 http://jingyan.baidu.com/article/ff411625b9011212e48237b4.html VM11安装Mac OS X 10.10 工具/原料 1.VMware Workstation 11 2.unlocker 203(for OS X 插件补丁) 3.Mac OS X 10.10镜像 方法/步骤 一.下载以上文件 1. 软件百度VMware Workstation 11 下载即可

Vmware 10.0安装Mac OS X Mountain Lion教程

前面两篇博文介绍了ubuntu下如何配置安装Mac风格的主题,折腾一番后我还是觉得不过瘾.于是想在电脑上安装Mac OS X系统, 一番爬贴之后感觉难度较大啊,本来就装的是win8+ubuntu双系统,引导问题比较复杂,而且后期驱动对硬件支持问题也不小.无奈,只能 转战虚拟机安装啦. 看到一个很好帖子,讲的很详细.我按照这个安装成功了.对于我们这种买不起硬件的穷学生党又想体验下Mac OS的high big up的 同学们,点击Vmware10下安装Mac OS X Mountain Lion(

Windows下虚拟机安装Mac OS X &mdash;&ndash; VM12安装Mac OS X 10.11

______________________________________________________________________________________________________________________________________________________________________________________________________________________ 注:本文来源:csdn:N的专栏.<Windows下虚拟机安装Mac

VMWare安装Mac OS X

原文作者?谷月K?2016.08.16 18:55 字数3473 随着iPhone.iPad.Mac等苹果产品越来越火爆,越来越多的初学者想要了解和尝试苹果平台,包括苹果操作系统Mac OS X.苹果演示软件Keynote.苹果开发工具Xcode等.然而,苹果电脑价格昂贵,并不是每个人都可以承受. 因此,在Windows下安装虚拟机软件VMWare,再在虚拟机里安装苹果操作系统Mac OS X,就成了一种成本低廉的选择,使初学者可以不必支付巨额开销购置苹果电脑. 本文将用详尽的图文介绍如何在虚拟