arohi-skeleton's People
arohi-skeleton's Issues
Continuous OPTIONS-PUT requests and "unexpected duplicate"
The example app loads fine in the browser, but then the "Click me" button is not clickable. In the console, I get the following output:
[nix-shell:~/repos/arohi-skeleton]$ yarn dev
yarn run v1.19.1
$ concurrently 'yarn:ghcid' 'yarn:watch' 'yarn:reload' 'yarn:css' 'yarn:watch-cabal'
$ onchange '**/*.cabal' -- touch shell.nix
$ onchange ghcid.reload -- browser-sync reload
$ postcss ./assets/main.css -o ./build/all.css -w -u postcss-import -u postcss-nested -u postcss-preset-env
$ browser-sync start --ss build --port 3000 --proxy http://localhost:8080/ --ws --no-open --no-notify --watch
$ ghcid --command 'cabal v2-repl server --builddir dist/ghcid-app' --directory app --test Main.main -W
[ghcid] Loading cabal v2-repl server --builddir dist/ghcid-app ...
[watch] [Browsersync] Proxying: http://localhost:8080
[watch] [Browsersync] Access URLs:
[watch] --------------------------------------
[watch] Local: http://localhost:3000
[watch] External: http://192.168.0.103:3000
[watch] --------------------------------------
[watch] UI: http://localhost:3002
[watch] UI External: http://localhost:3002
[watch] --------------------------------------
[watch] [Browsersync] Watching files...
[ghcid] Build profile: -w ghc-8.6.5 -O1
[ghcid] In order, the following will be built (use -v for more details):
[ghcid] - app-0.1.0 (exe:server) (first run)
[ghcid] Preprocessing executable 'server' for app-0.1.0..
[ghcid] GHCi, version 8.6.5: http://www.haskell.org/ghc/ :? for help
[watch] [Browsersync] File event [change] : build/all.css
[ghcid] [1 of 4] Compiling Common.Api ( src/common/Common/Api.hs, interpreted )
[ghcid] [2 of 4] Compiling Common.Sitemap ( src/common/Common/Sitemap.hs, interpreted )
[ghcid] [3 of 4] Compiling Common.Frontend ( src/common/Common/Frontend.hs, interpreted )
[ghcid] [4 of 4] Compiling Main ( src/server/Main.hs, interpreted )
[ghcid] Ok, four modules loaded.
[ghcid]
[ghcid] All good (4 modules, at 08:10:42)
[ghcid] Running test...
[ghcid]
[ghcid]
[ghcid]
[ghcid]
[ghcid]
[ghcid] Error : Unexpected Duplicate. syncCallbacks=True nBatch=9 nExpected=11
[watch] [Browsersync] Reloading Browsers...
[ghcid] Error : Unexpected Duplicate. syncCallbacks=True nBatch=9 nExpected=12
In the Network tab in the browser's devtools, I get a constant stream of OPTIONS/PUT requests to localhost:3000/sync/<some_uid>
.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.