Skip to content

npm is not using cache  #1194

Open
Open
@gtournie

Description

@gtournie

I just setup a new droplet on Digital Ocean, with the latest Ubuntu.
I just use a minimal configuration:

dokku apps:create app
dokku config:set app NPM_CONFIG_PRODUCTION=false
dokku config:set app NODE_MODULES_CACHE=true
dokku domains:set app xxx.com

(Buildpack is automatically detected and installed. It installs heroku-buildpacks-nodejs by default)

Thing is, everytime I push on dokku it says:

-----> Restoring cache
       - npm cache (not cached - skipping)

Here's my env:

"engines": {
    "node": "18.16.0",
    "npm": "9.5.1"
  },

Is there something I forgot to do to activate npm's cache?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions