tjikko-studio / components

Component library for Tjikko Studio apps
0 stars 0 forks source link

Invalid hook call on sitenav component (on the backend) #165

Closed ktryndchrs closed 2 years ago

ktryndchrs commented 2 years ago

We can't edit the header (sidenav) sitenav

But the footer is working footer

ktryndchrs commented 2 years ago

Screen Recording 2021-10-05 at 12 28 30 PM 2021-10-05 12_36_31

shawninder commented 2 years ago

Is this locally? Because things are working for me on smpx-admin.... Although I just made a release… You may want to make sure you pull everything, including SMPX, which sports changes to the npm run link command.

ktryndchrs commented 2 years ago

I will clean my local repo but all these error were following these command steps:

  1. npm i -g npm@6
  2. Pull on the main branch of each repo
  3. npm run install:all && npm run link on the root of SMPX repo
ktryndchrs commented 2 years ago

Just done these step again and… The problem persist !

shawninder commented 2 years ago

Try removing the node_modules directories everywhere and installing "from scratch"?

ktryndchrs commented 2 years ago

The problem remain even with that… 😅

shawninder commented 2 years ago

The problems seems to be specific to ARM-powered computers struggling with the installation of chromedriver, which happens when the frontend tries to npm link Vue. We "solved" it by having Catherine run npm run link --chromedriver_skip_download=true, skipping the download of the problematic package which we have no use for anyways.