Some modules are not available yet. Please wait while dependencies finish installing

How would I solve this issue? I tried to create a function which requires the following modules.

import { Function } from "@foundry/functions-api";
import * as modelsApi from "@foundry/models-api";

This is my package.json dependencies

  "dependencies": {
    "@foundry/functions-api": "0.106.0",
    "@foundry/functions-typescript-runtime-internal-api": "0.109.0",
    "@foundry/models-api": "latest",
    "@foundry/functions-utils": "0.12.0"
  },

I have committed my changes but the error still persists. Any recommendations on how to fix this issue?

Additionally, how would I connect this function to the SDK?

Hi! Have you tried upgrading the repo?

Documentation: https://www.palantir.com/docs/foundry/code-repositories/repository-upgrades#manual-branch-upgrade

Hi there!

Have you tried manually using the resource importer into your codebase on the left? I had this issue with my 4o model taking impossible amounts of time to install dependencies!

Hi, thanks for your help. I did have to import the model and my problem has been solved now.

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.