Comments (10)
It looks like the iOS runtime package (tns-ios) has not been installed correctly (this happens the first time when you issue tns platform add ios
, the package is quite large and there might have been some connectivity issues). Can you share the output that you get if you npm install -g tns-ios
?
from nativescript.
same issue, sudo chmod 777 /Users/myuserfolder/.npm/tns-ios/0.9.1/package/package.json, it's ok.
but I met another problem, run tns platform add ios, it always waiting.
Copying template files...
|
the dir platforms has nothing(should create ios directory).
from nativescript.
I install a new version of Xcode Command Line Tools and this fix my problem.
from nativescript.
I did have the same problem ENOENT, open '/Users/myuserfolder/.npm/tns-ios/0.9.1/package/package.json'..... I fixed by using npm install -g tns-ios. Now when I try to add the platform of iOS a new message appear.
ENOENT, rename '/Users/username/Desktop/demo/platforms/ios/PROJECT_NAME/PROJECT_NAME-Info.plist'
any fix or idea?
from nativescript.
It seems access file fail, try sudo chmod 777 filename.
from nativescript.
it didn't work... I tried to change permission to every file with not success. I don't know what more I can do
from nativescript.
Same issue.
from nativescript.
Got it to work with the following command:
tns platform add ios --frameworkPath /usr/local/lib/node_modules/tns-ios
Seems to be an issue where it can't find the node_modules
. However don't hang me up on that.
from nativescript.
I see a '/Users/myuserfolder/.npm/tns-ios/0.9.1/package.tgz' and that it was unable to extract properly. I backed up existing '/Users/myuserfolder/.npm/tns-ios/0.9.1/package' and extracted '/Users/myuserfolder/.npm/tns-ios/0.9.1/package.tgz' manually. Everything works and runs now.
from nativescript.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
from nativescript.
Related Issues (20)
- minHour and minMinute crash the app on TimePicker HOT 1
- TextField with [secure] string don't work on Android with core plugin 8.6.2 HOT 10
- ns build iOS and Xcode build not working after upgrade to xcode 15 HOT 5
- ResumeEvent in a component's constructor not triggering
- TypeError: Cannot read properties of undefined (reading 'env')
- Transfer nativescript.org Domain To The OpenJS Foundation
- RootLayout enterFrom animation bugged on iOS
- ReferenceError: NSURLSessionConfiguration is not defined HOT 12
- Missing API declarations & calling of restricted APIs HOT 8
- Android apps becomes unresponsive after resolution change
- NS PREVIEW don't working properly HOT 8
- Overlap using GridLayout iOS issue HOT 1
- [Known Issue] `npm i -g nativescript` error: gyp: binding.gyp not found HOT 1
- [feature] Allow bundler, eslint and typings generator to show API/SDK version availability warnings
- Upgrading to @nativescript/webpack-5.0.19 requires upgrade to @nativescript/core-8.7.0 HOT 3
- Devtools 0.0.1 Error: java.lang.ClassCastException: java.lang.Boolean cannot be cast to java.lang.String HOT 1
- [android] Image tintColor set to null will cause a throwable
- Uncaught ReferenceError: NativeScriptViewFactory is not defined on iOS built with mode --release. HOT 18
- Frequent ANR: __cxa_throw ANR triggered by slow operations in main thread HOT 1
- ActionBar Blocking Events on Android by default HOT 3
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 nativescript.