NativeScript / NativeScript/ns-vue-vite-demo

Unable to run the demo successfully

Open
#2 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
30
Forks
1
PR merge metrics
No merged PRs in 30d

Description

G:\project\other\ns-vue-vite-demo>ns doctor android
/ Getting environment information
(node:5944) [DEP0190] DeprecationWarning: Passing args to a child process with shell option true can lead to security vulnerabilities, as the arguments are not escaped, only concatenated.
√ 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...
‼ Update available for component nativescript. Your current version is 9.0.0-alpha.13 and the latest available version is 8.9.3.
‼ Update available for component @nativescript/core. Your current version is 9.0.0-alpha.20 and the latest available version is 8.9.9.
‼ Update available for component @nativescript/android. Your current version is 9.0.0-alpha.3 and the latest available version is 8.9.2.

G:\project\other\ns-vue-vite-demo>npm run dev:android
PS G:\project\other\ns-vue-vite-demo> npm run dev:android

ns-vue-vite-demo@1.0.0 dev:android
concurrently -k -n vite,ns 'npm run dev:server:android' 'wait-on tcp:5173 && npm run android'

[vite] ''npm' �����ڲ����ⲿ���Ҳ���ǿ����еij���
[vite] �����������
[ns] 'run' �����ڲ����ⲿ���Ҳ���ǿ����еij���
[ns] �����������
[2] �ļ�����Ŀ¼��������﷨����ȷ��
[3] ''wait-on' �����ڲ����ⲿ���Ҳ���ǿ����еij���
[3] �����������
[3] 'wait-on exited with code 1
--> Sending SIGTERM to other processes..
[2] dev:server:android' exited with code 1
--> Sending SIGTERM to other processes..
[ns] run exited with code 1
--> Sending SIGTERM to other processes..
[vite] 'npm exited with code 1
--> Sending SIGTERM to other processes..
[4] �ļ�����Ŀ¼��������﷨����ȷ��
[4] tcp:5173 exited with code 1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the npm scripts invoked by dev:android, especially dev:server:android and android, and inspect how concurrently launches them on Windows. Reproduce the command in the reported environment, then confirm the demo starts successfully without the shell command and wait-on errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, typescript, vite
Domain
build-system, mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.