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

Bump webpacker from 4.0.2 to 5.4.0 #564

Merged
merged 1 commit into from
Jun 28, 2021
Merged

Bump webpacker from 4.0.2 to 5.4.0 #564

merged 1 commit into from
Jun 28, 2021

Conversation

AbuMareBear
Copy link
Contributor

In versions of webpacker prior to 5.4.0, webpacker has a dependency on
node-sass, which has a dependency on node-gyp. This dependency seems
to be causing problems with Apple's slicon chip. In 5.4.0, this
dependency is removed in favor of sass, which is the default
implemenation written in dart. sass does not depend on node-gyp.

Running yarn with version lower that 5.4.0 always fails on install node-sass even when updating python to python3. After upgrading I am able to run yarn and the app successfully runs. However, running the test suite results in multiple failures. These failures do not seem to be caused by webpacker but I am not 100% sure. Are there failing tests when using version 4?

In versions of webpacker prior to 5.4.0, webpacker has a dependency on
`node-sass`, which has a dependency on `node-gyp`. This dependency seems
to be causing problems with Apple's slicon chip. In 5.4.0, this
dependency is removed in favor of `sass`, which is the default
implemenation written in dart. `sass` does not depend on `node-gyp`.
@jim
Copy link
Member

jim commented Jun 24, 2021

@AbuMareBear Can you copy and past the test failures you're seeing? I pulled down this branch and both bin/rails test and bin/rails test:system passed. Occasionally system tests do fail, though, but for the most part they will then succeed on a re-run.

@jim
Copy link
Member

jim commented Jun 24, 2021

I forgot to mention that I'm on an x86 Mac.

@AbuMareBear
Copy link
Contributor Author

Opps. All the tests are green for me too. I'm not sure why I had failures before.

@jim
Copy link
Member

jim commented Jun 28, 2021

I'm getting some new warnings from the change to Dart SASS, but they seem to be issues with the CSS framework that have already been mentioned in its repo.

@jim jim merged commit 63d80a5 into chicago-tool-library:main Jun 28, 2021
@jim jim mentioned this pull request Jun 28, 2021
@AbuMareBear AbuMareBear deleted the ah/bump-rails-webpacker branch June 28, 2021 01:32
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.

2 participants