Giter Site home page Giter Site logo

Comments (6)

naszam avatar naszam commented on May 22, 2024 1

I've fixed it!
So, the issue was that I was using truffle-flattener as global dependency and not locally.
Installing both OpenZeppelin and truffle-flattener locally, I managed to get it working.
Thanks!

from truffle-flattener.

frangio avatar frangio commented on May 22, 2024

Hi @naszam. I wasn't able to reproduce your issue.

Does your contract compile successfully using truffle compile? What version of @openzeppelin/contracts are you using?

from truffle-flattener.

naszam avatar naszam commented on May 22, 2024

Hi @frangio.

Yep!
OpenZeppelin v3.0.1 (latest)

from truffle-flattener.

frangio avatar frangio commented on May 22, 2024

If you want to upload your project somewhere I can take a look, otherwise I don't know what could be causing this.

from truffle-flattener.

alcuadrado avatar alcuadrado commented on May 22, 2024

Closing to clean up the repository. If this problem persists, please open a new issue with a clear explanation.

from truffle-flattener.

ryanjsfx2424 avatar ryanjsfx2424 commented on May 22, 2024

Why in the world should this be an issue with OpenZeppelin and truffle-flattener globally installed?

from truffle-flattener.

Related Issues (20)

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.