Are there additional dependencies that I might be missing?
I just received my new Atreus, and downloaded the latest version of Chrysalis, but when it opens it is just an empty window.
(Windows 10)
The keyboard seems to be fully functional, just the default layout is not usable for me.
Can you hit Control-Shift-i ? That should open a debugging window. From there, click on âConsoleâ - I suspect there will be some red error lines that clue us into whatâs going wrong.
no problem, I have the 0.7.9, but I can download an older version ati give that a try. Iâm setting up an ubuntu virtual machine as we speak as that should both allow me to configure the keyboard and perhaps build in some debug to help solve this issue
Yes, on another machine, the current version is working. So there is something up with my machine in particular. I was able to use Chrysalis via an Ubuntu virtual machine so I have the first layer set up for now. I will still have to figure out why I cant use the software on my main machine.
I had a little time to try to debug this, the debug screen not showing is unrelated⌠I am unable to get it to accept Ctrl + Shift + i, it only registers as the control. I have tried a few different methods, but they didnt work. for now I changed the source to open the debug when I hit ctrl alone. and that window will show.
My only error showing at the moment is the following, (while running in debug from VSCode)
Uncaught TypeError: styles$1.makeStyles is not a function
at Object. (F:\Chrysalis\node_modules\notistack\src\SnackbarContainer.tsx:7:18)
at Object. (F:\Chrysalis\node_modules\notistack\dist\notistack.cjs.development.js:973:3)
at Module._compile (internal/modules/cjs/loader.js:880:30)
at Object.Module._extensionsâŚjs (internal/modules/cjs/loader.js:892:10)
at Module.load (internal/modules/cjs/loader.js:735:32)
at Module._load (internal/modules/cjs/loader.js:648:12)
at Module._load (electron/js2c/asar.js:717:26)
at Function.Module._load (electron/js2c/asar.js:717:26)
at Module.require (internal/modules/cjs/loader.js:775:19)
at require (internal/modules/cjs/helpers.js:68:18)
my assumption at this point is that I am getting a styling error, possibly just not loading the sizes etc
Can you also try the latest development build (or master, if youâre running from a git checkout), perhaps? (We recently replaced notistack, which seems to be throwing the error here).
I will open an issue in the Git hub when I get a bit further with my own troubleshooting,
I did a pull from the Git master but get the following issue. I cleared out the node_modules and did a new npm install, it might still be a configuration error on my part, I have not had more time to delve further.
Uncaught Error: Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
You might have mismatching versions of React and the renderer (such as React DOM)
You might be breaking the Rules of Hooks
You might have more than one copy of React in the same app
See https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem.
at resolveDispatcher (F:\Chrysalis\node_modules\react\cjs\react.development.js:1465:13)
at useMemo (F:\Chrysalis\node_modules\react\cjs\react.development.js:1520:20)
at I18nextProvider (F:\Chrysalis\node_modules\react-i18next\dist\commonjs\I18nextProvider.js:16:34)
at renderWithHooks (webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:12903:18)
at mountIndeterminateComponent (webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:14985:13)
at beginWork (webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:15590:16)
at performUnitOfWork (webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:19277:12)
at workLoop (webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:19317:24)
at HTMLUnknownElement.callCallback (webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:149:14)
at Object.invokeGuardedCallbackDev (webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:199:16)
webpack-internal:///âŚevelopment.js:17082 The above error occurred in the component:
in I18nextProvider
Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://fb.me/react-error-boundaries to learn more about error boundaries.
React Hook useEffect has missing dependencies: âcolorButtonsAmountâ and âindexFocusButtonâ. Either include them or remove the dependency array. You can also do a functional update âsetColorButtonsAmount(c => âŚ)â if you only need âcolorButtonsAmountâ in the âsetColorButtonsAmountâ call
src\renderer\components\ColorPalette\ColorButtonsArea.js:78:6
Hm, interesting. I do get those errors as well, since we upgraded one of the underlying libraries, but they werenât fatal for me on neither Linux nor Windows. Iâll try to tackle them, and see if that helps you get further.
This one was just a warning, I made a quick fix to see if it would have any impact on the other error, but it did not. After the pull I am no longer getting a blank screen, just an error screen prompting me to report the issue to github so I would count that as good progress.