You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 6, 2021. It is now read-only.
While trying to pickup fable by making games I ran into som issues trying this template.
Fable compiler switches have changed
Need an -outDir switch and some other stuff probably.
There is some sort of connection issue with the webpack dev server.
The yarn command is space separated.
This is the output when trying to start:
[scat@hubris src]$ fable -o ./public --run yarn start
Fable: F# to JS compiler 3.4.2
Thanks to the contributor! @davidtme
.> dotnet restore newnight.fsproj
Determining projects to restore...
All projects are up-to-date for restore.
Parsing newnight.fsproj...
Initializing F# compiler...
Compiling newnight.fsproj...
F# compilation finished in 2636ms
Fable compilation finished in 540ms
.> yarn start
yarn run v1.22.17
$ webpack-dev-server
Bundling for development...
(node:6312) [DEP0111] DeprecationWarning: Access to process.binding('http_parser') is deprecated.
(Use `node --trace-deprecation ...` to show where the warning was created)
Project is running at http://localhost:8080/
webpack output is served from /
Content not from webpack is served from /Dumparoo/Programming/Fsharp/PixiStruggle/newnight/public
Hash: 830130782ef8db58cf8f
Version: webpack 3.8.1
Time: 580ms
Asset Size Chunks Chunk Names
bundle.js 324 kB 0 [emitted] [big] main
bundle.js.map 384 kB 0 [emitted] main
[2] multi (webpack)-dev-server/client?http://localhost:8080 ./src/newnight.fsproj 40 bytes {0} [built]
[3] (webpack)-dev-server/client?http://localhost:8080 7.95 kB {0} [built]
[4] ./node_modules/url/url.js 23.3 kB {0} [built]
[5] ./node_modules/punycode/punycode.js 14.7 kB {0} [built]
[7] ./node_modules/url/util.js 314 bytes {0} [built]
[8] ./node_modules/querystring-es3/index.js 127 bytes {0} [built]
[11] ./node_modules/strip-ansi/index.js 161 bytes {0} [built]
[12] ./node_modules/ansi-regex/index.js 135 bytes {0} [built]
[13] ./node_modules/loglevel/lib/loglevel.js 7.86 kB {0} [built]
[14] (webpack)-dev-server/client/socket.js 1.05 kB {0} [built]
[15] ./node_modules/sockjs-client/dist/sockjs.js 181 kB {0} [built]
[16] (webpack)-dev-server/client/overlay.js 3.73 kB {0} [built]
[21] (webpack)/hot nonrecursive ^\.\/log$ 170 bytes {0} [built]
[23] (webpack)/hot/emitter.js 75 bytes {0} [built]
[25] ./src/newnight.fsproj 309 bytes {0} [built] [failed] [1 error]
+ 11 hidden modules
ERROR in ./src/newnight.fsproj
Module build failed: Error: connect ECONNREFUSED 127.0.0.1:61225
Make sure Fable server is running on port 61225
at /Dumparoo/Programming/Fsharp/PixiStruggle/newnight/node_modules/fable-loader/index.js:114:18
at processTicksAndRejections (node:internal/process/task_queues:96:5)
@ multi (webpack)-dev-server/client?http://localhost:8080 ./src/newnight.fsproj
webpack: Failed to compile.
I am trying to solve this but considering the fable compiler has changed a bit since the last commit it's probably just some silly webpack config or something
The text was updated successfully, but these errors were encountered:
I'm very sorry, but I haven't worked with F#/Fable in many years. A lot has changed since then. This project refers to other projects that have been archived. I unlisted the NuGet package and have archived this project.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
While trying to pickup fable by making games I ran into som issues trying this template.
Need an
-outDir
switch and some other stuff probably.This is the output when trying to start:
I am trying to solve this but considering the fable compiler has changed a bit since the last commit it's probably just some silly webpack config or something
The text was updated successfully, but these errors were encountered: