Code Monkey home page Code Monkey logo

Comments (13)

mikebronner avatar mikebronner commented on May 29, 2024

Glad it's useful to you Could you provide specific issues you are experiencing?

from nova-map-marker-field.

vbezruchkin avatar vbezruchkin commented on May 29, 2024

wow, that was fast :)

Using version ^0.1.8 for genealabs/nova-map-marker-field
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for genealabs/nova-map-marker-field ^0.1.8 -> satisfiable by genealabs/nova-map-marker-field[0.1.8].
    - genealabs/nova-map-marker-field 0.1.8 requires laravel/nova 2.* -> no matching package found.

That's strange as my Nova is 2.1.x :)

from nova-map-marker-field.

mikebronner avatar mikebronner commented on May 29, 2024

Try clearing your composer cache: composer clear-cache && composer update. Let me know if that fixes it. I am using it in Nova 2.1 projects without any issues that I have found so far. :)

from nova-map-marker-field.

mikebronner avatar mikebronner commented on May 29, 2024

Also, check if you have the Nova entry in your composer.json file:

"laravel/nova": "2.*",

from nova-map-marker-field.

vbezruchkin avatar vbezruchkin commented on May 29, 2024

Just did it,

Clearing cache (cache-vcs-dir): /Users/vbezruchkin/.composer/cache/vcs
Clearing cache (cache-repo-dir): /Users/vbezruchkin/.composer/cache/repo
Clearing cache (cache-files-dir): /Users/vbezruchkin/.composer/cache/files
Clearing cache (cache-dir): /Users/vbezruchkin/.composer/cache
All caches cleared.
...
   Finished: success: 12, skipped: 0, failure: 0, total: 12
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
...
vbezruchkin@vbezruchkin  ~/projects/intelliants/banks   develop ● ↑4 ⍟3  composer require genealabs/nova-map-marker-field

    1/1:	http://repo.packagist.org/p/provider-latest$377ee2d5e39c525d9cec07804de0f29531bd8adb0bc6487385989af3f73704ce.json
    Finished: success: 1, skipped: 0, failure: 0, total: 1
Using version ^0.1.8 for genealabs/nova-map-marker-field
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for genealabs/nova-map-marker-field ^0.1.8 -> satisfiable by genealabs/nova-map-marker-field[0.1.8].
    - genealabs/nova-map-marker-field 0.1.8 requires laravel/nova 2.* -> no matching package found.

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting
   see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
 - It's a private package and you forgot to add a custom repository to find it

Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.

Installation failed, reverting ./composer.json to its original content.
composer require genealabs/nova-map-marker-field  12.17s user 1.04s system 72% cpu 18.201 total

Yes, I do have Nova in my json

        "laravel/framework": "5.8.*",
        "laravel/nova": "*",
        "laravel/telescope": "^2.0",

from nova-map-marker-field.

mikebronner avatar mikebronner commented on May 29, 2024

That's odd ... let me get back to you on this. I'm in the middle of something else at the moment.

from nova-map-marker-field.

vbezruchkin avatar vbezruchkin commented on May 29, 2024

no rush at all, thanks for your assistance

from nova-map-marker-field.

mikebronner avatar mikebronner commented on May 29, 2024

I just ran it without issue on my project. it must be something in your composer.json. Can you post the entire file for me?

from nova-map-marker-field.

vbezruchkin avatar vbezruchkin commented on May 29, 2024
{
    "name": "laravel/laravel",
    "type": "project",
    "description": "The Laravel Framework.",
    "keywords": [
        "framework",
        "laravel"
    ],
    "license": "MIT",
    "repositories": [
        {
            "type": "path",
            "url": "./nova"
        },
    ],
    "require": {
        "php": "^7.1.3",
        "artesaos/seotools": "^0.12.1",
        "coreproc/nova-system-info-card": "^0.0.1",
        "dimsav/laravel-translatable": "^9.2",
        "ebess/advanced-nova-media-library": "^2.7",
        "epartment/nova-dependency-container": "^1.1",
        "fideloper/proxy": "^4.0",
        "fourstacks/nova-checkboxes": "^0.1.3",
        "guzzlehttp/psr7": "^1.5",
        "itsgoingd/clockwork": "^3.1",
        "jenssegers/agent": "^2.6",
        "joedixon/laravel-translation": "^0.1.4",
        "kabbouchi/nova-impersonate": "^1.0",
        "khalin/nova-link-field": "^1.1",
        "laravel/framework": "5.8.*",
        "laravel/nova": "*",
        "laravel/telescope": "^2.0",
        "laravel/tinker": "^1.0",
        "mad-web/nova-telescope-link": "^2.0",
        "martinlindhe/laravel-vue-i18n-generator": "^0.1.37",
        "mcamara/laravel-localization": "^1.3",
        "php-http/curl-client": "^1.7",
        "sentry/sentry-laravel": "*",
        "sidis405/nova-installed-packages": "^0.1.8",
        "spatie/laravel-analytics": "^3.6.4",
        "spatie/laravel-backup": "^6.3",
        "spatie/laravel-medialibrary": "^7.0.0",
        "spatie/laravel-permission": "^2.37",
        "spatie/laravel-robots-middleware": "^1.0",
        "stevebauman/location": "^3.0",
        "tightenco/ziggy": "^0.6.9",
        "yeswedev/nova-translatable": "^0.6.0"
    },
    "require-dev": {
        "beyondcode/laravel-dump-server": "^1.0",
        "filp/whoops": "^2.0",
        "fzaninotto/faker": "^1.4",
        "mockery/mockery": "^1.0",
        "nunomaduro/collision": "^2.0",
        "nunomaduro/phpinsights": "^1.3",
        "phpunit/phpunit": "^7.0"
    },
    "config": {
        "optimize-autoloader": true,
        "preferred-install": "dist",
        "sort-packages": true
    },
    "extra": {
        "laravel": {
            "dont-discover": []
        }
    },
    "autoload": {
        "psr-4": {
            "App\\": "app/"
        },
        "classmap": [
            "database/seeds",
            "database/factories"
        ],
        "files": [
            "app/Functions.php"
        ]
    },
    "autoload-dev": {
        "psr-4": {
            "Tests\\": "tests/"
        }
    },
    "minimum-stability": "dev",
    "prefer-stable": true,
    "scripts": {
        "post-autoload-dump": [
            "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
            "@php artisan package:discover --ansi"
        ],
        "post-root-package-install": [
            "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
        ],
        "post-create-project-cmd": [
            "@php artisan key:generate --ansi"
        ],
        "migrate": [
            "php artisan tables:drop",
            "php artisan migrate:refresh --force"
        ],
        "ms": [
            "@migrate",
            "php artisan db:seed --force",
            "php artisan queue:work --stop-when-empty"
        ],
        "vg": [
            "php artisan vue-i18n:generate",
            "php artisan ziggy:generate \"resources/js/ziggy.js\""
        ],
        "reseed": [
            "php artisan tables:truncate",
            "php artisan db:seed --force",
            "php artisan queue:work --stop-when-empty"
        ],
        "deploy": [
            "@composer update",
            "@vg",
            "yarn",
            "yarn prod"
        ]
    }
}

there are some private repos, but I removed them from the list.

I can install the other packages, for example Telescope was added without any issues.

from nova-map-marker-field.

mikebronner avatar mikebronner commented on May 29, 2024

Try changing "laravel/nova": "*", to "laravel/nova": "2.*",. It's possible that another package is requiring a lower version of nova.

from nova-map-marker-field.

mikebronner avatar mikebronner commented on May 29, 2024

I have updated your composer.json to work:

{
    "name": "laravel/laravel",
    "type": "project",
    "description": "The Laravel Framework.",
    "keywords": [
        "framework",
        "laravel"
    ],
    "license": "MIT",
    "repositories": [
        {
            "type": "composer",
            "url": "https://nova.laravel.com"
        }
    ],
    "require": {
        "php": "^7.1.3",
        "artesaos/seotools": "*",
        "coreproc/nova-system-info-card": "*",
        "dimsav/laravel-translatable": "*",
        "ebess/advanced-nova-media-library": "*",
        "epartment/nova-dependency-container": "*",
        "fideloper/proxy": "*",
        "fourstacks/nova-checkboxes": "*",
        "guzzlehttp/psr7": "*",
        "itsgoingd/clockwork": "*",
        "jenssegers/agent": "*",
        "joedixon/laravel-translation": "*",
        "kabbouchi/nova-impersonate": "*",
        "khalin/nova-link-field": "*",
        "laravel/framework": "5.8.*",
        "laravel/nova": "*",
        "laravel/telescope": "*",
        "laravel/tinker": "*",
        "mad-web/nova-telescope-link": "*",
        "martinlindhe/laravel-vue-i18n-generator": "*",
        "mcamara/laravel-localization": "*",
        "php-http/curl-client": "*",
        "sentry/sentry-laravel": "*",
        "sidis405/nova-installed-packages": "*",
        "spatie/laravel-analytics": "*",
        "spatie/laravel-backup": "*",
        "spatie/laravel-medialibrary": "*",
        "spatie/laravel-permission": "*",
        "spatie/laravel-robots-middleware": "*",
        "stevebauman/location": "*",
        "tightenco/ziggy": "*",
        "yeswedev/nova-translatable": "*"
    },
    "require-dev": {
        "beyondcode/laravel-dump-server": "^1.0",
        "filp/whoops": "^2.0",
        "fzaninotto/faker": "^1.4",
        "mockery/mockery": "^1.0",
        "nunomaduro/collision": "^2.0",
        "nunomaduro/phpinsights": "^1.3",
        "phpunit/phpunit": "^7.0"
    },
    "config": {
        "optimize-autoloader": true,
        "preferred-install": "dist",
        "sort-packages": true
    },
    "extra": {
        "laravel": {
            "dont-discover": []
        }
    },
    "autoload": {
        "psr-4": {
            "App\\": "app/"
        },
        "classmap": [
            "database/seeds",
            "database/factories"
        ],
        "files": [
            "app/Functions.php"
        ]
    },
    "autoload-dev": {
        "psr-4": {
            "Tests\\": "tests/"
        }
    },
    "minimum-stability": "dev",
    "prefer-stable": true,
    "scripts": {
        "post-autoload-dump": [
            "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
            "@php artisan package:discover --ansi"
        ],
        "post-root-package-install": [
            "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
        ],
        "post-create-project-cmd": [
            "@php artisan key:generate --ansi"
        ],
        "migrate": [
            "php artisan tables:drop",
            "php artisan migrate:refresh --force"
        ],
        "ms": [
            "@migrate",
            "php artisan db:seed --force",
            "php artisan queue:work --stop-when-empty"
        ],
        "vg": [
            "php artisan vue-i18n:generate",
            "php artisan ziggy:generate \"resources/js/ziggy.js\""
        ],
        "reseed": [
            "php artisan tables:truncate",
            "php artisan db:seed --force",
            "php artisan queue:work --stop-when-empty"
        ],
        "deploy": [
            "@composer update",
            "@vg",
            "yarn",
            "yarn prod"
        ]
    }
}

Also, I saw you were pulling in some packages that I also have excellent solutions for:

from nova-map-marker-field.

vbezruchkin avatar vbezruchkin commented on May 29, 2024

that didn't work as well, unfortunately. I guess it might be something in my configuration. I will check it carefully and let you know. thanks again.

UPD: sorry, missed the latest reply. I will give it a try. thanks

from nova-map-marker-field.

vbezruchkin avatar vbezruchkin commented on May 29, 2024

yes, working fine. thanks for your assistance.

I will check your packages.

from nova-map-marker-field.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.