python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
ts-node and gulp don't seem to play nicely
in my package.json I have
"type": "commonjs"
when I run my script this works :
"start": "ts-node src/index.ts",
gulp complains :
"Cannot use import stateme...
Dan
Votes: 0
Answers: 1
Unknown file extension ".ts" error appears when trying to run a ts-node script
I'm trying to run a script created in a regular folder with two .ts files. One with the script and one with helper functions to run it. I'm also importing more things such as axios or form-data.
The t...
Emiliano
Votes: 0
Answers: 5
cannot consume content type Rest API Response from Amazon Advertising API
I am hitting the /sb/negativeKeywords endpoint and every time I try to make a POST request, I get the following error:
StatusCodeError: 415 - {"code":"415","details":&quo...
NoviceProgrammer
Votes: 0
Answers: 1
`ts-node` ignoring type declarations in Production
I have a NestJS project with a couple of scripts that I run via ts-node. I have a small type defintion file in my /src directory that looks like this:
declare global {
interface Session {
search...
Pezholio
Votes: 0
Answers: 0