question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

tns run ios --bundle, gets stuck at copying template files, unable to apply changes on device

See original GitHub issue

Version

2.0.0

Reproduction link

http://sorry-random-link.com

Platform and OS info

IOS iPhone 6 (and/or emulator), NativeScript 5.3.0, MacOS Mojave 10.14.3

Steps to reproduce

Following the quickstart guide, I get to “tns run ios --bundle”, it gets to “Webpack build done!.. Copying template files…” and then hangs there.

What is expected?

I should get a working local dev environment.

What is actually happening?

Unable to apply changes on device: 1F99966C-0EDD-493A-BDF9-7E7406669C18. Error is: request to https://registry.npmjs.org/tns-ios failed, reason: connect EPERM 104.16.18.35:443 - Local (0.0.0.0:0).

This message just sits there and the program doesn’t go on.


It was giving me a permission error “Could not remove file…” but following another suggestion I removed hooks, node_modules folders and ran npm install. That seems to have fixed that issue but now I have this one.

If I try to ping 104.16.18.35, I just get request timeout messages.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
wheelercreekcommented, Apr 3, 2019

I ended up doing a complete system restart and creating a whole new project from the beginning… it worked this time!

0reactions
nativescript-vue-botcommented, Apr 17, 2019

We are locking this issue because it has been closed for more than 14 days.

If the issue comes up again please open a new issue with additional details.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Nativescript Stuck at Copying template files - node.js
I have a NativeScript + angular project it was working fine until i upgraded my cli to 7.0.3 now i can't run the...
Read more >
nativescript/CHANGELOG.md - UNPKG
In 6.0 this is the default and only behavior - webpack watches all required files and CLI watches the `platforms` directories and `package.json`...
Read more >
Code Sharing Between Web and Mobile with Angular and ...
To debug a NativeScript application, just go into the NativeScript folder and run npm run livesync , then in a separate terminal (command...
Read more >
Application could not be uploaded to the device.
iOS /bin/iPhone/Debug/EXPO.iOS.app" --device ios "--devname=Shiv Shankar Singh's iPad" --install-progress Installing application bundle 'COM.RGEPL.EXPO ...
Read more >
Adding a functional profile page to your Nativescript Vue app
Whenever the user is logged out from Firebase, the app should to ... rm -rf platforms && rm -rf node_modules && npm i...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found