Developing custom data source plugin error

src\query_ctrl.ts(1,27): error TS2307: Cannot find module ‘app/plugins/sdk’.

query_ctrl.ts grafana plugins are not found. Any suggestion to resolve?


I am using type script and gulp for build. Any suggestion to resolve ?

[10:49:45] Starting ‘compile’…
[10:49:45] Starting ‘assets’…
[10:49:45] Starting ‘partials’…
src\query_ctrl.ts(1,27): error TS2307: Cannot find module ‘app/plugins/sdk’.
TypeScript: 1 semantic error
TypeScript: emit succeeded (with errors)
(node:107184) UnhandledPromiseRejectionWarning: Error: TypeScript: Compilation failed
at Output.mightFinish (C:\surya-grafana-datasource\node_modules\gulp-typescript\release\output.js:130:43)
at applySourceMap.then.appliedSourceMap (C:\surya-grafana-datasource\node_modules\gulp-typescript\release\output.js:43:22)
at process._tickCallback (internal/process/next_tick.js:68:7)
(node:107184) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
(node:107184) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
[10:49:46] Finished ‘assets’ after 1.04 s
[10:49:46] Finished ‘partials’ after 1.05 s