ERROR in C:/Users/DeepakKumar/AppData/Roaming/npm/node_modules/element-cli/node_modules/@flood/element-cli/templates/report/script.ts
Module not found: Error: Can't resolve 'css-loader' in 'D:\Load Testing Flood Element\FloodElement\SSK-LoadTest\SSK-LoadTest'
resolve 'css-loader' in 'D:\Load Testing Flood Element\FloodElement\SSK-LoadTest\SSK-LoadTest'
Parsed request is a module
using description file: D:\Load Testing Flood Element\FloodElement\SSK-LoadTest\SSK-LoadTest\package.json (relative path: .)
resolve as module
D:\Load Testing Flood Element\FloodElement\SSK-LoadTest\SSK-LoadTest\node_modules doesn't exist or is not a directory
D:\Load Testing Flood Element\FloodElement\SSK-LoadTest\node_modules doesn't exist or is not a directory
D:\Load Testing Flood Element\FloodElement\node_modules doesn't exist or is not a directory
D:\Load Testing Flood Element\node_modules doesn't exist or is not a directory
D:\node_modules doesn't exist or is not a directory
[D:\Load Testing Flood Element\FloodElement\SSK-LoadTest\SSK-LoadTest\node_modules]
[D:\Load Testing Flood Element\FloodElement\SSK-LoadTest\node_modules]
[D:\Load Testing Flood Element\FloodElement\node_modules]
[D:\Load Testing Flood Element\node_modules]
[D:\node_modules]
@ C:/Users/DeepakKumar/AppData/Roaming/npm/node_modules/element-cli/node_modules/@flood/element-cli/templates/report/script.ts 4:0-24
ERROR in ./script.js from Terser
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:68:19)
at Object.createHash (node:crypto:138:10)
at C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\terser-webpack-plugin\dist\index.js:217:37
at Array.forEach ()
at TerserPlugin.optimizeFn (C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\terser-webpack-plugin\dist\index.js:160:259)
at AsyncSeriesHook.eval [as callAsync] (eval at create (C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\tapable\lib\HookCodeFactory.js:33:10), :7:1)
at AsyncSeriesHook.lazyCompileHook (C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\tapable\lib\Hook.js:154:20)
at C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\webpack\lib\Compilation.js:1409:36
at AsyncSeriesHook.eval [as callAsync] (eval at create (C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\tapable\lib\HookCodeFactory.js:33:10), :6:1)
at AsyncSeriesHook.lazyCompileHook (C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\tapable\lib\Hook.js:154:20)
at C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\webpack\lib\Compilation.js:1405:32
at AsyncSeriesHook.eval [as callAsync] (eval at create (C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\tapable\lib\HookCodeFactory.js:33:10), :6:1)
at AsyncSeriesHook.lazyCompileHook (C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\tapable\lib\Hook.js:154:20)
at Compilation.seal (C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\webpack\lib\Compilation.js:1342:27)
at C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\webpack\lib\Compiler.js:675:18
at C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\webpack\lib\Compilation.js:1261:4
at C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\@flood\element-cli\dist\src\utils\compile.js:111:28
at finalCallback (C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\webpack\lib\Compiler.js:257:39)
at C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\webpack\lib\Compiler.js:273:13
at AsyncSeriesHook.eval [as callAsync] (eval at create (C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\tapable\lib\HookCodeFactory.js:33:10), :6:1)
at AsyncSeriesHook.lazyCompileHook (C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\tapable\lib\Hook.js:154:20)
at onCompiled (C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\webpack\lib\Compiler.js:271:21)
at C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\webpack\lib\Compiler.js:681:15
at eval (eval at create (C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\tapable\lib\HookCodeFactory.js:33:10), :11:1)
at C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\ts-loader\dist\after-compile.js:43:9
at AsyncSeriesHook.eval [as callAsync] (eval at create (C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\tapable\lib\HookCodeFactory.js:33:10), :7:1)
at AsyncSeriesHook.lazyCompileHook (C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\tapable\lib\Hook.js:154:20)
at C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\webpack\lib\Compiler.js:678:31
at AsyncSeriesHook.eval [as callAsync] (eval at create (C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\tapable\lib\HookCodeFactory.js:33:10), :6:1)
at AsyncSeriesHook.lazyCompileHook (C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\tapable\lib\Hook.js:154:20)
at C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\webpack\lib\Compilation.js:1423:35
at AsyncSeriesHook.eval [as callAsync] (eval at create (C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\tapable\lib\HookCodeFactory.js:33:10), :6:1)
Error! An unexpected error occurred!
Error: ENOENT: no such file or directory, scandir 'C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\@flood\element-cli\templates\report\styles.css'
at Object.readdirSync (node:fs:1515:26)
at exports.readdir (C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\@mrmlnc\readdir-enhanced\lib\sync\fs.js:18:20)
at Object.safeCall [as safe] (C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\@mrmlnc\readdir-enhanced\lib\call.js:24:8)
at DirectoryReader.readNextDirectory (C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\@mrmlnc\readdir-enhanced\lib\directory-reader.js:78:10)
at DirectoryReader.stream._read (C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\@mrmlnc\readdir-enhanced\lib\directory-reader.js:57:18)
at Readable.read (node:internal/streams/readable:737:12)
at readdirSync (C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\@mrmlnc\readdir-enhanced\lib\sync\index.js:27:21)
at Function.readdirSyncStat (C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\@mrmlnc\readdir-enhanced\lib\index.js:34:10)
at ReaderSync.dynamicApi (C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\fast-glob\out\providers\reader-sync.js:64:24)
at ReaderSync.api (C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\fast-glob\out\providers\reader-sync.js:56:25)
at ReaderSync.read (C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\fast-glob\out\providers\reader-sync.js:41:32)
at Array.map ()
at getWorks (C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\fast-glob\out\index.js:60:18)
at Function.sync (C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\fast-glob\out\index.js:15:17)
at C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\globby\index.js:117:51
at Array.reduce () Error: ENOENT: no such file or directory, scandir 'C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\@flood\element-cli\templates\report\styles.css'
at Object.readdirSync (node:fs:1515:26)
at exports.readdir (C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\@mrmlnc\readdir-enhanced\lib\sync\fs.js:18:20)
at Object.safeCall [as safe] (C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\@mrmlnc\readdir-enhanced\lib\call.js:24:8)
at DirectoryReader.readNextDirectory (C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\@mrmlnc\readdir-enhanced\lib\directory-reader.js:78:10)
at DirectoryReader.stream._read (C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\@mrmlnc\readdir-enhanced\lib\directory-reader.js:57:18)
at Readable.read (node:internal/streams/readable:737:12)
at readdirSync (C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\@mrmlnc\readdir-enhanced\lib\sync\index.js:27:21)
at Function.readdirSyncStat (C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\@mrmlnc\readdir-enhanced\lib\index.js:34:10)
at ReaderSync.dynamicApi (C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\fast-glob\out\providers\reader-sync.js:64:24)
at ReaderSync.api (C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\fast-glob\out\providers\reader-sync.js:56:25)
at ReaderSync.read (C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\fast-glob\out\providers\reader-sync.js:41:32)
at Array.map ()
at getWorks (C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\fast-glob\out\index.js:60:18)
at Function.sync (C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\fast-glob\out\index.js:15:17)
at C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\globby\index.js:117:51
at Array.reduce ()
this is a bug, please report it here https://github.com/flood-io/element/issues/new?template=bug_report.md
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior: Run the below command and get the error message element run SSK-LoadTest.perf.ts --export report.html
Expected behavior Asset Size Chunks Chunk Names ....\dist\templates\report\script.d.ts 1.49 KiB ./script.js 15.8 KiB 0 main Entrypoint main = ./script.js [0] C:/Users/DeepakKumar/AppData/Roaming/npm/node_modules/element-cli/node_modules/@flood/element-cli/templates/report/script.ts 11.7 KiB {0} [built]
ERROR in C:/Users/DeepakKumar/AppData/Roaming/npm/node_modules/element-cli/node_modules/@flood/element-cli/templates/report/script.ts Module not found: Error: Can't resolve 'css-loader' in 'D:\Load Testing Flood Element\FloodElement\SSK-LoadTest\SSK-LoadTest' resolve 'css-loader' in 'D:\Load Testing Flood Element\FloodElement\SSK-LoadTest\SSK-LoadTest' Parsed request is a module using description file: D:\Load Testing Flood Element\FloodElement\SSK-LoadTest\SSK-LoadTest\package.json (relative path: .) resolve as module D:\Load Testing Flood Element\FloodElement\SSK-LoadTest\SSK-LoadTest\node_modules doesn't exist or is not a directory D:\Load Testing Flood Element\FloodElement\SSK-LoadTest\node_modules doesn't exist or is not a directory D:\Load Testing Flood Element\FloodElement\node_modules doesn't exist or is not a directory D:\Load Testing Flood Element\node_modules doesn't exist or is not a directory D:\node_modules doesn't exist or is not a directory [D:\Load Testing Flood Element\FloodElement\SSK-LoadTest\SSK-LoadTest\node_modules] [D:\Load Testing Flood Element\FloodElement\SSK-LoadTest\node_modules] [D:\Load Testing Flood Element\FloodElement\node_modules] [D:\Load Testing Flood Element\node_modules] [D:\node_modules] @ C:/Users/DeepakKumar/AppData/Roaming/npm/node_modules/element-cli/node_modules/@flood/element-cli/templates/report/script.ts 4:0-24
ERROR in ./script.js from Terser Error: error:0308010C:digital envelope routines::unsupported at new Hash (node:internal/crypto/hash:68:19) at Object.createHash (node:crypto:138:10) at C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\terser-webpack-plugin\dist\index.js:217:37 at Array.forEach ()
at TerserPlugin.optimizeFn (C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\terser-webpack-plugin\dist\index.js:160:259)
at AsyncSeriesHook.eval [as callAsync] (eval at create (C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\tapable\lib\HookCodeFactory.js:33:10), :7:1)
at AsyncSeriesHook.lazyCompileHook (C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\tapable\lib\Hook.js:154:20)
at C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\webpack\lib\Compilation.js:1409:36
at AsyncSeriesHook.eval [as callAsync] (eval at create (C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\tapable\lib\HookCodeFactory.js:33:10), :6:1)
at AsyncSeriesHook.lazyCompileHook (C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\tapable\lib\Hook.js:154:20)
at C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\webpack\lib\Compilation.js:1405:32
at AsyncSeriesHook.eval [as callAsync] (eval at create (C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\tapable\lib\HookCodeFactory.js:33:10), :6:1)
at AsyncSeriesHook.lazyCompileHook (C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\tapable\lib\Hook.js:154:20)
at Compilation.seal (C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\webpack\lib\Compilation.js:1342:27)
at C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\webpack\lib\Compiler.js:675:18
at C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\webpack\lib\Compilation.js:1261:4
at C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\@flood\element-cli\dist\src\utils\compile.js:111:28
at finalCallback (C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\webpack\lib\Compiler.js:257:39)
at C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\webpack\lib\Compiler.js:273:13
at AsyncSeriesHook.eval [as callAsync] (eval at create (C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\tapable\lib\HookCodeFactory.js:33:10), :6:1)
at AsyncSeriesHook.lazyCompileHook (C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\tapable\lib\Hook.js:154:20)
at onCompiled (C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\webpack\lib\Compiler.js:271:21)
at C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\webpack\lib\Compiler.js:681:15
at eval (eval at create (C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\tapable\lib\HookCodeFactory.js:33:10), :11:1)
at C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\ts-loader\dist\after-compile.js:43:9
at AsyncSeriesHook.eval [as callAsync] (eval at create (C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\tapable\lib\HookCodeFactory.js:33:10), :7:1)
at AsyncSeriesHook.lazyCompileHook (C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\tapable\lib\Hook.js:154:20)
at C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\webpack\lib\Compiler.js:678:31
at AsyncSeriesHook.eval [as callAsync] (eval at create (C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\tapable\lib\HookCodeFactory.js:33:10), :6:1)
at AsyncSeriesHook.lazyCompileHook (C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\tapable\lib\Hook.js:154:20)
at C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\webpack\lib\Compilation.js:1423:35
at AsyncSeriesHook.eval [as callAsync] (eval at create (C:\Users\DeepakKumar\AppData\Roaming\npm\node_modules\element-cli\node_modules\tapable\lib\HookCodeFactory.js:33:10), :6:1)