Hi,
With latest Visual Studio Code Insiders and a hellowold Webpart on 1.5.0 Frameworks, I have this warning, after second save (I have no error after first launch of Gulp task) :
Warning - [tslint] Unable to create a TS program for TSLint. Some lint rules might not work correctly. Error FatalError: error TS5023: Unknown compiler option 'typescript'.
Do you also have this warning?
Thanks
After more test on cmd (outside of VSC) i have same warning on fresh initialisation of helloworld (application customizer)
I run this on a PC with Windows 10 (1803), 64bits, node 8.10.0 & npm 5.6.0
If i'm run a 1.4.1 SPFx project, i don't have this warning
This is actually a problem with the microsoft/gulp-core-build-typescript which SharePoint framework uses to compile. See https://github.com/Microsoft/web-build-tools/issues/712 I have included a fix in the issue.
The issue has been fixed in the web-build-tools, so it should be now resolved. Sorry for the inconvenience.
@VesaJuvonen The issue still exists in 1.5.1.
Yes, it still exists with latest spfx version. Will look for next beta version.
@VesaJuvonen The issue is fixed in 1.6.0.
Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues
Most helpful comment
@VesaJuvonen The issue still exists in 1.5.1.