这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@chameleonmind
Copy link
Contributor

Fixes the issue with build in the freshly created Turborepo project with vue-nuxt example

Description

When you init a new project and try build command, there are errors in web app:

web:build: ../../packages/ui/index.ts(1,18): error TS7016: Could not find a declaration file for module './src/card.vue'. 'D:/Projekti/turborepo-vue-test/packages/ui/src/card.vue' implicitly has an 'any' type.
web:build: ../../packages/ui/index.ts(2,22): error TS7016: Could not find a declaration file for module './src/gradient.vue'. 'D:/Projekti/turborepo-vue-test/packages/ui/src/gradient.vue' implicitly has an 'any' type.
web:build: ../../packages/ui/index.ts(3,18): error TS7016: Could not find a declaration file for module './src/page.vue'. 'D:/Projekti/turborepo-vue-test/packages/ui/src/page.vue' implicitly has an 'any' type.

Testing Instructions

Tried to run example from a branch but that didn't really work.

npx create-turbo@latest --example https://github.com/chameleonmind/turborepo/tree/fix/Fix_example_vue_nuxt_build

If necessary, I could provide a repo with these changes only

@chameleonmind chameleonmind requested a review from a team as a code owner April 3, 2025 07:18
@vercel
Copy link
Contributor

vercel bot commented Apr 3, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
examples-basic-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 3, 2025 7:19am
examples-designsystem-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 3, 2025 7:19am
examples-native-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 3, 2025 7:19am
examples-svelte-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 3, 2025 7:19am
examples-tailwind-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 3, 2025 7:19am
examples-vite-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 3, 2025 7:19am

@turbo-orchestrator turbo-orchestrator bot added area: examples Improvements or additions to examples needs: triage labels Apr 3, 2025
@vercel
Copy link
Contributor

vercel bot commented Apr 3, 2025

@chameleonmind is attempting to deploy a commit to the Vercel Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: examples Improvements or additions to examples

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant