Giter Site home page Giter Site logo

Comments (10)

ligaz avatar ligaz commented on May 6, 2024

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.

bitcard avatar bitcard commented on May 6, 2024

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.

bellu avatar bellu commented on May 6, 2024

I install a new version of Xcode Command Line Tools and this fix my problem.

from nativescript.

PedroAnibarro1 avatar PedroAnibarro1 commented on May 6, 2024

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.

bitcard avatar bitcard commented on May 6, 2024

It seems access file fail, try sudo chmod 777 filename.

from nativescript.

PedroAnibarro1 avatar PedroAnibarro1 commented on May 6, 2024

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.

lexrus avatar lexrus commented on May 6, 2024

Same issue.

from nativescript.

chrene avatar chrene commented on May 6, 2024

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.

rajivnarayana avatar rajivnarayana commented on May 6, 2024

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.

lock avatar lock commented on May 6, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.