Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to latest material ui, fortawesome, etc. #182

Open
paralin opened this issue Jan 23, 2023 · 9 comments
Open

Update to latest material ui, fortawesome, etc. #182

paralin opened this issue Jan 23, 2023 · 9 comments

Comments

@paralin
Copy link

paralin commented Jan 23, 2023

I've started a fork with the @aperturerobotics/ prefix to update chonky: https://github.com/aperturerobotics/react-chonky/tree/aperture

Currently have upgraded all packages, migrated to latest mui, and updated the icons package.

@tinanemati
Copy link

Hi @paralin!

Thank you for doing this, I have been looking for an updated package; I was wondering how can I use this updated version in my project. I am currently using the version 2 of Chonky.

Thank you :)

@paralin
Copy link
Author

paralin commented Oct 19, 2023

@tinanemati You can use the forked version by replacing imports of chonky with the fork @aperturerobotics/chonky.

See: https://github.com/aperturerobotics/react-chonky/tree/master#usage

Hope that helps.

@tinanemati
Copy link

Thank you :)

@tinanemati
Copy link

@paralin sorry quick question, do I need to update anything here? if so what should I change it to?

import { setChonkyDefaults } from "chonky";
import { ChonkyIconFA } from "chonky-icon-fontawesome";
import { FullFileBrowser } from "chonky";
import { ChonkyActions, FileHelper } from "chonky";

@paralin
Copy link
Author

paralin commented Oct 19, 2023

@tinanemati

import { setChonkyDefaults } from "@aperturerobotics/chonky";
import { ChonkyIconFA } from "@aperturerobotics/chonky-icon-fontawesome";
import { FullFileBrowser } from "@aperturerobotics/chonky";
import { ChonkyActions, FileHelper } from "@aperturerobotics/chonky";

@SnehaSathyan
Copy link

Hi @paralin!
am facing this issue,
Error: require() of ES Module C:\hub-plane\node_modules\react-dnd\dist\index.js from C:\hub-plane\node_modules@aperturerobotics\chonky\dist\chonky.cjs.development.js not supported.
Instead change the require of index.js in C:\hub-plane\node_modules@aperturerobotics\chonky\dist\chonky.cjs.development.js to a dynamic import() which is available in all CommonJS modules.

This error happened while generating the page. Any console logs will be displayed in the terminal window.

pls help me

@paralin
Copy link
Author

paralin commented Sep 18, 2024

Hi, that is issue aperturerobotics/chonky#64

@SnehaSathyan
Copy link

SnehaSathyan commented Sep 19, 2024

Hi @paralin!,

Now facing this issue

1 of 2 errors
Next.js (14.2.12)

Unhandled Runtime Error
TypeError: Cannot read properties of null (reading 'getState')

Can u give fix today ?

@SnehaSathyan
Copy link

SnehaSathyan commented Sep 20, 2024

Hi @paralin!,
sorry for quick question ,Any latest nextjs supporting code available for chonky pls?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants