You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`import AzureDevopsService from './azure-devops-service';
^^^^^^
SyntaxError: Cannot use import statement outside a module
at internalCompileFunction (node:internal/vm:77:18)
at wrapSafe (node:internal/modules/cjs/loader:1288:20)
at Module._compile (node:internal/modules/cjs/loader:1340:27)
at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
at Object.require.extensions. [as .js] (C:\Users\SundaravelLoganathan\Documents\saim_codes\web-revedia\test\node_modules\ts-node\src\index.ts:1608:43)
at Module.load (node:internal/modules/cjs/loader:1207:32)
at Function.Module._load (node:internal/modules/cjs/loader:1023:12)
at cjsLoader (node:internal/modules/esm/translators:356:17)
at ModuleWrap. (node:internal/modules/esm/translators:305:7)
at ModuleJob.run (node:internal/modules/esm/module_job:218:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:329:24)
at async ConfigParser.addConfigFile (file:///C:/Users/SundaravelLoganathan/Documents/saim_codes/web-revedia/test/node_modules/@wdio/config/build/node/ConfigParser.js:94:36)
at async ConfigParser.initialize (file:///C:/Users/SundaravelLoganathan/Documents/saim_codes/web-revedia/test/node_modules/@wdio/config/build/node/ConfigParser.js:56:13)
at async Launcher.run (file:///C:/Users/SundaravelLoganathan/Documents/saim_codes/web-revedia/test/node_modules/@wdio/cli/build/launcher.js:41:9)
at async Module.run (file:///C:/Users/SundaravelLoganathan/Documents/saim_codes/web-revedia/test/node_modules/@wdio/cli/build/run.js:64:20)`
Getting below error:
`import AzureDevopsService from './azure-devops-service';
^^^^^^
SyntaxError: Cannot use import statement outside a module
at internalCompileFunction (node:internal/vm:77:18)
at wrapSafe (node:internal/modules/cjs/loader:1288:20)
at Module._compile (node:internal/modules/cjs/loader:1340:27)
at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
at Object.require.extensions. [as .js] (C:\Users\SundaravelLoganathan\Documents\saim_codes\web-revedia\test\node_modules\ts-node\src\index.ts:1608:43)
at Module.load (node:internal/modules/cjs/loader:1207:32)
at Function.Module._load (node:internal/modules/cjs/loader:1023:12)
at cjsLoader (node:internal/modules/esm/translators:356:17)
at ModuleWrap. (node:internal/modules/esm/translators:305:7)
at ModuleJob.run (node:internal/modules/esm/module_job:218:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:329:24)
at async ConfigParser.addConfigFile (file:///C:/Users/SundaravelLoganathan/Documents/saim_codes/web-revedia/test/node_modules/@wdio/config/build/node/ConfigParser.js:94:36)
at async ConfigParser.initialize (file:///C:/Users/SundaravelLoganathan/Documents/saim_codes/web-revedia/test/node_modules/@wdio/config/build/node/ConfigParser.js:56:13)
at async Launcher.run (file:///C:/Users/SundaravelLoganathan/Documents/saim_codes/web-revedia/test/node_modules/@wdio/cli/build/launcher.js:41:9)
at async Module.run (file:///C:/Users/SundaravelLoganathan/Documents/saim_codes/web-revedia/test/node_modules/@wdio/cli/build/run.js:64:20)`
Attached
tsconfig.json
filetsconfig.json
The text was updated successfully, but these errors were encountered: