Skip to content

Debugging won't start #286

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
valerivp opened this issue Jun 17, 2021 · 2 comments
Open

Debugging won't start #286

valerivp opened this issue Jun 17, 2021 · 2 comments

Comments

@valerivp
Copy link

I don't see any errors when starting debugging. The logs end with the message:

Successfully synced application org.nativescript.t5 on device emulator-5554.

[NSDebugAdapter] Ready to attach to application on 40002

If I run chrome, debugging works in it.

r:\>ns doctor
√ Getting environment information

No issues were detected.
√ Your ANDROID_HOME environment variable is set and points to correct directory.
√ Your adb from the Android SDK is correctly installed.
√ The Android SDK is installed.
√ A compatible Android SDK for compilation is found.
√ Javac is installed and is configured properly.
√ The Java Development Kit (JDK) is installed and is configured properly.
√ Local builds for iOS can be executed only on a macOS system. To build for iOS on a different operating system, you can use the NativeScript cloud infrastructure.
√ Getting NativeScript components versions information...
√ Component nativescript has 8.0.2 version and is up to date.

r:\>ns create t6 --js

> @nativescript/[email protected] postinstall r:\t6\node_modules\@nativescript\core
> node cli-hooks/postinstall.js

npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN [email protected] requires a peer of typescript@* but none is installed. You must install peer dependencies yourself.

added 381 packages from 266 contributors and audited 382 packages in 10.901s

38 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

[@nativescript/webpack] Initialized config.

Project t6 was successfully created.

Now you can navigate to your project with $ cd t6

After that you can preview it on device by executing $ ns preview
@valera1401
Copy link

Have you found the solution ?
I have the same issue on Mac but not on Win.

@meeshkabob
Copy link

This may be the same issue as #293

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants