React webpack production build failed












0















i have build a simple react app and set for production only to meet this challenge. these errors keeps on poping up and i cant figure what is wrong with it..



  npm run build:prod


these error messages keeps on appearing



> webpack -p --env production

(node:15232) DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead C:UsersPMDesktopprojectsreactAppnode_moduleswebpacklibChunk.js:827
throw new Error(
^Error: Chunk.entrypoints: Use Chunks.groupsIterable and filter by instanceof Entrypoint instead
at Chunk.get (C:UsersPMDesktopprojectsreactAppnode_moduleswebpacklibChunk.js:827:9)
at C:UsersPMDesktopprojectsreactAppnode_modulesextract-text-webpack-plugindistindex.js:176:48
at Array.forEach (<anonymous>)
at C:UsersPMDesktopprojectsreactAppnode_modulesextract-text-webpack-plugindistindex.js:171:18
at AsyncSeriesHook.eval [as callAsync] (eval at create (C:UsersPMDesktopprojectsreactAppnode_modulestapablelibHookCodeFactory.js:32:10), <anonymous>:7:1)
at AsyncSeriesHook.lazyCompileHook (C:UsersPMDesktopprojectsreactAppnode_modulestapablelibHook.js:154:20)
at Compilation.seal (C:UsersPMDesktopprojectsreactAppnode_moduleswebpacklibCompilation.js:1215:27)
at hooks.make.callAsync.err (C:UsersPMDesktopprojectsreactAppnode_moduleswebpacklibCompiler.js:541:17)
at _err0 (eval at create (C:UsersPMDesktopprojectsreactAppnode_modulestapablelibHookCodeFactory.js:32:10), <anonymous>:11:1)
at _addModuleChain (C:UsersPMDesktopprojectsreactAppnode_moduleswebpacklibCompilation.js:1066:12)
at processModuleDependencies.err (C:UsersPMDesktopprojectsreactAppnode_moduleswebpacklibCompilation.js:982:9)
at process._tickCallback (internal/process/next_tick.js:61:11)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! reactapp@1.0.0 build:prod: `webpack -p --env production `
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the reactapp@1.0.0 build:prod script.
npm ERR! This is probably not a problem with npm. There is likely
additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:UsersPMAppDataRoamingnpm-cache_logs2018-11-
20T17_04_56_717Z-debug.log


i would appreciate your help. thank you










share|improve this question

























  • Just run npm run build

    – Rutul Patel
    Nov 20 '18 at 20:12











  • @yrufai can u be a little more specific as the question seems too vague to answer

    – klvenky
    Dec 1 '18 at 6:25
















0















i have build a simple react app and set for production only to meet this challenge. these errors keeps on poping up and i cant figure what is wrong with it..



  npm run build:prod


these error messages keeps on appearing



> webpack -p --env production

(node:15232) DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead C:UsersPMDesktopprojectsreactAppnode_moduleswebpacklibChunk.js:827
throw new Error(
^Error: Chunk.entrypoints: Use Chunks.groupsIterable and filter by instanceof Entrypoint instead
at Chunk.get (C:UsersPMDesktopprojectsreactAppnode_moduleswebpacklibChunk.js:827:9)
at C:UsersPMDesktopprojectsreactAppnode_modulesextract-text-webpack-plugindistindex.js:176:48
at Array.forEach (<anonymous>)
at C:UsersPMDesktopprojectsreactAppnode_modulesextract-text-webpack-plugindistindex.js:171:18
at AsyncSeriesHook.eval [as callAsync] (eval at create (C:UsersPMDesktopprojectsreactAppnode_modulestapablelibHookCodeFactory.js:32:10), <anonymous>:7:1)
at AsyncSeriesHook.lazyCompileHook (C:UsersPMDesktopprojectsreactAppnode_modulestapablelibHook.js:154:20)
at Compilation.seal (C:UsersPMDesktopprojectsreactAppnode_moduleswebpacklibCompilation.js:1215:27)
at hooks.make.callAsync.err (C:UsersPMDesktopprojectsreactAppnode_moduleswebpacklibCompiler.js:541:17)
at _err0 (eval at create (C:UsersPMDesktopprojectsreactAppnode_modulestapablelibHookCodeFactory.js:32:10), <anonymous>:11:1)
at _addModuleChain (C:UsersPMDesktopprojectsreactAppnode_moduleswebpacklibCompilation.js:1066:12)
at processModuleDependencies.err (C:UsersPMDesktopprojectsreactAppnode_moduleswebpacklibCompilation.js:982:9)
at process._tickCallback (internal/process/next_tick.js:61:11)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! reactapp@1.0.0 build:prod: `webpack -p --env production `
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the reactapp@1.0.0 build:prod script.
npm ERR! This is probably not a problem with npm. There is likely
additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:UsersPMAppDataRoamingnpm-cache_logs2018-11-
20T17_04_56_717Z-debug.log


i would appreciate your help. thank you










share|improve this question

























  • Just run npm run build

    – Rutul Patel
    Nov 20 '18 at 20:12











  • @yrufai can u be a little more specific as the question seems too vague to answer

    – klvenky
    Dec 1 '18 at 6:25














0












0








0


0






i have build a simple react app and set for production only to meet this challenge. these errors keeps on poping up and i cant figure what is wrong with it..



  npm run build:prod


these error messages keeps on appearing



> webpack -p --env production

(node:15232) DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead C:UsersPMDesktopprojectsreactAppnode_moduleswebpacklibChunk.js:827
throw new Error(
^Error: Chunk.entrypoints: Use Chunks.groupsIterable and filter by instanceof Entrypoint instead
at Chunk.get (C:UsersPMDesktopprojectsreactAppnode_moduleswebpacklibChunk.js:827:9)
at C:UsersPMDesktopprojectsreactAppnode_modulesextract-text-webpack-plugindistindex.js:176:48
at Array.forEach (<anonymous>)
at C:UsersPMDesktopprojectsreactAppnode_modulesextract-text-webpack-plugindistindex.js:171:18
at AsyncSeriesHook.eval [as callAsync] (eval at create (C:UsersPMDesktopprojectsreactAppnode_modulestapablelibHookCodeFactory.js:32:10), <anonymous>:7:1)
at AsyncSeriesHook.lazyCompileHook (C:UsersPMDesktopprojectsreactAppnode_modulestapablelibHook.js:154:20)
at Compilation.seal (C:UsersPMDesktopprojectsreactAppnode_moduleswebpacklibCompilation.js:1215:27)
at hooks.make.callAsync.err (C:UsersPMDesktopprojectsreactAppnode_moduleswebpacklibCompiler.js:541:17)
at _err0 (eval at create (C:UsersPMDesktopprojectsreactAppnode_modulestapablelibHookCodeFactory.js:32:10), <anonymous>:11:1)
at _addModuleChain (C:UsersPMDesktopprojectsreactAppnode_moduleswebpacklibCompilation.js:1066:12)
at processModuleDependencies.err (C:UsersPMDesktopprojectsreactAppnode_moduleswebpacklibCompilation.js:982:9)
at process._tickCallback (internal/process/next_tick.js:61:11)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! reactapp@1.0.0 build:prod: `webpack -p --env production `
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the reactapp@1.0.0 build:prod script.
npm ERR! This is probably not a problem with npm. There is likely
additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:UsersPMAppDataRoamingnpm-cache_logs2018-11-
20T17_04_56_717Z-debug.log


i would appreciate your help. thank you










share|improve this question
















i have build a simple react app and set for production only to meet this challenge. these errors keeps on poping up and i cant figure what is wrong with it..



  npm run build:prod


these error messages keeps on appearing



> webpack -p --env production

(node:15232) DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead C:UsersPMDesktopprojectsreactAppnode_moduleswebpacklibChunk.js:827
throw new Error(
^Error: Chunk.entrypoints: Use Chunks.groupsIterable and filter by instanceof Entrypoint instead
at Chunk.get (C:UsersPMDesktopprojectsreactAppnode_moduleswebpacklibChunk.js:827:9)
at C:UsersPMDesktopprojectsreactAppnode_modulesextract-text-webpack-plugindistindex.js:176:48
at Array.forEach (<anonymous>)
at C:UsersPMDesktopprojectsreactAppnode_modulesextract-text-webpack-plugindistindex.js:171:18
at AsyncSeriesHook.eval [as callAsync] (eval at create (C:UsersPMDesktopprojectsreactAppnode_modulestapablelibHookCodeFactory.js:32:10), <anonymous>:7:1)
at AsyncSeriesHook.lazyCompileHook (C:UsersPMDesktopprojectsreactAppnode_modulestapablelibHook.js:154:20)
at Compilation.seal (C:UsersPMDesktopprojectsreactAppnode_moduleswebpacklibCompilation.js:1215:27)
at hooks.make.callAsync.err (C:UsersPMDesktopprojectsreactAppnode_moduleswebpacklibCompiler.js:541:17)
at _err0 (eval at create (C:UsersPMDesktopprojectsreactAppnode_modulestapablelibHookCodeFactory.js:32:10), <anonymous>:11:1)
at _addModuleChain (C:UsersPMDesktopprojectsreactAppnode_moduleswebpacklibCompilation.js:1066:12)
at processModuleDependencies.err (C:UsersPMDesktopprojectsreactAppnode_moduleswebpacklibCompilation.js:982:9)
at process._tickCallback (internal/process/next_tick.js:61:11)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! reactapp@1.0.0 build:prod: `webpack -p --env production `
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the reactapp@1.0.0 build:prod script.
npm ERR! This is probably not a problem with npm. There is likely
additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:UsersPMAppDataRoamingnpm-cache_logs2018-11-
20T17_04_56_717Z-debug.log


i would appreciate your help. thank you







reactjs






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 2 '18 at 14:57







yrufai

















asked Nov 20 '18 at 17:20









yrufaiyrufai

266




266













  • Just run npm run build

    – Rutul Patel
    Nov 20 '18 at 20:12











  • @yrufai can u be a little more specific as the question seems too vague to answer

    – klvenky
    Dec 1 '18 at 6:25



















  • Just run npm run build

    – Rutul Patel
    Nov 20 '18 at 20:12











  • @yrufai can u be a little more specific as the question seems too vague to answer

    – klvenky
    Dec 1 '18 at 6:25

















Just run npm run build

– Rutul Patel
Nov 20 '18 at 20:12





Just run npm run build

– Rutul Patel
Nov 20 '18 at 20:12













@yrufai can u be a little more specific as the question seems too vague to answer

– klvenky
Dec 1 '18 at 6:25





@yrufai can u be a little more specific as the question seems too vague to answer

– klvenky
Dec 1 '18 at 6:25












0






active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53398269%2freact-webpack-production-build-failed%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53398269%2freact-webpack-production-build-failed%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How to change which sound is reproduced for terminal bell?

Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

Can I use Tabulator js library in my java Spring + Thymeleaf project?