gulp-typescript: Could not find input file .../________________empty.ts. This is probably an issue of gulp-typescript.

[21:57:35] Starting ‘build.dev’… [21:57:35] Starting ‘build.assets.dev’… [21:57:35] Finished ‘build.assets.dev’ after 57 ms [21:57:35] Starting ‘build.html_css’… [21:57:36] Finished ‘build.html_css’ after 385 ms [21:57:36] Starting ‘build.js.dev’… Could not find input file /Users/user/Projects/company/www.domain.com/assets/________________empty.ts. This is probably an issue of gulp-typescript. Please report it at https://github.com/ivogabe/gulp-typescript/issues Debug information: sourceRoot = “…/” sources = [“________________empty.ts”] [21:57:36] Finished ‘build.js.dev’ after 38 ms [21:57:36] Starting ‘build.index.dev’… [21:57:36] gulp-inject 4 files into index.html. [21:57:36] gulp-inject 2 files into index.html. [21:57:36] gulp-inject 12 files into index.html. [21:57:36] Finished ‘build.index.dev’ after 32 ms [21:57:36] Finished ‘build.dev’ after 514 ms

Your gulpfile:

// --------------
// Build dev watch.
gulp.task('build.dev.watch', (done: any) =>
  runSequence('build.dev',
              'watch.dev',
              done));

tsconfig.json

{
  "compilerOptions": {
    "target": "es5",
    "module": "commonjs",
    "declaration": false,
    "removeComments": true,
    "noLib": false,
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "sourceMap": true,
    "pretty": true,
    "allowUnreachableCode": false,
    "allowUnusedLabels": false,
    "noImplicitAny": true,
    "noImplicitReturns": true,
    "noImplicitUseStrict": false,
    "noFallthroughCasesInSwitch": true
  },
  "exclude": [
    "node_modules",
    "dist",
    "typings/browser.d.ts",
    "typings/browser",
    "src"
  ],
  "compileOnSave": false
}

Project based on https://github.com/mgechev/angular2-seed run: npm run build.dev.watch Periodically take off an error message

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Reactions: 1
  • Comments: 31 (11 by maintainers)

Commits related to this issue

Most upvoted comments

The fix was released in v2.13.5