Appium launch on Mac bash profile command not found

Hi,

I am very new to Appium. I have installed everything and whenever I press on launch I am seeing the following (please note the bold part):

Launching Appium with command: ‘/Applications/Appium.app/Contents/Resources/node/bin/node’ lib/server/main.js --command-timeout “7200” --debug-log-spacing --platform-version “8.1” --platform-name “iOS” --app “/Users/n452109/Desktop/Avios.ipa” --show-ios-log --show-ios-log --device-name “iPhone 6” --isolate-sim-device

/Users/n452109/.bash_profile: line 1: ---------------------------------------------------------------------------: command not found

This is my bash_profile:

GNU nano 2.0.6 File: bash_profile

export JAVA_HOME=/Users/n451902/Library/Java/Home
export JRE_HOME=/Users/n451902/Library/Java/Home
export ANDROID_HOME=/Users/n451902/Library/Android/sdk
export PATH=$PATH:/Users/n451902/Library/Android/sdk/platform-tools
PATH=$PATH:/usr/local/bin/ant
PATH=$PATH:/usr/local/bin/npm
export JAVA_HOME="`/Users/n451902/Library/Frameworks/JavaVM.framework/Versions/$

I have spent hours and hours and just dont’ know what I am doing wrong.
I also have iTerm installed so I am not sure if this is conflicting with bash.

Please can someone help me through this, I would be very greatful.

Thanks you.

It looks like you have a file named ‘bash_profile’ but it should be ‘.bash_profile’ (note the dot [‘.’] in front. Could that be your problem?