Help with importing packages for a custom property editor

Hi, I’ve created a custom property editor for the umbraco backoffice version 16.0.0, so using vite and lit, however when trying to import something like:

import { UMB_PROPERTY_CONTEXT, UmbPropertyContext } from ‘@umbraco-cms/backoffice/property’;

I get the following error:

(TS) Cannot find module ‘@umbraco-cms/backoffice/property’ or its corresponding type declarations.

I’ve been on this for days, even tried a fresh install on a completely different project with the same result.

Is anyone else also having an issue like this or could offer some advice? I can import from vite and lit perfectly fine, the issue only arises when importing from @umbraco-cms/backoffice

Let’s start with the obvious things:

Does your package.json actually import the Umbraco backoffice package?
```

{
  ...
  "devDependencies": {
    "@hey-api/client-fetch": "^0.10.0",
    "@hey-api/openapi-ts": "^0.66.7",
    "@umbraco-cms/backoffice": "^*",
    "chalk": "^5.4.1",
    "eslint": "^9.18.0",
    "node-fetch": "^3.3.2",
    "typescript": "~5.6.2",
    "vite": "^6.0.5"
  }
  ...
}

And did you install all the packages using npm install?