question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

watch mode error for non-TS files (Handlebars, Vue)

See original GitHub issue

I import Handlebars template files which should be ignored by the diagnostics.

Error: Could not find file: '/Users/mohamed/project/src/Views/Shared/spaces.hbs'.
    at getValidSourceFile (/Users/mohamed/project/node_modules/typescript/lib/typescript.js:91281:23)
    at Object.getSyntacticDiagnostics (/Users/mohamed/project/node_modules/typescript/lib/typescript.js:91504:52)
    at /Users/mohamed/project/node_modules/rollup-plugin-typescript2/dist/rollup-plugin-typescript2.cjs.js:629:74
    at /Users/mohamed/project/node_modules/rollup-plugin-typescript2/dist/rollup-plugin-typescript2.cjs.js:325:80
    at arrayEach (/Users/mohamed/project/node_modules/rollup-plugin-typescript2/node_modules/lodash/lodash.js:537:11)
    at Function.forEach (/Users/mohamed/project/node_modules/rollup-plugin-typescript2/node_modules/lodash/lodash.js:9359:14)
    at TsCache.walkTree (/Users/mohamed/project/node_modules/rollup-plugin-typescript2/dist/rollup-plugin-typescript2.cjs.js:325:9)
    at Object.ongenerate (/Users/mohamed/project/node_modules/rollup-plugin-typescript2/dist/rollup-plugin-typescript2.cjs.js:628:17)
    at bundle.plugins.forEach.plugin (/Users/mohamed/project/node_modules/rollup/dist/rollup.js:10507:16)
    at Array.forEach (<anonymous>)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:22 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
hiendvcommented, Dec 5, 2018

I’ve been testing the master branch for a while. So far so good. I think this is it. Thank you 😄

1reaction
hiendvcommented, Dec 7, 2018

It’s been two days. Everything is fine. I think you can release the patch now. Thank you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to fix "Error: Watching remote files is not supported ...
When using Windows command line or Vue UI, the variable contained "c:\...". Using Git Bash on my Windows 10 machine it contains "C:\....
Read more >
Add a watch mode · Issue #1317 · vuejs/vue-cli - GitHub
The files are not written to /webroot/dist/ . If I use --watch --mode production everything works fine and my vue.config.js seems to be...
Read more >
hapi — How to Create a Dynamic Handlebars Layout Template
Hapi renders the handlebars templates even though they don't have the .hbs file extension. The layout folder within views specifies the default ...
Read more >
Changelog - Cypress Documentation
Cypress will no longer watch files when executing component tests in "run" mode. Addresses #22959. Bugfixes: Cypress is now able to connect to...
Read more >
User and Workspace Settings - Visual Studio Code
This opens the Language Mode picker with an option Configure 'language_name' language ... it means your settings.json file is ill-formed or has errors....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found