39 Replies
extended-salmon•2y ago
Hey @humabon checking with the same answers now
conscious-sapphireOP•2y ago
Ty @aliemirs
to add
extended-salmon•2y ago
Followed the same instructions, used pnpm, got the error.
Removed the node_modules and tried with npm, worked fine. 🤔
Can you open an issue at GitHub? I'll also investigate further to find the issue
Guessing it has something to do with peer deps of the packages 🤔
Any chance for you try with
npm
?conscious-sapphireOP•2y ago
Some of my colleagues are on windows , it takes a lot of time for NPM, I'll open up an issue on github. Can you link me @aliemirs to the proper repository so I can add the issue there.
Thanks for the solution, I'm on Mac and npm takes longer but not as long as on windows.
extended-salmon•2y ago
https://github.com/refinedev/refine/issues here's our repo
Hello
Just found a workaround
Added
shamefully-hoist=true
to .npmrc
file and it workedconscious-sapphireOP•2y ago
ok
I'm in the process of filing the issue
extended-salmon•2y ago
https://github.com/remix-run/remix/issues/154 according to this issue here
conscious-sapphireOP•2y ago
ok checking
extended-salmon•2y ago
Thank you, we'll try to have a better fix than this 😅
conscious-sapphireOP•2y ago
so it's already a known bug
tyvm @aliemirs , I guess no need for me to file the issue, since the bug is already known
extended-salmon•2y ago
I'll add this to our to-do and also try to work on it today. Thank you for the patience 🙏
Just to be safe, we will update the template immediately with
shamefully-hoist
to have a quick fix 😅conscious-sapphireOP•2y ago
great!
Hi @aliemirs the fix did not work for me
conscious-sapphireOP•2y ago
extended-salmon•2y ago
Before trying
pnpm install
again, I had run rm -rf ./.cache ./build ./node_modules
Maybe that did the trick 🤔conscious-sapphireOP•2y ago
oh ok
still the same
extended-salmon•2y ago
🤦♂️ sorry
Can you share the error?
conscious-sapphireOP•2y ago
conscious-sapphireOP•2y ago
conscious-sapphireOP•2y ago
I'll try deleting the lock files
still gives me the same
extended-salmon•2y ago
I'm trying again now
I think I can find something
conscious-sapphireOP•2y ago
the .npmrc is not working
did you put that rule on the user settings?
extended-salmon•2y ago
Removed cache, build, node_modules + lock files.
Updated .npmrc like this:
(Added auto-install-peers)
ran
pnpm install
then ran pnpm dev
it worked 🤔
I'm using;
pnpm --version # 7.9.5
node --version # v18.12.1
No, just using .npmrc
🤔conscious-sapphireOP•2y ago
ok
still gives me the issue
conscious-sapphireOP•2y ago
extended-salmon•2y ago
Did you had the chance to try it out with
npm
? Just wanted to make sure this is a pnpm
related issue 🤖conscious-sapphireOP•2y ago
just trying it now
conscious-sapphireOP•2y ago
conscious-sapphireOP•2y ago
still the same
conscious-sapphireOP•2y ago
conscious-sapphireOP•2y ago
I wonder why
I deleted .cache folder, and is using npm
it is not making the build folder
extended-salmon•2y ago
Let me try with your exact node version
conscious-sapphireOP•2y ago
with headless there's no issue
I might just start with headless for now so I can proceed making our starting codes
extended-salmon•2y ago
Great! I'll let you know when I had a proper fix for this 🙁
Sorry for the issue
conscious-sapphireOP•2y ago
no worries, just wanted to check with refine if it is a valid issue
I'll proceed with the bug report @aliemirs
extended-salmon•2y ago
Thank you
conscious-sapphireOP•2y ago
GitHub
[BUG] Remix + Chakra UI is not creating the build folder via pnpm ·...
Describe the bug ✔ Do you want to use a UI Framework?: · chakra ✔ Do you want to add example pages?: · inferencer ✔ Do you want a customized layout?: · chakra-custom-layout ✔ Do you want to add dar...
conscious-sapphireOP•2y ago
Hi @aliemirs
just figured out how to make it work
there's a problem with the generation of the
index.ts
file for this combination
to fix it need to add
it only has export * from "./header";
extended-salmon•2y ago
So this resolves the issue? If so, then I'll check if we can have better errors logs with remix 😅
conscious-sapphireOP•2y ago
yes