Git Product home page Git Product logo

Comments (3)

hyperzone avatar hyperzone commented on August 16, 2024

If I compile with the command yarn dev-server I get this error:
ERROR in ./src/gui/solver/solver.ts
[608, 56]: trailing whitespace
[609, 5]: misplaced opening brace
[609, 5]: Opening curly brace does not appear on the same line as controlling statement.

 @ ./src/cli/cli.ts 16:14-45
 @ ./src/main/index.ts
 @ multi (webpack)-dev-server/client?http://localhost:8080 ./src/main/index.ts

but I haven't change anything in the file solver.ts

Any idea?

from fspy.

stuffmatic avatar stuffmatic commented on August 16, 2024

Which branch are you on? Are you sure you don't have any local changes? I get the exact same compile error if move the curly brace at the end of line 608 in solver.ts to a new line.

Also, I've been using the command line to build and run the app as described in steps 1-3 in the "Building and running" section of the readme. I've never tried doing it from within Visual Studio Code.

from fspy.

hyperzone avatar hyperzone commented on August 16, 2024

I'm on the developer branch and I haven't made any changes to code.
Now I have compiled the project following the step 1-3, but when I start the browser and point to http://localhost:8081/ like yarn says

$ webpack-dev-server --config webpack.config.js --content-base build/ --mode development
i 「wds」: Project is running at http://localhost:8081/
i 「wds」: webpack output is served from /
i 「wds」: Content not from webpack is served from C:\Users************\Documents\Visual Studio Code\fSpy\build

I receive a blank page, but in the folder I have three files: main.js, gui.js and index.html.

from fspy.

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.