Windows - pm2 install typescript
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 43.3k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
Happening on both Windows 10 and Windows 7.
I have done the following:
npm install pm2 -g
npm install ts-node -g
pm2 install typescript
When I run pm2 start app.ts I get the following:
Interpreter C:\User\Me\AppData\Roaming\npm\node_modules\pm2\node_modules.bin\ts-node does seem to be available
I checked out that directory and sure enough there is nothing named ts-node there. I had a friend on a Mac send me a screenshot of his .bin directory and could tell that there was a ts-node symlink pointed to the ../ts-node/dist/bin.js file. I attempted to created a symlink (in Windows) and that did not fix it.
Is the typescript interpreter working in Windows? Am I missing a step required for Windows? It worked very nicely on my friends Mac.
Global installs:
node@6.7.0
pm2@2.3.0
ts-node@2.0.0
typescript@2.1.5
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the Windows commands npm install pm2 -g, npm install ts-node -g, pm2 install typescript, and pm2 start app.ts; inspect the reported .bin/ts-node path under the global pm2 installation and how the interpreter is resolved. Done means a TypeScript app starts successfully on Windows without manually creating a symlink.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js, typescript
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100