Giter Site home page Giter Site logo

eth-weibo's Introduction

项目简介

本项目是区块链开发实战丛书 区块链开发实战:以太坊关键技术与案例分析》 相关章节部分的相关代码

本书介绍

《区块链开发实战:以太坊关键技术与案例分析》

如果您觉得本丛书的代码对您有帮助请购买本正版图书,谢谢。

购买链接

问题反馈,

为了帮助读者更好的阅读本书,我们跟**最大的区块链技术社区区块链兄弟合作,在区块链兄弟上面开设了专栏。如果您在阅读本丛书的过程遇到的问题,可以通过以下连接提交问题

点击,提交阅读本书的过程中遇到的问题

丛书介绍

区块链开发实战系列丛书简介

eth-weibo's People

Contributors

gcc2ge avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

eth-weibo's Issues

truffle compile error

when I execute

truffle build

the error occured.

/usr/local/lib/node_modules/truffle/build/cli.bundled.js:151368
  var bufdir = Buffer.from(dir);
                      ^

TypeError: this is not a typed array.
    at Function.from (native)
    at Object.files (/usr/local/lib/node_modules/truffle/build/cli.bundled.js:151368:23)
    at exports.fromCallback.exports.unique.exports.contain.module.exports (/usr/local/lib/node_modules/truffle/build/cli.bundled.js:49951:7)
    at getFiles (/usr/local/lib/node_modules/truffle/build/cli.bundled.js:57676:9)
    at Object.exports.fromCallback.exports.unique.exports.contain.module.exports.updated (/usr/local/lib/node_modules/truffle/build/cli.bundled.js:57680:5)
    at Function.exports.fromCallback.exports.unique.exports.contain.xfs.mkdir.exports.time.socket.once.socket.on.Object.keys.forEach.compile.necessary (/usr/local/lib/node_modules/truffle/build/cli.bundled.js:93797:12)
    at Object.exports.fromCallback.exports.unique.exports.contain.Contracts.compile (/usr/local/lib/node_modules/truffle/build/cli.bundled.js:50028:15)
    at /usr/local/lib/node_modules/truffle/build/cli.bundled.js:95195:17
    at /usr/local/lib/node_modules/truffle/build/cli.bundled.js:56218:26
    at FSReqWrap.oncomplete (fs.js:82:15)

how can I solve it?

truffle compile error

How to solve this error ?

duncanwang@ubuntu:~/work/eth-weibo-master$ truffle compile
Error: Cannot find module 'truffle-default-builder'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:548:15)
at Function.Module._load (internal/modules/cjs/loader.js:475:25)
at Module.require (internal/modules/cjs/loader.js:598:17)
at require (internal/modules/cjs/helpers.js:11:18)
at Object. (/home/duncanwang/work/eth-weibo-master/truffle.js:1:22)
at Module._compile (internal/modules/cjs/loader.js:654:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:665:10)
at Module.load (internal/modules/cjs/loader.js:566:32)
at tryModuleLoad (internal/modules/cjs/loader.js:506:12)
at Function.Module._load (internal/modules/cjs/loader.js:498:3)

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.