Open rbalet opened 2 years ago
I get a Error: Cannot find module 'tslib' while trying to run ngx-unused-css in my windows machine
Error: Cannot find module 'tslib'
ngx-unused-css
npm install -g ngx-unused-css
.ngx-unused-css.json
I then get
internal/modules/cjs/loader.js:905 throw err; ^ Error: Cannot find module 'tslib' Require stack: - C:\Users\xxx\AppData\Roaming\npm\node_modules\ngx-unused-css\dist\index.js ←[90m at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)←[39m ←[90m at Function.Module._load (internal/modules/cjs/loader.js:746:27)←[39m ←[90m at Module.require (internal/modules/cjs/loader.js:974:19)←[39m ←[90m at require (internal/modules/cjs/helpers.js:93:18)←[39m at Object.<anonymous> (C:\Users\xxx\AppData\Roaming\npm\node_modules\←[4mngx-unused-css←[24m\dist\index.js:5:15) ←[90m at Module._compile (internal/modules/cjs/loader.js:1085:14)←[39m ←[90m at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)←[39m ←[90m at Module.load (internal/modules/cjs/loader.js:950:32)←[39m ←[90m at Function.Module._load (internal/modules/cjs/loader.js:790:12)←[39m ←[90m at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)←[39m { code: ←[32m'MODULE_NOT_FOUND'←[39m, requireStack: [ ←[32m'C:\\Users\\xxx\\AppData\\Roaming\\npm\\node_modules\\ngx-unused-css\\dist\\index.js'←[39m ] }
The same issue happens to me! any update on how to fix this issue?
@Rebaiahmed Sorry I can't help you, I just didn't use this library
@Rebaiahmed any update for this issue
Description
I get a
Error: Cannot find module 'tslib'
while trying to runngx-unused-css
in my windows machineStep to reproduce
npm install -g ngx-unused-css
.ngx-unused-css.json
ngx-unused-css
I then get