sqlops-mssql-instance-insights
sqlops-mssql-instance-insights copied to clipboard
Bug: Gulp Build failing with error TS2307: Cannot find module 'sqlops'.
Gulp Buld is currently reporting the following yet the build/extension works
PS C:\GitHub\sqlops-mssql-instance-insights> gulp build
[22:43:46] Using gulpfile C:\GitHub\sqlops-mssql-instance-insights\gulpfile.js
[22:43:46] Starting 'build'...
[22:43:46] Starting 'clean'...
[22:43:46] Finished 'clean' after 40 ms
[22:43:46] Starting 'lint'...
[22:43:46] Finished 'lint' after 141 ms
[22:43:46] Starting 'compile'...
[22:43:46] Starting 'compile:src'...
src\apiWrapper.ts(19,23): error TS2307: Cannot find module 'sqlops'.
src\controllers\instanceUtils.ts(13,25): error TS2307: Cannot find module 'sqlops'.
src\controllers\mainController.ts(19,25): error TS2307: Cannot find module 'sqlops'.
src\controllers\mainController.ts(23,22): error TS2497: Module '"C:/GitHub/sqlops-mssql-instance-insights/node_modules/@types/opn/index"' resolves to a non-module entity and cannot be imported using this construct.
src\controllers\mainController.ts(72,19): error TS6133: 'openVersionHealthCheckWebSite2' is declared but its value is never read.
src\data\createInstanceData.ts(19,25): error TS2307: Cannot find module 'sqlops'.
[22:43:48] TypeScript: 6 semantic errors
[22:43:48] TypeScript: emit succeeded (with errors)
[22:43:48] Finished 'compile:src' after 1.98 s
[22:43:48] Starting 'compile:test'...
[22:43:48] Finished 'compile:test' after 4.59 ms
[22:43:48] Finished 'compile' after 1.99 s
[22:43:48] Finished 'build' after 2.17 s
PS C:\GitHub\sqlops-mssql-instance-insights>