Skip to content
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

Error occurred during while running tsc #3

Open
philipostli opened this issue Oct 14, 2024 · 2 comments
Open

Error occurred during while running tsc #3

philipostli opened this issue Oct 14, 2024 · 2 comments

Comments

@philipostli
Copy link

Having trouble running the proposed readme-example.
Getting This is not the tsc command you are looking for

I think the problem is running package npx tsc is not supported anymore.
We should either use npx --package=typescript -- tsc or even better, add typescript to dependencies and just run tsc.

Logs:
https://github.com/philipostli/com.uyunilighting/actions/runs/11329943899/job/31506619876

@philipostli
Copy link
Author

Made a pull request to athombv/node-homey here

@philipostli
Copy link
Author

philipostli commented Nov 11, 2024

Hm. Not sure adding typescript would be smart as we should always use the typescript version pointed to by the package we run the cli-tool on. Also tcs command will fail if the package is not installed won't it? So the question is why npm ci was removed in commit 175b78d

To test this locally, run homey app validate before installing the local package (try deleting "node_modules" folder).

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

No branches or pull requests

1 participant