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

Inconsistent build outcome vs local #16

Open
renyuneyun opened this issue Jul 22, 2023 · 0 comments
Open

Inconsistent build outcome vs local #16

renyuneyun opened this issue Jul 22, 2023 · 0 comments

Comments

@renyuneyun
Copy link

First of all, thanks for making the action. It worked for my project, until a recent update.

I updated some dependencies (including update TS from 4 to 5) and changed some settings of my project. The build succeeds on my local machine.

However, when using this action, on github executor, it complains the following error:

> [email protected] build-only
> vite build

vite v4.4.6 building for production...
transforming...
src/common/userInfoUtils.ts(27,45): error TS7006: Parameter 'data' implicitly has an 'any' type.
src/components/ResourceItem.vue(55,45): error TS7006: Parameter 'data' implicitly has an 'any' type.
src/components/ResourceItem.vue(81,45): error TS7006: Parameter 'data' implicitly has an 'any' type.
ERROR: "type-check" exited with 2.
Error: Process completed with exit code 1.

I have checked the commands, and they should be the same: npm run build.
I have also tried removing node_modules and run npm ci && npm run build. Still no such errors on my local machine.

Any ideas on why this happened, and how to solve it?

The relevant build environment is: renyuneyun/PermiX@a339279

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

No branches or pull requests

1 participant