Strider installation (MAC)

Source: Internet
Author: User
Tags deprecated

Installation:

sudo npm install-g Strider

Do you realize some of the installation??

NPM WARN deprecated [email protected]: Jade have been renamed to Pug, please install the latest version of Pug instead of jadenpm WARN deprecated [email protected]: v1.0.0 is a complete rewrite of Swig from the ground up. Previous versions is no longer supportednpm WARN deprecated [email protected]: [email protected]<3.0.0 is n O longer maintained. Upgrade to [email protected]^4.0.0.npm WARN deprecated [email protected]: deprecated, use JSTRANSFORMERNPM 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 hi Gher to avoid a RegExp DoS issuenpm WARN deprecated [email protected]: Graceful-fs v3.0.0 and before would fail on nod E releases >= v7.0. Please update to [email protected]^4.0.0 as soon as possible. Use of ' npm ls graceful-fs ' to find it in the tree.npm WARN deprecated [email p rotected]: Please update the Minimatch 3.0.2 or higher to avoid a RegExp DoS issuenpm WARN deprecated [Email protect Ed]: Graceful-fs v3.0.0 and before would fail on node releases >= v7.0. Please update to [email protected]^4.0.0 as soon as possible. Use of ' 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.oin file included from: /fsevents.cc:6:.. /node_modules/nan/nan.h:342:68:error:too many arguments to function call, expected at most      2, has 4    return V8:: Signature::new (V8::isolate::getcurrent (), receiver, argc, argv);

To update a dependent package:

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

sudo npm install-g fsevents

Start Strider

Strider

There was another warning:

{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 J S version

Searched the web, said to modify the Bson index.js file:

Find NPM's module MONGODB. Node_modules\mongodb\node_modules\bson\ext\index.js

and change the Bson in the Catch block JS version of the path:

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

Become

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

 

Start Strider again successfully.

If installed locally, direct access to 127.0.0.1:3000 can be opened

Strider installation (MAC)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.