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

Widgets section don't work after update #9

Closed
keizah7 opened this issue Mar 25, 2021 · 16 comments
Closed

Widgets section don't work after update #9

keizah7 opened this issue Mar 25, 2021 · 16 comments

Comments

@keizah7
Copy link
Contributor

keizah7 commented Mar 25, 2021

Method DigitalCreative\InlineMorphTo\InlineMorphTo::typeUpdateable does not exist.

@mdanro
Copy link

mdanro commented Mar 25, 2021

Comment it out and will launch, however it depends on some fixed paths to the Models

@keizah7
Copy link
Contributor Author

keizah7 commented Mar 26, 2021

I don't use this method by myself, it's package error #10

@marispro
Copy link
Contributor

This is related to dcasia/nova-inline-morph-to#25 where we added typeUpdateable method to allow update model data after creation.
While pull request is not approved, we are using fork https://github.com/marispro/nova-inline-morph-to

Currently, we have this dependency attached through repositories: https://github.com/Nova-BI/nova-dashboard-manager/blob/main/composer.json
image

But it is strange, that this dependency is not applied for you.
Do you have "digital-creative/nova-inline-morph-to" package in your composer.json?

@mdanro
Copy link

mdanro commented Mar 26, 2021

I can confirm that the dependency exists but probably ignored:
"digital-creative/nova-inline-morph-to": "dev-master",

"repositories": [
    {
        "type": "vcs",
        "url": "[email protected]:marispro/nova-inline-morph-to.git"
    } 

@keizah7
Copy link
Contributor Author

keizah7 commented Mar 26, 2021

@marispro

"repositories": [
    {
        "type": "vcs",
        "url": "https://github.com/marispro/nova-inline-morph-to"
    }
]

I think you should create custom branch in marispro/nova-inline-morph-to
And require it like this
"digital-creative/nova-inline-morph-to": "dev-custom",
Original package also has master branch, so maybe conflict is here. I had similar problem then used forked version of your project

@marispro
Copy link
Contributor

@keizah7 thanks! Changed branch to dev-custom and updated dependecies on composer. Can you try update composer and look does it solve the problem?

@keizah7
Copy link
Contributor Author

keizah7 commented Mar 26, 2021

Problem 1
    - Installation request for nova-bi/nova-dashboard-manager ^1.3 -> satisfiable by nova-bi/nova-dashboard-manager[1.3].
    - nova-bi/nova-dashboard-manager 1.3 requires digital-creative/nova-inline-morph-to dev-custom -> no matching package found.

@marispro
Copy link
Contributor

Renamed branch from "custom" to "dev-custom", probably requires some time to drop composer cache or composer clearcache

@keizah7
Copy link
Contributor Author

keizah7 commented Mar 26, 2021

It should work if your branch named custom. custom => dev-custom. If your branch is dev-custom, you should require dev-dev-custom..
You didn't changed repository url, maybe problem is here

@marispro
Copy link
Contributor

@keizah7 Ok didn't know that. Changed back to custom.
Custom is only branch here https://github.com/marispro/nova-inline-morph-to (renamed from master).
What url need to be changed?

Thank you for help!

@keizah7
Copy link
Contributor Author

keizah7 commented Mar 26, 2021

"repositories": [
    {
        "type": "vcs",
        "url": "https://github.com/marispro/nova-inline-morph-to"
    }
]

Try this one

@marispro
Copy link
Contributor

"repositories": [
    {
        "type": "vcs",
        "url": "https://github.com/marispro/nova-inline-morph-to"
    }
]

Try this one

Changed

@keizah7
Copy link
Contributor Author

keizah7 commented Mar 26, 2021

https://packagist.org/packages/nova-bi/nova-dashboard-manager
where is v1.4? Sometimes need some time to wait

@keizah7
Copy link
Contributor Author

keizah7 commented Mar 26, 2021

 Problem 1
    - Installation request for nova-bi/nova-dashboard-manager ^1.4 -> satisfiable by nova-bi/nova-dashboard-manager[1.4].
    - nova-bi/nova-dashboard-manager 1.4 requires digital-creative/nova-inline-morph-to dev-custom -> no matching package found.

@mdanro
Copy link

mdanro commented Mar 26, 2021

I have the same issue
composer update nova-bi/nova-dashboard-manager --with-all-dependencies

Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1
- Root composer.json requires nova-bi/nova-dashboard-manager ^1.4 -> satisfiable by nova-bi/nova-dashboard-manager[1.4].
- nova-bi/nova-dashboard-manager 1.4 requires digital-creative/nova-inline-morph-to dev-custom -> found digital-creative/nova-inline-morph-to[dev-dependabot/npm_and_yarn/ini-1.3.8, dev-dependabot/npm_and_yarn/elliptic-6.5.4, dev-dependabot/npm_and_yarn/axios-0.21.1, dev-master, v0.1.0, ..., v0.2.1] but it d
oes not match the constraint.

@keizah7
Copy link
Contributor Author

keizah7 commented Mar 29, 2021

@mdanro

{
  "require": {
       "nova-bi/nova-dashboard-manager": "dev-main",
  }
  "repositories": [
       {
           "type": "vcs",
            "url": "https://github.com/keizah7/nova-dashboard-manager"
       }
  ]
}

composer update

@marispro marispro closed this as completed Jun 4, 2021
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