nuxt / learn.nuxt.com

[Work in Progress] An interactive tutorial and playground for Nuxt
https://learn-dev.nuxt.com
MIT License
556 stars 84 forks source link

[500 error]: Cannot set propeties of undefined (setting 'size') #129

Open pothuraju-dev opened 7 months ago

pothuraju-dev commented 7 months ago

Repoduction:

  1. Go to learn-dev.nuxt.com
  2. Got nuxt routing module section by clicking next module buttons
  3. Refresh the page after reaching page https://learn-dev.nuxt.com/concepts/routing
  4. Again issue coming when come to home page and refresh

Issue:

image

dhaladitya108 commented 7 months ago

@pothuraju-dev can you re-check again? I'm not able to see it now.

pothuraju-dev commented 7 months ago

@pothuraju-dev can you re-check again? I'm not able to see it now.

@dhaladitya108 I just checked it's coming. Follow the steps I mentioned in the issue you will face.

I checked it by cloning the code and figured it out that it's coming from splitpanel npm package used internally in code

dhaladitya108 commented 6 months ago

@dhaladitya108 I just checked it's coming. Follow the steps I mentioned in the issue you will face.

I checked it by cloning the code and figured out that it's coming from splitpanel npm package used internally in code

Yes, @pothuraju-dev! You are right dude. The package doesn't seem to be maintained now.

antfu commented 6 months ago

I saw this error occasionally but can't stablely reproduce it. If you spot the culprit, PR is greatly appreciated.

rexhent commented 4 months ago

image

Not exactly sure what this means. I get this instead of the Cannot set properties error

pothuraju-dev commented 4 months ago

@rexhent It is coming from third-party package. These errors are inconsistent.

rexhent commented 4 months ago

I'm looking into this. I've forked the package https://github.com/rexhent/splitpanes and am publishing it at splitpanes4. I might refactor it to use composition api and switch away from pug to just normal vue templating syntax, then hopefully I might be able to track down that error more easily. Also more typescript everywhere.

@rexhent It is coming from third-party package. These errors are inconsistent.

rexhent commented 4 months ago

@antfu I'm not exactly sure how patch files work, if it is an issue with the actual splitpanes package if you want you could do it as a pr to https://github.com/rexhent/splitpanes, as splitpanes 3 is seemingly no longer maintained, and the maintainer won't merge any PR's.

pothuraju-dev commented 3 months ago

I think this issue was fixed. I checked in the local setup and live, but it didn't occur.

rexhent commented 3 months ago

I think this issue was fixed. I checked in the local setup and live, but it didn't occur.

Pretty sure it's this https://github.com/nuxt/learn.nuxt.com/commit/7c7a68f5dadcb16493f8a6907f7b3278de104f32