-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
TypeScript server exits immediately after starting.
To Reproduce
- Create TypeScript function in VSCode.
- Run 'npm install' in TypeScript directory
- Click on 'Local Run' to deploy TypeScript server locally
Expected behavior
TypeScript server should run indefinitely until the program is exited, accepting requests to the server.
Desktop (please complete the following information):
- OS: Windows 10 (WSL2)
- VSCode Version: 1.67.2
- Aliyun Serverless Extension Version: 1.27.19
Additional context
Couldn't start TypeScript server at all until I ran 'npm install' to generate the node_modules.
Please provide better documentation on running TypeScript template locally because the regular method does not work.
Was able to run the server correctly with:
npm install
./node_modules/ts-node/dist/bin.js server.ts
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
