Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with TS Meteor project. #12

Closed
DavidSichau opened this issue Sep 22, 2022 · 1 comment
Closed

Problems with TS Meteor project. #12

DavidSichau opened this issue Sep 22, 2022 · 1 comment

Comments

@DavidSichau
Copy link

I tried the package with a large ts project.

If I remove refapp:meteor-typescript from the build the builder is complaining about:

   While building the application:
   error: Could not find mainModule for 'web.browser' architecture:
   client/main.ts
   Check the "meteor" section of your package.json file?
   error: Could not find mainModule for 'web.browser.legacy'
   architecture:
   client/main.ts
   Check the "meteor" section of your package.json file?

If I add the ts compiler to meteor I get the following error:

  packages/refapp:meteor-typescript-compiler/meteor-typescript-compiler.ts:314:13:
   Could not find a valid 'tsconfig.json'.
   at MeteorTypescriptCompilerImpl.createWatcher

Would it be possible to have a example showing how a ts project can be used with meteor-vite?

@diavrank
Copy link

I have an example with TS, Vite 4 and Meteor 2.10 here diavrank/theory-swe#5

Repository owner locked and limited conversation to collaborators Feb 6, 2023
@Akryum Akryum converted this issue into discussion #25 Feb 6, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants