TypeScript-Node-Starter
TypeScript-Node-Starter copied to clipboard
error TS5057: Cannot find a tsconfig.json file at the specified directory: './src'.
trafficstars
npm install
> [email protected] install C:\Users\aoighost\Desktop\projectname\TypeScript-Node-Starter\node_modules\node-sass
> node scripts/install.js
Cached binary found at C:\Users\aoighost\AppData\Roaming\npm-cache\node-sass\4.12.0\win32-x64-64_binding.node
> [email protected] postinstall C:\Users\aoighost\Desktop\projectname\TypeScript-Node-Starter\node_modules\core-js
> node scripts/postinstall || echo "ignore"
Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!
The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
> https://opencollective.com/core-js
> https://www.patreon.com/zloirock
Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)
> [email protected] postinstall C:\Users\aoighost\Desktop\projectname\TypeScript-Node-Starter\node_modules\node-sass
> node scripts/build.js
Binary found at C:\Users\aoighost\Desktop\projectname\TypeScript-Node-Starter\node_modules\node-sass\vendor\win32-x64-64\binding.node
Testing binary
Binary is fine
> [email protected] postinstall C:\Users\aoighost\Desktop\projectname\TypeScript-Node-Starter\node_modules\nodemon
> node bin/postinstall || exit 0
> [email protected] postinstall C:\Users\aoighost\Desktop\projectname\TypeScript-Node-Starter
> tsc -p ./src
error TS5057: Cannot find a tsconfig.json file at the specified directory: './src'.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: `tsc -p ./src`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
@aoighost The project is not using explicit postinstall scripts. Can you please try to run:
npm install --no-cache
to verify NPM is not using some stale version of the package(s)? Thanks!