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
ERROR in ./src/common/assets/404.png
Module build failed: Error [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string without null bytes. Received type string
at nullCheck (fs.js:177:16)
at Object.fs.openSync (fs.js:659:3)
at syncFileToBuffer (...\node_modules\image-size\lib\index.js:58:23)
at Object.module.exports (...\node_modules\image-size\lib\index.js:100:18)
tryied to guess what is happening - I've put console log into loader
/** * @params input - buffer or relative/absolute path of the image file * @params callback - optional function for async detection */module.exports=function(input,callback){console.log('typeof input',typeofinput,input);
making changes to an old repo and getting a similar error:
./src/Assets/media/HeaderImage.jpg Module build failed: TypeError [ERR_INVALID_ARG_TYPE]: The "from" argument must be of type string. Received undefined
Hi!
I have a problem with the loader in my project.
Webpack 4.6.0
Here is loaders config fo image loader:
Using an image in my code:
trying to run webpack and got an error:
tryied to guess what is happening - I've put console log into loader
and got in console:
The text was updated successfully, but these errors were encountered: