I am trying to compile TypeScript to JavaScript by using the npm run build command in the terminal. I figured out that in the package.jason file, I had to change the forward slashes to two backslashes.
This is not working:
"build": "./node_modules/.bin/gulp"
But this is working:
"build": ".\\node_modules\\.bin\\gulp"
Has anyone been through this problem? And why is it not working with forward slashes?