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 error for parcel/css on m1 mac. #109

Merged
merged 2 commits into from
Jun 17, 2022

Conversation

agiron123
Copy link
Contributor

@cw75
Copy link
Contributor

cw75 commented Jun 15, 2022

@agiron123 how exactly is this change fixing the issue?

@agiron123
Copy link
Contributor Author

agiron123 commented Jun 16, 2022

@agiron123 how exactly is this change fixing the issue?

@cw75 I googled the error message and found this thread:
parcel-bundler/parcel#7962

Adding the @parcel/css package to package.json and removing package-lock.json and re-installing node_modules seemed to do the trick.

My hunch is that whoever last pushed to main didn't test on an M1 mac and used an Ubuntu box instead.

In the future, we should add M1 as a build target to CI/CD to ensure that our builds work for dev machines.

…utomatic Typescript typedef file generation from project.
@agiron123 agiron123 merged commit 6e9ae79 into main Jun 17, 2022
@kenxu95 kenxu95 deleted the eng-1248-bug-npm-run-start-fails-on-m1-mac branch June 17, 2022 22:22
kenxu95 pushed a commit that referenced this pull request Jun 21, 2022
* Fix build error for parcel/css on m1 mac.

* Sets declarations and declarationMaps to true in tsconfig to enable automatic Typescript typedef file generation from project.
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.

3 participants