Answer the question
In order to leave comments, you need to log in
Error with path - react+loadable-components?
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
at validateString (internal/validators.js:125:11)
at Object.extname (path.js:1365:5)
at getFileScriptType (/home/lemit/loadable-components/examples/server-side-rendering-async -node/node_modules/@loadable/server/lib/ChunkExtractor.js:49:60)
at isScriptFile (/home/lemit/loadable-components/examples/server-side-rendering-async-node/node_modules/@loadable/server /lib/ChunkExtractor.js:53:10)
at stats.assets.filter (/home/lemit/loadable-components/examples/server-side-rendering-async-node/node_modules/@loadable/server/lib/ChunkExtractor. js:366:11)
at Array.filter()
at ChunkExtractor.requireEntrypoint(/home/lemit/loadable-components/examples/server-side-rendering-async-node/node_modules/@loadable/server/lib/ChunkExtractor.js:364:23)
at app.get(/home /lemit/loadable-components/examples/server-side-rendering-async-node/src/server/main.js:43:42)
at Layer.handle [as handle_request] (/home/lemit/loadable-components/examples /server-side-rendering-async-node/node_modules/express/lib/router/layer.js:95:5)
at next (/home/lemit/loadable-components/examples/server-side-rendering-async-node /node_modules/express/lib/router/route.js:137:13)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question