erdkse/adminlte-3-react

Error: Cannot find module './lenient'

biniyamfikru opened this issue · 2 comments

npm start
npm WARN config global --global, --local are deprecated. Use --location=global instead.

adminlte-3-react@0.1.0 start
craco start

node:internal/modules/cjs/loader:936
throw err;
^

Error: Cannot find module './lenient'
Require stack:

  • C:\Users\Coop\Documents\prac\react\react_adminlte_demo\adminlte-3-react\node_modules\yn\index.js
  • C:\Users\Coop\Documents\prac\react\react_adminlte_demo\adminlte-3-react\node_modules\ts-node\dist\util.js
  • C:\Users\Coop\Documents\prac\react\react_adminlte_demo\adminlte-3-react\node_modules\ts-node\dist\index.js
  • C:\Users\Coop\Documents\prac\react\react_adminlte_demo\adminlte-3-react\node_modules\cosmiconfig-typescript-loader\dist\loader.js
  • C:\Users\Coop\Documents\prac\react\react_adminlte_demo\adminlte-3-react\node_modules\cosmiconfig-typescript-loader\dist\index.js
  • C:\Users\Coop\Documents\prac\react\react_adminlte_demo\adminlte-3-react\node_modules@craco\craco\lib\config.js
  • C:\Users\Coop\Documents\prac\react\react_adminlte_demo\adminlte-3-react\node_modules@craco\craco\scripts\start.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object. (C:\Users\Coop\Documents\prac\react\react_adminlte_demo\adminlte-3-react\node_modules\yn\index.js:2:17)
    at Module._compile (node:internal/modules/cjs/loader:1105:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Module.require (node:internal/modules/cjs/loader:1005:19) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [
    'C:\Users\Coop\Documents\prac\react\react_adminlte_demo\adminlte-3-react\node_modules\yn\index.js',
    'C:\Users\Coop\Documents\prac\react\react_adminlte_demo\adminlte-3-react\node_modules\ts-node\dist\util.js',
    'C:\Users\Coop\Documents\prac\react\react_adminlte_demo\adminlte-3-react\node_modules\ts-node\dist\index.js',
    'C:\Users\Coop\Documents\prac\react\react_adminlte_demo\adminlte-3-react\node_modules\cosmiconfig-typescript-loader\dist\loader.js',
    'C:\Users\Coop\Documents\prac\react\react_adminlte_demo\adminlte-3-react\node_modules\cosmiconfig-typescript-loader\dist\index.js',
    'C:\Users\Coop\Documents\prac\react\react_adminlte_demo\adminlte-3-react\node_modules\@craco\craco\lib\config.js',
    'C:\Users\Coop\Documents\prac\react\react_adminlte_demo\adminlte-3-react\node_modules\@craco\craco\scripts\start.js'
    ]
    }

there is no such package, but I dropped usage of craco, could you please try again?