Umbraco 14 Custom Dashboard
# help-with-umbraco
b
Hi, At the moment i have a playground for umbraco 14 to get used to all the new methods and implementations. Each time i install vite and ts, after running "npm run build" the error in the image shows. I'm not sure why this is, i've installed umbraco cms package and even started a new project where i followed the guide step by step on umbracos site and still come across this issue. https://cdn.discordapp.com/attachments/1263805869817069599/1263805870123384852/image.png?ex=669b926f&is=669a40ef&hm=afe646d231c16c9781c8f17a1b9fefa3f017289525e21901fdcff54eff322bd3&
n
Hi Ben, I "think" this is a versioning issue, your NPM install has put in a too-new version of either Vite or Lit I think, The versions I'm using are: "lit": "^3.1.4" "typescript": "^5.2.2", "vite": "^5.3.1"
b
Awesome, will give it a go!
{ "name": "client", "private": true, "version": "0.0.0", "type": "module", "scripts": { "dev": "vite", "build": "tsc && vite build", "preview": "vite preview" }, "dependencies": { "lit": "^3.1.4" }, "devDependencies": { "@Umbraco-cms/backoffice": "^14.1.1", "typescript": "^5.2.2", "vite": "^5.3.1" } }
This is my package.json file, just ran the "npm run build" and seems to be causing the same issue
n
What happens if your downgrade the umbraco backoffice package to "@Umbraco-cms/backoffice": "^14.1.0-rc2",
n
Remove the lit dependency too, the CMS package provides lit for us so no need to explicitly take the dependency.
17 Views