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

export: Command not found on mac #161

Closed
wants to merge 1 commit into from

Conversation

jayenashar
Copy link

No description provided.

@Gnito
Copy link
Contributor

Gnito commented Nov 21, 2022

@jayenashar, this sounds pretty strange, since we actually develop this on macs.
Have you started to use some exotic shell that doesn't support export?
(I think most of us use zsh, but maybe even bash shell is still used.)

Anyway, we are probably going in this direction:
sharetribe/ftw-daily#1555

@jayenashar
Copy link
Author

yeah great. i had a call with aleksi and showed him the issue and i also suggested using cross-env. i'll close this PR.

@jayenashar jayenashar closed this Nov 21, 2022
@jayenashar
Copy link
Author

it's not my machine but no exotic shell was in use. export works fine on the command line but not when invoked from npm run or yarn run

@Gnito
Copy link
Contributor

Gnito commented Nov 21, 2022

Ah, right!

You could maybe check your npm configs:
npm config ls -l | grep shell

or yarn might also have some script shell config set.

@jayenashar
Copy link
Author

npm config ls -l | grep shell gives /bin/bash

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