Question posted in Xcode
Whether you're new to Xcode or an experienced developer, our archive has everything you need to know about this integrated development environment (IDE). From basic functionalities to advanced features, our archive covers a wide range of Xcode-related questions and answers. Browse our archive now and find solutions to your Xcode questions, and take your app development skills to the next level
Whether you're new to Xcode or an experienced developer, our archive has everything you need to know about this integrated development environment (IDE). From basic functionalities to advanced features, our archive covers a wide range of Xcode-related questions and answers. Browse our archive now and find solutions to your Xcode questions, and take your app development skills to the next level
2
Answers
The solution to the error was easy. Checked the path to the project folder. The folder name has a space in-between. Renamed the folder by removing all the spaces in-between. Tried to run the project and it worked. Not sure why it ran with this fix.
May be Xcode is using an outdated version of Node (in my case, it was because I use nvm to manage my Node versions, but Xcode used an old version of Node that I had installed via HomeBrew a long time ago).
By default, Xcode will use the Node binary located at /usr/local/bin/node. Check its version by running:
If the first command outputs an older version of Node, simply delete it and replace it with a symlink to the newer one: