Skip to content
This repository has been archived by the owner on Feb 15, 2020. It is now read-only.

throw new Error("Module '" + loader.path + "' is not a loader (must have normal or pitch function)"); #2

Open
minnaq opened this issue Mar 14, 2017 · 4 comments

Comments

@minnaq
Copy link

minnaq commented Mar 14, 2017

Listening to http://localhost:3000
loaderUtils.parseQuery() received a non-string value which can be problematic, see webpack/loader-utils#56
parseQuery() will be replaced with getOptions() in the next major version of loader-utils.
/Users/tim/Documents/work/me/github/react-router-redux-saga-4/node_modules/loader-runner/lib/loadLoader.js:35
throw new Error("Module '" + loader.path + "' is not a loader (must have normal or pitch function)");
^

Error: Module '/Users/tim/Documents/work/me/github/react-router-redux-saga-4/node_modules/react-router/index.js' is not a loader (must have normal or pitch function)
at loadLoader (/Users/tim/Documents/work/me/github/react-router-redux-saga-4/node_modules/loader-runner/lib/loadLoader.js:35:10)
at iteratePitchingLoaders (/Users/tim/Documents/work/me/github/react-router-redux-saga-4/node_modules/loader-runner/lib/LoaderRunner.js:169:2)
at runLoaders (/Users/tim/Documents/work/me/github/react-router-redux-saga-4/node_modules/loader-runner/lib/LoaderRunner.js:362:2)
at NormalModule.doBuild (/Users/tim/Documents/work/me/github/react-router-redux-saga-4/node_modules/webpack/lib/NormalModule.js:129:2)
at NormalModule.build (/Users/tim/Documents/work/me/github/react-router-redux-saga-4/node_modules/webpack/lib/NormalModule.js:180:15)
at Compilation.buildModule (/Users/tim/Documents/work/me/github/react-router-redux-saga-4/node_modules/webpack/lib/Compilation.js:142:10)
at factoryCallback (/Users/tim/Documents/work/me/github/react-router-redux-saga-4/node_modules/webpack/lib/Compilation.js:324:11)
at /Users/tim/Documents/work/me/github/react-router-redux-saga-4/node_modules/webpack/lib/NormalModuleFactory.js:242:4
at /Users/tim/Documents/work/me/github/react-router-redux-saga-4/node_modules/webpack/lib/NormalModuleFactory.js:93:13
at /Users/tim/Documents/work/me/github/react-router-redux-saga-4/node_modules/tapable/lib/Tapable.js:204:11
at NormalModuleFactory. (/Users/tim/Documents/work/me/github/react-router-redux-saga-4/node_modules/webpack/lib/CompatibilityPlugin.js:52:5)
at NormalModuleFactory.applyPluginsAsyncWaterfall (/Users/tim/Documents/work/me/github/react-router-redux-saga-4/node_modules/tapable/lib/Tapable.js:208:13)
at onDoneResolving (/Users/tim/Documents/work/me/github/react-router-redux-saga-4/node_modules/webpack/lib/NormalModuleFactory.js:68:11)
at onDoneResolving (/Users/tim/Documents/work/me/github/react-router-redux-saga-4/node_modules/webpack/lib/NormalModuleFactory.js:189:6)
at nextTickCallbackWith0Args (node.js:453:9)
at process._tickCallback (node.js:382:13)

@venkatb4u
Copy link

Yes,I get the same error as well.

@lielran
Copy link

lielran commented May 23, 2017

same as here

@aheintz
Copy link

aheintz commented Jun 4, 2017

Yep, same here.

@RaedShari
Copy link

same

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants