Skip to content

build fails with node version issue #130

@hardikdangar

Description

@hardikdangar

Hello,

in my gitlab ci/cd i am using lorisleiva/laravel-docker:8.1,

Suddenly my gitlab pipeline failed with, "Unable to resolve `@import "tippy.js/dist/tippy.css". after debugging i found out why it works on my local machine and not in server anymore. docker build's node version is v16.20.1 and in my local i am using latest node version v18.13.0

So is there a way i can customise node version just like laravel sail, in laravel sail i can do something like

build:
    args:
        NODE_VERSION: '18'

I am using this in gitlab ci cd so not sure how do i resolve this one. thanks for your help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions