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

Cannot install dependencies on a mac #411

Closed
dougy-fresh opened this issue Aug 12, 2023 · 0 comments · Fixed by #420
Closed

Cannot install dependencies on a mac #411

dougy-fresh opened this issue Aug 12, 2023 · 0 comments · Fixed by #420
Assignees
Labels
bug Something isn't working

Comments

@dougy-fresh
Copy link
Contributor

When I run yarn install, I get errors

➤ YN0009: │ esbuild@npm:0.5.26 couldn't be built successfully (exit code 1, logs can be found here: /private/var/folders/zq/wp9fn4992rggqd986gsnv3rm0000gn/T/xfs-507b5516/build.log)
➤ YN0000: └ Completed in 22s 902ms
➤ YN0000: Failed with errors in 23s 392ms

Looks like we have an old version of esbuild that doesn't support macOS in the dependency closure

» cat /private/var/folders/zq/wp9fn4992rggqd986gsnv3rm0000gn/T/xfs-507b5516/build.log
# This file contains the result of Yarn building a package (esbuild@npm:0.5.26)
# Script name: postinstall

error: Unsupported platform: darwin arm64 LE

It seems to be coming from the cli wrapper we're using to execute the cli at test time

» npm why esbuild@0.5.26
esbuild@0.5.26 dev
node_modules/aria-build/node_modules/esbuild
  esbuild@"^0.5.3" from aria-build@0.4.5
  node_modules/aria-build
    aria-build@"^0.4.3" from ts-node-esm@0.0.6
    node_modules/ts-node-esm
      dev ts-node-esm@"^0.0.6" from the root project

Looking at that package on the file system, it has this description

"description": "Example code for using using ts-node/esm",

So I'm pretty sure we've declared the wrong dependency here. Let's remove it and find a better solution.

@doug-wade doug-wade added the bug Something isn't working label Aug 12, 2023
@doug-wade doug-wade changed the title Does not build on a mac Cannot install dependencies on a mac Aug 12, 2023
dougy-fresh added a commit to dougy-fresh/tybalt that referenced this issue Aug 14, 2023
dougy-fresh added a commit to dougy-fresh/tybalt that referenced this issue Aug 14, 2023
dougy-fresh added a commit to dougy-fresh/tybalt that referenced this issue Aug 14, 2023
dougy-fresh added a commit to dougy-fresh/tybalt that referenced this issue Aug 14, 2023
doug-wade pushed a commit that referenced this issue Aug 14, 2023
doug-wade pushed a commit that referenced this issue Aug 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants