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

Having trouble setting up my Mocha testing environment using node.js framework with M1 chip for iOS #3920

Closed
bbush83 opened this issue Jun 29, 2022 · 2 comments
Labels

Comments

@bbush83
Copy link

bbush83 commented Jun 29, 2022

Details

So every time I open VSC and try to run yarn, the version of node is node -v = 18.3.0
I'm not super good at understanding bash or the iOS FS, but this is the work around that fixes my nvm and presents me with the correct version I need so I can use node use 14.15.1

Workaround

  export NVM_DIR="$HOME/.nvm"
    
    [ -s "/opt/homebrew/opt/nvm/nvm.sh" ] && . "/opt/homebrew/opt/nvm/nvm.sh"
    
    [ -s "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm" ] && . "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm"

I assume this is a pathing issue when I installed nvm/npm. I'm trying to document this for my team so they don't run into this issue in the future. If there is anything else I can share please let me know.

This is what I get when opening VSC

Node.js version

Node -v = 14.15.1

Example code

No response

Operating system

iOS M1 mini mac

Scope

Having trouble with running yarn tests at runtime

Module and version

Not applicable.

Copy link

github-actions bot commented Jan 2, 2024

There has been no activity on this issue for 11 months. The help repository works best when sustained engagement moves conversation forward. The issue will be closed in 1 month. If you are still experiencing this issue on the latest supported versions of Node.js, please leave a comment.

@github-actions github-actions bot added the stale label Jan 2, 2024
Copy link

github-actions bot commented Feb 2, 2024

Closing after no activity on this issue for 12 months.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant