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

"Unknown version 4 of Samsung" only on AWS #23331

Closed
dandv opened this issue Apr 21, 2020 · 6 comments
Closed

"Unknown version 4 of Samsung" only on AWS #23331

dandv opened this issue Apr 21, 2020 · 6 comments
Labels
status: needs reproduction This issue needs a simplified reproduction of the bug for further troubleshooting. topic: webpack/babel Webpack or babel type: bug An issue or pull request relating to a bug in Gatsby

Comments

@dandv
Copy link
Contributor

dandv commented Apr 21, 2020

Description

I'm getting this error on gatsby develop or gatsby build, in what is AFAICT an identically set up Ubuntu 18 environment, with the only difference being that the error occurs on AWS Lightsail, but not locally. I used npm ci to make sure I install the same package versions - here's package-lock.json.

ERROR #98123 WEBPACK

Generating SSR bundle failed

[BABEL] /home/dandv/website/.cache/develop-static-entry.js: Unknown version 4 of samsung (While processing: "/home/dandv/website/node_modules/@babel/preset-env/lib/index.js")

File: .cache/develop-static-entry.js

Searching for the error shows it occurring with Parcel too.

Hopefully someone has a clue as to what the culprit is (browserlist?) and how to fix it.

Environment

~/website$ node_modules/.bin/gatsby info --clipboard

  System:
    OS: Linux 4.15 Ubuntu 18.04.4 LTS (Bionic Beaver)
    CPU: (1) x64 Intel(R) Xeon(R) CPU E5-2676 v3 @ 2.40GHz
    Shell: 4.4.20 - /bin/bash
  Binaries:
    Node: 13.13.0 - /usr/bin/node
    npm: 6.14.4 - /usr/bin/npm
  Languages:
    Python: 2.7.17 - /usr/bin/python
  npmPackages:
    gatsby: ^2.19.39 => 2.20.25
    gatsby-plugin-manifest: ^2.2.31 => 2.3.5
    gatsby-plugin-offline: ^3.0.26 => 3.1.4
    gatsby-plugin-typescript: ^2.3.1 => 2.3.3
    gatsby-source-graphql: ^2.4.2 => 2.4.2
@dandv dandv added the type: bug An issue or pull request relating to a bug in Gatsby label Apr 21, 2020
@dandv
Copy link
Contributor Author

dandv commented Apr 21, 2020

The error doesn't happen if I use npx yarn instead of npm install.

I've added to the gist yarn.lock and the original package.json.

@madalynrose madalynrose added the topic: cli Related to the Gatsby CLI label Apr 21, 2020
@pvdz pvdz added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label May 11, 2020
@ascorbic
Copy link
Contributor

I think this may be fixed if we update @pmmmwh/react-refresh-webpack-plugin. The version we have installed includes a dependency on react-dev-utils, which has an exact dependency on an ancient version of browserslist. The new version of @pmmmwh/react-refresh-webpack-plugin removes that.

@ascorbic ascorbic added topic: webpack/babel Webpack or babel and removed status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer topic: cli Related to the Gatsby CLI labels May 11, 2020
@github-actions
Copy link

github-actions bot commented Jun 1, 2020

Hiya!

This issue has gone quiet. Spooky quiet. 👻

We get a lot of issues, so we currently close issues after 30 days of inactivity. It’s been at least 20 days since the last update here.
If we missed this issue or if you want to keep it open, please reply here. You can also add the label "not stale" to keep this issue open!
As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request. Check out gatsby.dev/contribute for more information about opening PRs, triaging issues, and contributing!

Thanks for being a part of the Gatsby community! 💪💜

@github-actions github-actions bot added the stale? Issue that may be closed soon due to the original author not responding any more. label Jun 1, 2020
@dandv dandv added not stale and removed stale? Issue that may be closed soon due to the original author not responding any more. labels Jun 1, 2020
@LekoArts LekoArts removed the not stale label Jun 2, 2020
@LekoArts
Copy link
Contributor

LekoArts commented Jun 2, 2020

Can you please provide a minimal reproduction? I don't see any in here.

@LekoArts LekoArts added the status: needs reproduction This issue needs a simplified reproduction of the bug for further troubleshooting. label Jun 2, 2020
@LekoArts
Copy link
Contributor

Hi!

I'm going to close this now, as we can't do much to help without a reproduction. If you are able to create a minimal reproduction for this then please do answer here or reopen the issue. Thanks!

@Halunks
Copy link

Halunks commented Nov 10, 2020

For me deleting the docker cashed files was the solution $ docker builder prune -a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: needs reproduction This issue needs a simplified reproduction of the bug for further troubleshooting. topic: webpack/babel Webpack or babel type: bug An issue or pull request relating to a bug in Gatsby
Projects
None yet
Development

No branches or pull requests

6 participants