Comments (2)
Hello, @LoTwT !!
Thanks for such a detailed report.
This happens because XCode does not use your environment variables by default, so it can't find Node.
The command below should allow your build to pass this step.
defaults write com.apple.dt.Xcode UseSanitizedBuildSystemEnvironment -bool NO
Important to note that this is a system-wide config and that it won't persist once you reboot. Unfortunately, Apple does not provide any other way to solve this more comfortably for us...
from quantum.
Thank you for your help! ❤️
I tried the command above but it still didn't work.
Finally, I find the problem is BLAME to environment variables about Node.
I use fnm
to manage my node versions and it works well itself but fails to work with Xcode. I try to set export PATH="$(dirname $(which node)):$PATH"
manually and I can build successfully in Xcode. After, I removed what I set and it also works.
I'm confused about what happened now. But at least, I can successfully start the ios dev server.
Thank you for your help and this awesome template again!
from quantum.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quantum.