Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webpack issue in app #65

Open
mawais78 opened this issue Jan 24, 2020 · 0 comments
Open

Webpack issue in app #65

mawais78 opened this issue Jan 24, 2020 · 0 comments

Comments

@mawais78
Copy link

I'm getting this error on while running the app using webpack

`10% building 1/1 modules 0 active
Webpack is watching the files…

(node:22516) DeprecationWarning: Tapable.plugin is deprecated. Use new API on .hooks instead
(node:22516) DeprecationWarning: Tapable.apply is deprecated. Call apply on the plugin directly instead
70% building 4/4 modules 0 activeTypeError: dep.getResourceIdentifier is not a function
at addDependency (C:\Users\M. Awais\AppData\Roaming\npm\node_modules\webpack\lib\Compilation.js:796:30)
at iterationOfArrayCallback (C:\Users\M. Awais\AppData\Roaming\npm\node_modules\webpack\lib\Compilation.js:208:3)
at addDependenciesBlock (C:\Users\M. Awais\AppData\Roaming\npm\node_modules\webpack\lib\Compilation.js:816:5)
at Compilation.processModuleDependencies (C:\Users\M. Awais\AppData\Roaming\npm\node_modules\webpack\lib\Compilation.js:827:4)
at afterBuild (C:\Users\M. Awais\AppData\Roaming\npm\node_modules\webpack\lib\Compilation.js:954:15)
at buildModule.err (C:\Users\M. Awais\AppData\Roaming\npm\node_modules\webpack\lib\Compilation.js:998:11)
at callback (C:\Users\M. Awais\AppData\Roaming\npm\node_modules\webpack\lib\Compilation.js:734:5)
at module.build.error (C:\Users\M. Awais\AppData\Roaming\npm\node_modules\webpack\lib\Compilation.js:782:12)
at handleParseResult (C:\Users\M. Awais\AppData\Roaming\npm\node_modules\webpack\lib\NormalModule.js:478:12)
at doBuild.err (C:\Users\M. Awais\AppData\Roaming\npm\node_modules\webpack\lib\NormalModule.js:500:6)
at runLoaders (C:\Users\M. Awais\AppData\Roaming\npm\node_modules\webpack\lib\NormalModule.js:358:12)
at C:\Users\M. Awais\AppData\Roaming\npm\node_modules\webpack\node_modules\loader-runner\lib\LoaderRunner.js:373:3
at iterateNormalLoaders (C:\Users\M. Awais\AppData\Roaming\npm\node_modules\webpack\node_modules\loader-runner\lib\LoaderRunner.js:214:10)
at iterateNormalLoaders (C:\Users\M. Awais\AppData\Roaming\npm\node_modules\webpack\node_modules\loader-runner\lib\LoaderRunner.js:221:10)
at C:\Users\M. Awais\AppData\Roaming\npm\node_modules\webpack\node_modules\loader-runner\lib\LoaderRunner.js:236:3
at Object.context.callback (C:\Users\M. Awais\AppData\Roaming\npm\node_modules\webpack\node_modules\loader-runner\lib\LoaderRunner.js:111:13)
at Object.module.exports (C:\wamp\www\cabin2\client\app\node_modules\jsx-loader\index.js:27:8)
at LOADER_EXECUTION (C:\Users\M. Awais\AppData\Roaming\npm\node_modules\webpack\node_modules\loader-runner\lib\LoaderRunner.js:119:14)
at runSyncOrAsync (C:\Users\M. Awais\AppData\Roaming\npm\node_modules\webpack\node_modules\loader-runner\lib\LoaderRunner.js:120:4)
at iterateNormalLoaders (C:\Users\M. Awais\AppData\Roaming\npm\node_modules\webpack\node_modules\loader-runner\lib\LoaderRunner.js:232:2)
at iterateNormalLoaders (C:\Users\M. Awais\AppData\Roaming\npm\node_modules\webpack\node_modules\loader-runner\lib\LoaderRunner.js:221:10)
at C:\Users\M. Awais\AppData\Roaming\npm\node_modules\webpack\node_modules\loader-runner\lib\LoaderRunner.js:236:3
at Object.context.callback (C:\Users\M. Awais\AppData\Roaming\npm\node_modules\webpack\node_modules\loader-runner\lib\LoaderRunner.js:111:13)
at Object.module.exports (C:\wamp\www\cabin2\client\app\node_modules\babel-loader\lib\index.js:184:8)
at LOADER_EXECUTION (C:\Users\M. Awais\AppData\Roaming\npm\node_modules\webpack\node_modules\loader-runner\lib\LoaderRunner.js:119:14)
at runSyncOrAsync (C:\Users\M. Awais\AppData\Roaming\npm\node_modules\webpack\node_modules\loader-runner\lib\LoaderRunner.js:120:4)
at iterateNormalLoaders (C:\Users\M. Awais\AppData\Roaming\npm\node_modules\webpack\node_modules\loader-runner\lib\LoaderRunner.js:232:2)
at Array. (C:\Users\M. Awais\AppData\Roaming\npm\node_modules\webpack\node_modules\loader-runner\lib\LoaderRunner.js:205:4)
at Storage.finished (C:\Users\M. Awais\AppData\Roaming\npm\node_modules\webpack\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:55:16)
at provider (C:\Users\M. Awais\AppData\Roaming\npm\node_modules\webpack\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:91:9)
at C:\Users\M. Awais\AppData\Roaming\npm\node_modules\webpack\node_modules\graceful-fs\graceful-fs.js:115:16
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:532:3)`

Node Version: v9.9.0
NPM: 6.13.0
Webpack: 3.11.0
webpack-cli: 2.0.10

How can I resolve this issue?

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

No branches or pull requests

1 participant