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

fix(build): use meteor node command instead of node #22

Merged
merged 1 commit into from Feb 6, 2023
Merged

fix(build): use meteor node command instead of node #22

merged 1 commit into from Feb 6, 2023

Conversation

red-meadow
Copy link
Contributor

Closes #18 and this one.

This PR replaces node XXX command with meteor node XXX in vite-bundler/build.js, as described in this comment.

This is a small but very critical fix for those using meteor-base docker image. The building is not possible without it. @Akryum , please review it, it's just 2 lines.

@diavrank
Copy link

diavrank commented Feb 4, 2023

It worked with my Meteor + Vue app

Screenshot 2023-02-04 at 13 33 10

Everything is running well in the production environment.

Thanks soooo much for this PR.

@Akryum could you help us with this fix, please?

I also tested the build in my local machine and it still works with this change.

Notes:

  • Meteor 2.10.0
  • Vite 4
  • TypeScript
  • Vite aliases (only in client files)
  • Sass in vue components

@red-meadow
Copy link
Contributor Author

@diavrank , did you have to do anything special to make Vite 4 work?

@diavrank
Copy link

diavrank commented Feb 6, 2023

@red-meadow no really, everything kept the same. This is the commit diavrank/theory-swe@79016e7

@diavrank
Copy link

diavrank commented Feb 6, 2023

@Akryum could you help us with this, please?

@Akryum Akryum changed the title Fix build with docker: use meteor node command instead of node fix(build): use meteor node command instead of node Feb 6, 2023
@Akryum Akryum merged commit 8568751 into Akryum:main Feb 6, 2023
Akryum pushed a commit that referenced this pull request Oct 10, 2023
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

Successfully merging this pull request may close these issues.

Build with docker image is failing
3 participants