Hello,
I’ve recently finished part of my project with react native. It’s my first project with react native. I’m going to create and publish the app on Appstore but when I use exp start
on PowerShell, it runs the Oracle export utility. I don’t know how to remove or disable this utility. I was wondering to know if you have any idea to help me on this case to use exp
commands.
Thank you
Assuming you installed exp
with npm, you can run npm -g bin
to get the path where npm installs binaries. If you take that path and add exp
on the end you should be able to run the Expo exp
command. Then you could define some alias of your choice in your shell configuration files so that exp
always refers to $(npm -g bin)/exp
(I’m not sure if that is the right syntax, I’m more familiar with Bash than PowerShell).
@ide Sir, I did what you said, but after finding the path, it tells which application to use to open the exp, and after choosing notepad, it displays like this =>
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
"$basedir/node" "$basedir/node_modules/exp/bin/exp.js" "$@"
ret=$?
else
node "$basedir/node_modules/exp/bin/exp.js" "$@"
ret=$?
fi
exit $ret```