spence-s / simple-pug-loader

Simpler than pug-loader
https://www.npmjs.com/package/simple-pug-loader
MIT License
14 stars 4 forks source link

The "path" argument must be of type string. Received undefined #11

Closed webcorptech closed 2 years ago

webcorptech commented 2 years ago

ERROR in Error: Child compilation failed: Module build failed (from ./node_modules/simple-pug-loader/index.js): TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined at new NodeError (internal/errors.js:322:7) at validateString (internal/validators.js:124:11) at Object.normalize (path.js:1104:5) at Object.module.exports ({project-path}/node_modules/simple-pug-loader/index.js:104:38) ModuleBuildError: Module build failed (from ./node_modules/simple-pug-loader/index.js):

webcorptech commented 2 years ago

ERROR in Error: Child compilation failed: Module build failed (from ./node_modules/simple-pug-loader/index.js): TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined at new NodeError (internal/errors.js:322:7) at validateString (internal/validators.js:124:11) at Object.normalize (path.js:1104:5) at Object.module.exports ({project-path}/node_modules/simple-pug-loader/index.js:104:38) ModuleBuildError: Module build failed (from ./node_modules/simple-pug-loader/index.js):

Path inside index.pug is worng