GithubHelp home page GithubHelp logo

xiongwilee / iblog Goto Github PK

View Code? Open in Web Editor NEW
57.0 57.0 11.0 1.87 MB

基于Gracejs及github issues的全功能博客方案,参考:

Home Page: https://iblog.wilee.me

JavaScript 63.64% CSS 27.28% HTML 2.69% Less 6.39%

iblog's Issues

npm run dev 报错

iblog clone到本地后,执行npm install 然后运行 npm run dev ,出现如下错误

[email protected] dev /home/iblog
gulp watch --mod=iblog

fs.js:27
const { Math, Object } = primordials;
^

ReferenceError: primordials is not defined
at fs.js:27:26
at req_ (/home/iblog/node_modules/_natives@1.1.6@natives/index.js:143:24)
at Object.req [as require] (/home/iblog/node_modules/_natives@1.1.6@natives/index.js:55:10)
at Object. (/home/iblog/node_modules/_graceful-fs@3.0.12@graceful-fs/fs.js:1:37)
at Module._compile (internal/modules/cjs/loader.js:958:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:994:10)
at Module.load (internal/modules/cjs/loader.js:813:32)
at Function.Module._load (internal/modules/cjs/loader.js:725:14)
at Module.require (internal/modules/cjs/loader.js:850:19)
at require (internal/modules/cjs/helpers.js:74:18)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] dev: gulp watch --mod=iblog
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm run dev 后无法显示 issuse

npm run dev 后打开 127.0.0.1:3000 ,显示如下页面:

image

无法显示正常的 issues 内容。

请问,这可能是什么原因?

运行出现问题

Tue, 28 Nov 2017 00:40:22 GMT koa-grace:mongo error: connect mongodb://localhost:27017/blog MongoError: failed to connect to server [localhost:27017] on first connect [MongoError: connect ECONNREFUSED 127.0.0.1:27017] Tue, 28 Nov 2017 00:40:22 GMT koa-grace:mongo error: connect mongodb://localhost:27017/blog MongoError: failed to connect to server [localhost:27017] on first connect [MongoError: connect ECONNREFUSED 127.0.0.1:27017]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.