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

Uncaught (in promise) TypeError: Cannot destructure property 'status' of 't' as it is undefined. (axios) #6052

Closed
AbdallahAli912 opened this issue Nov 20, 2023 · 6 comments
Labels
needs more info More information is required

Comments

@AbdallahAli912
Copy link

  • Laravel Version: 9.19
  • Nova Version: 4.21
  • PHP Version: 8.0.2

Description:

Screenshot 2023-11-20 at 5 41 37 PM

can't made any request or open any resource in nova.

@crynobone
Copy link
Member

Unable to reproduce the issue, please provide full reproducing repository based on fresh installation as suggested in the bug report template (or you can refer to https://github.com/nova-issues for example)

@crynobone crynobone added the needs more info More information is required label Nov 21, 2023
@wamesro
Copy link

wamesro commented Nov 22, 2023

I have the same error when updating from 4.29.5 to 4.32.1
The problem is already in 4.29.6 because it doesn't work there either

I'm using the package https://github.com/stepanenko3/nova-boolean-group-field

The problem is when I want to get the value from another Field via depedsOn()
I don't know if it's a Laravel Nova bug or if it's a new feature that other packages are supposed to use

I described more in the Issue to the author
stepanenko3/nova-boolean-group-field#4

@andypooletrioteca
Copy link

Had the same issue and solved it by overriding the axios package in the custom components that used the package form-backend-validation. Saw it here spatie/form-backend-validation#98

@davidhemphill
Copy link
Contributor

To diagnose and fix issues, we need to be able to reproduce them. Having detailed bug reports, and ideally, a reproduction repository is the best way to help us.

When you can provide a reproducible example on a fresh instance of Nova, we'd love to take a look and work towards a resolution!

@Bibesko
Copy link

Bibesko commented Jan 11, 2024

I solve this problem by run npm update & npm run prod in my custom field folder. If u can't run this commands first try to run this cd vendor/laravel/nova && npm install in root of app folder.

@salmanhijazi
Copy link

salmanhijazi commented Oct 2, 2024

Had the same issue and solved it by overriding the axios package in the custom components that used the package form-backend-validation. Saw it here spatie/form-backend-validation#98

@andypooletrioteca Can you explain how you did this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs more info More information is required
Projects
None yet
Development

No branches or pull requests

7 participants