Open hyperzone opened 5 years ago
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?
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.
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.
I have cloned the repository from Github in a workspace folder in Visual Studio Code. I have executed yarn to download all dependencies packages, but I can't compile the project. Visual Studio Code request to edit launch.json file. How can I compile and debug the project?