Skip to content
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

Start problem #11

Open
golosoff opened this issue Nov 18, 2022 · 0 comments
Open

Start problem #11

golosoff opened this issue Nov 18, 2022 · 0 comments

Comments

@golosoff
Copy link

After run "npm run start:cli" receive error

[email protected] start:cli
cross-env NODE_ENV=prod ts-node -r tsconfig-paths/register apps/cli-app/src/main.ts
sh: 1: cross-env: not found

OK install "npm install --global cross-env"

try again, and receive error

/home/TA2# npm run start:cli

[email protected] start:cli
cross-env NODE_ENV=prod ts-node -r tsconfig-paths/register apps/cli-app/src/main.ts

events.js:291
throw er; // Unhandled 'error' event
^

Error: spawn ts-node ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:268:19)
at onErrorNT (internal/child_process.js:470:16)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
Emitted 'error' event on ChildProcess instance at:
at Process.ChildProcess._handle.onexit (internal/child_process.js:274:12)
at onErrorNT (internal/child_process.js:470:16)
at processTicksAndRejections (internal/process/task_queues.js:84:21) {
errno: 'ENOENT',
code: 'ENOENT',
syscall: 'spawn ts-node',
path: 'ts-node',
spawnargs: [ '-r', 'tsconfig-paths/register', 'apps/cli-app/src/main.ts' ]
}

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

1 participant