Code Monkey home page Code Monkey logo

Comments (6)

yaram avatar yaram commented on July 1, 2024

I've had the build fail on windows as well.

All the errors are of a similar form to this:

| contracts\ENSRegistered.sol:3:1: ParserError: Source "universal-login-contracts\ENS\ENS.sol" not found: File not found: ENS/ENS.sol
 | import "universal-login-contracts\ENS\ENS.sol";

I belive the issue is that Waffle is basing the import off of the current working directory, which is "universal-login-contracts".

The place where the files are searched for and the error is printed is here.

from unilogin.

yaram avatar yaram commented on July 1, 2024

As for why the working directory is different on Windows, I'll try figuring that out.

from unilogin.

yaram avatar yaram commented on July 1, 2024

It seems that the function in Waffle isn't even called on Linux. I believe the source of the error is then solc or the arguments/parameters passed to it.

from unilogin.

yaram avatar yaram commented on July 1, 2024

Through testing I've found that solc is run with the same working directory on windows and linux, so the working directory is not the difference.

from unilogin.

marekkirejczyk avatar marekkirejczyk commented on July 1, 2024

We don't have plans to support Windows as a development environment. Only Linux and OSX. If you make it work, however, I'll be happy to accept Pull Request.

from unilogin.

yaram avatar yaram commented on July 1, 2024

Just an update for anyone interested, I've fixed this in TrueFiEng/Waffle#59

from unilogin.

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.