Tuesday

Property context does not exist on type NodeRequire

BUG: I'm getting following error while trying to:
           ** Property context does not exist on type NodeRequire
const customIcons = importAll(require.context('./', false, /\.(png|jpe?g|svg)$/));

FIX:
npm install @types/webpack-env 

No comments:

Post a Comment