Description
From @nrkn on April 20, 2016 4:46
- VSCode Version: 1.0.0
- OS Version: Windows 10 Pro
I have no extensions installed. node.js v5.10.1
Error highlighting has stopped working in our node.js app - I was able to reduce it to a very minimal test case:
A single index.js containing an erroneous line so you can see if error highlighting is on
A single subfolder containing a package.json with grunt and grunt-browserify packages and a node_modules folder created by running npm install against the package.json
Standard vscode files - .vscode/launch.json and jsconfig.json
Steps to Reproduce:
- Clone this repo or recreate structure above from this gist
- Navigate to ./sub and run
npm install
- Open main folder in VSCode
- View ./index.js - there is no error highlighting
I have reproduced this on 3 machines
Almost any change to this minimum case, like removing the node_modules folder, removing use strict
from the index.js etc., removing the vscode files etc. prevents the bug from being triggered, and error highlighting starts working again, however our app is not a minimal test case so knowing that isn't much help to us!
Copied from original issue: microsoft/vscode#5530