Coder Social home page Coder Social logo

Ensure Windows support about fuels-ts HOT 5 CLOSED

arboleya avatar arboleya commented on September 26, 2024 1
Ensure Windows support

from fuels-ts.

Comments (5)

arboleya avatar arboleya commented on September 26, 2024 2

As @danielbate pointed out, a nice addition to this would be to run our test suite on a Windows image.

from fuels-ts.

Dhaiwat10 avatar Dhaiwat10 commented on September 26, 2024 1

An update on this issue:

I tried replacing all the hard-coded UNIX commands in our codebase via #1618, but it turns out that that alone wasn't the culprit here.

The reason behind missing Windows support is the fact that forc and fuel-core simply don't support Windows and don't ahve binaries for it. This is why the install scripts fail.

The only way to use the SDK on a Windows machine is to use it via WSL. I think we should add a notice in our docs for this.

cc @arboleya

from fuels-ts.

arboleya avatar arboleya commented on September 26, 2024 1

Good catch. Yes, a quick mention in the docs can be good.

Could we also detect if the underlying system is not supported and give users a proper error message?

from fuels-ts.

Dhaiwat10 avatar Dhaiwat10 commented on September 26, 2024 1

I will make it so that it throws right at the beginning of the install script if Windows is detected.

from fuels-ts.

Dhaiwat10 avatar Dhaiwat10 commented on September 26, 2024

@arboleya we already have some code for that in place, but it doesn't seem to throw the error properly. The script probably throws before this line is even reached:

https://github.com/FuelLabs/fuels-ts/blob/master/packages/forc/lib/shared.js#L25-L27

from fuels-ts.

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.