Nuxt Fatal Error when running npm run generate2019 Community Moderator Electionreceiving error: 'Error: SSL Error: SELF_SIGNED_CERT_IN_CHAIN' while using npmnpm throws error without sudoGrunt watch error - Waiting…Fatal error: watch ENOSPCNodeJS - Error installing with NPMNode.js/Windows error: ENOENT, stat 'C:UsersRTAppDataRoamingnpm'How can I run multiple npm scripts in parallel?What is NUXT Warning “Emitted value instead of an instance of Error” about?webpack - TypeError: dep.getResourceIdentifier is not a functionTask not found: “watch-css” reactjsHow to minify css styles using webpack 3

NASA's RS-25 Engines shut down time

How are showroom/display vehicles prepared?

Does a warlock using the Darkness/Devil's Sight combo still have advantage on ranged attacks against a target outside the Darkness?

Can one live in the U.S. and not use a credit card?

Distinction between apt-cache and dpkg -l

Motivation for Zeta Function of an Algebraic Variety

Are all players supposed to be able to see each others' character sheets?

Shifting between bemols (flats) and diesis (sharps)in the key signature

What are actual Tesla M60 models used by AWS?

Is it necessary to separate DC power cables and data cables?

Why the color red for the Republican Party

meaning and function of 幸 in "则幸分我一杯羹"

Counting all the hearts

Is it "Vierergruppe" or "Viergruppe", or is there a distinction?

If I receive an SOS signal, what is the proper response?

How can I ensure my trip to the UK will not have to be cancelled because of Brexit?

Why does Captain Marvel assume the people on this planet know this?

Are there historical instances of the capital of a colonising country being temporarily or permanently shifted to one of its colonies?

Hotkey (or other quick way) to insert a keyframe for only one component of a vector-valued property?

Should I take out a loan for a friend to invest on my behalf?

An alternative proof of an application of Hahn-Banach

PTIJ: Should I kill my computer after installing software?

Why was Goose renamed from Chewie for the Captain Marvel film?

Do I really need to have a scientific explanation for my premise?



Nuxt Fatal Error when running npm run generate



2019 Community Moderator Electionreceiving error: 'Error: SSL Error: SELF_SIGNED_CERT_IN_CHAIN' while using npmnpm throws error without sudoGrunt watch error - Waiting…Fatal error: watch ENOSPCNodeJS - Error installing with NPMNode.js/Windows error: ENOENT, stat 'C:UsersRTAppDataRoamingnpm'How can I run multiple npm scripts in parallel?What is NUXT Warning “Emitted value instead of an instance of Error” about?webpack - TypeError: dep.getResourceIdentifier is not a functionTask not found: “watch-css” reactjsHow to minify css styles using webpack 3










0















I'm basically running npm run generate in jenkins build



This is my current configuration:



npm install

npm test

npm run generate

// then upload dist/ to s3 for static hosting


I'm getting



 ╭────────────────────────╮
│ │
│ ✖ Nuxt Fatal Error │
│ │
│ │
│ │
╰────────────────────────╯

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! vs_admin@1.0.0 generate: `nuxt generate`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the vs_admin@1.0.0 generate script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.


I'm thinking it cannot find the nuxt in my jenkins server, but I put the nuxt package inside my package.json




"name": "test_app",
"version": "1.0.0",
"description": "TEST APP",
"author": "STB Tech Dev",
"private": true,
"scripts":
"dev": "nuxt",
"build": "nuxt build --spa",
"start": "nuxt start",
"generate": "nuxt generate",
"test": "mocha --recursive -r esm"
,
"dependencies":
"@johmun/vue-tags-input": "^2.0.1",
"axios": "^0.18.0",
"bootstrap-vue": "^2.0.0-rc.11",
"chai": "^4.2.0",
"config": "^3.0.1",
"cookieparser": "^0.1.0",
"cross-env": "^5.2.0",
"esm": "^3.2.5",
"faker": "^4.1.0",
"jquery": "^3.3.1",
"js-cookie": "^2.2.0",
"mocha": "^6.0.1",
"nuxt": "^2.4.3",
"repl": "^0.1.3",
"sinon": "^7.2.4",
"vue-bootstrap-toggle": "^1.1.4",
"vue-clamp": "^0.2.1",
"vue-date-pick": "^1.1.0",
"vue-loader": "^15.6.4",
"vue-select": "^2.5.1",
"vuedraggable": "^2.17.0",
"vuejs-noty": "^0.1.3",
"vuelidate": "^0.7.4"
,
"devDependencies":
"dotenv": "^6.2.0",
"node-sass": "^4.10.0",
"nodemon": "^1.18.10",
"nyc": "^13.3.0",
"sass-loader": "^7.1.0"











share|improve this question






















  • does it work locally?

    – Aldarund
    Mar 7 at 11:01











  • I can run the npm run generate locally in my machine, but in Jenkins it's fatal error

    – Allen Chun
    Mar 7 at 11:03











  • try to run build, maybe there will be better error

    – Aldarund
    Mar 7 at 12:47















0















I'm basically running npm run generate in jenkins build



This is my current configuration:



npm install

npm test

npm run generate

// then upload dist/ to s3 for static hosting


I'm getting



 ╭────────────────────────╮
│ │
│ ✖ Nuxt Fatal Error │
│ │
│ │
│ │
╰────────────────────────╯

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! vs_admin@1.0.0 generate: `nuxt generate`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the vs_admin@1.0.0 generate script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.


I'm thinking it cannot find the nuxt in my jenkins server, but I put the nuxt package inside my package.json




"name": "test_app",
"version": "1.0.0",
"description": "TEST APP",
"author": "STB Tech Dev",
"private": true,
"scripts":
"dev": "nuxt",
"build": "nuxt build --spa",
"start": "nuxt start",
"generate": "nuxt generate",
"test": "mocha --recursive -r esm"
,
"dependencies":
"@johmun/vue-tags-input": "^2.0.1",
"axios": "^0.18.0",
"bootstrap-vue": "^2.0.0-rc.11",
"chai": "^4.2.0",
"config": "^3.0.1",
"cookieparser": "^0.1.0",
"cross-env": "^5.2.0",
"esm": "^3.2.5",
"faker": "^4.1.0",
"jquery": "^3.3.1",
"js-cookie": "^2.2.0",
"mocha": "^6.0.1",
"nuxt": "^2.4.3",
"repl": "^0.1.3",
"sinon": "^7.2.4",
"vue-bootstrap-toggle": "^1.1.4",
"vue-clamp": "^0.2.1",
"vue-date-pick": "^1.1.0",
"vue-loader": "^15.6.4",
"vue-select": "^2.5.1",
"vuedraggable": "^2.17.0",
"vuejs-noty": "^0.1.3",
"vuelidate": "^0.7.4"
,
"devDependencies":
"dotenv": "^6.2.0",
"node-sass": "^4.10.0",
"nodemon": "^1.18.10",
"nyc": "^13.3.0",
"sass-loader": "^7.1.0"











share|improve this question






















  • does it work locally?

    – Aldarund
    Mar 7 at 11:01











  • I can run the npm run generate locally in my machine, but in Jenkins it's fatal error

    – Allen Chun
    Mar 7 at 11:03











  • try to run build, maybe there will be better error

    – Aldarund
    Mar 7 at 12:47













0












0








0








I'm basically running npm run generate in jenkins build



This is my current configuration:



npm install

npm test

npm run generate

// then upload dist/ to s3 for static hosting


I'm getting



 ╭────────────────────────╮
│ │
│ ✖ Nuxt Fatal Error │
│ │
│ │
│ │
╰────────────────────────╯

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! vs_admin@1.0.0 generate: `nuxt generate`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the vs_admin@1.0.0 generate script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.


I'm thinking it cannot find the nuxt in my jenkins server, but I put the nuxt package inside my package.json




"name": "test_app",
"version": "1.0.0",
"description": "TEST APP",
"author": "STB Tech Dev",
"private": true,
"scripts":
"dev": "nuxt",
"build": "nuxt build --spa",
"start": "nuxt start",
"generate": "nuxt generate",
"test": "mocha --recursive -r esm"
,
"dependencies":
"@johmun/vue-tags-input": "^2.0.1",
"axios": "^0.18.0",
"bootstrap-vue": "^2.0.0-rc.11",
"chai": "^4.2.0",
"config": "^3.0.1",
"cookieparser": "^0.1.0",
"cross-env": "^5.2.0",
"esm": "^3.2.5",
"faker": "^4.1.0",
"jquery": "^3.3.1",
"js-cookie": "^2.2.0",
"mocha": "^6.0.1",
"nuxt": "^2.4.3",
"repl": "^0.1.3",
"sinon": "^7.2.4",
"vue-bootstrap-toggle": "^1.1.4",
"vue-clamp": "^0.2.1",
"vue-date-pick": "^1.1.0",
"vue-loader": "^15.6.4",
"vue-select": "^2.5.1",
"vuedraggable": "^2.17.0",
"vuejs-noty": "^0.1.3",
"vuelidate": "^0.7.4"
,
"devDependencies":
"dotenv": "^6.2.0",
"node-sass": "^4.10.0",
"nodemon": "^1.18.10",
"nyc": "^13.3.0",
"sass-loader": "^7.1.0"











share|improve this question














I'm basically running npm run generate in jenkins build



This is my current configuration:



npm install

npm test

npm run generate

// then upload dist/ to s3 for static hosting


I'm getting



 ╭────────────────────────╮
│ │
│ ✖ Nuxt Fatal Error │
│ │
│ │
│ │
╰────────────────────────╯

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! vs_admin@1.0.0 generate: `nuxt generate`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the vs_admin@1.0.0 generate script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.


I'm thinking it cannot find the nuxt in my jenkins server, but I put the nuxt package inside my package.json




"name": "test_app",
"version": "1.0.0",
"description": "TEST APP",
"author": "STB Tech Dev",
"private": true,
"scripts":
"dev": "nuxt",
"build": "nuxt build --spa",
"start": "nuxt start",
"generate": "nuxt generate",
"test": "mocha --recursive -r esm"
,
"dependencies":
"@johmun/vue-tags-input": "^2.0.1",
"axios": "^0.18.0",
"bootstrap-vue": "^2.0.0-rc.11",
"chai": "^4.2.0",
"config": "^3.0.1",
"cookieparser": "^0.1.0",
"cross-env": "^5.2.0",
"esm": "^3.2.5",
"faker": "^4.1.0",
"jquery": "^3.3.1",
"js-cookie": "^2.2.0",
"mocha": "^6.0.1",
"nuxt": "^2.4.3",
"repl": "^0.1.3",
"sinon": "^7.2.4",
"vue-bootstrap-toggle": "^1.1.4",
"vue-clamp": "^0.2.1",
"vue-date-pick": "^1.1.0",
"vue-loader": "^15.6.4",
"vue-select": "^2.5.1",
"vuedraggable": "^2.17.0",
"vuejs-noty": "^0.1.3",
"vuelidate": "^0.7.4"
,
"devDependencies":
"dotenv": "^6.2.0",
"node-sass": "^4.10.0",
"nodemon": "^1.18.10",
"nyc": "^13.3.0",
"sass-loader": "^7.1.0"








node.js jenkins npm nuxt.js






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 7 at 6:39









Allen ChunAllen Chun

1,6871937




1,6871937












  • does it work locally?

    – Aldarund
    Mar 7 at 11:01











  • I can run the npm run generate locally in my machine, but in Jenkins it's fatal error

    – Allen Chun
    Mar 7 at 11:03











  • try to run build, maybe there will be better error

    – Aldarund
    Mar 7 at 12:47

















  • does it work locally?

    – Aldarund
    Mar 7 at 11:01











  • I can run the npm run generate locally in my machine, but in Jenkins it's fatal error

    – Allen Chun
    Mar 7 at 11:03











  • try to run build, maybe there will be better error

    – Aldarund
    Mar 7 at 12:47
















does it work locally?

– Aldarund
Mar 7 at 11:01





does it work locally?

– Aldarund
Mar 7 at 11:01













I can run the npm run generate locally in my machine, but in Jenkins it's fatal error

– Allen Chun
Mar 7 at 11:03





I can run the npm run generate locally in my machine, but in Jenkins it's fatal error

– Allen Chun
Mar 7 at 11:03













try to run build, maybe there will be better error

– Aldarund
Mar 7 at 12:47





try to run build, maybe there will be better error

– Aldarund
Mar 7 at 12:47












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%2f55037529%2fnuxt-fatal-error-when-running-npm-run-generate%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%2f55037529%2fnuxt-fatal-error-when-running-npm-run-generate%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

Identity Server 4 is not redirecting to Angular app after login2019 Community Moderator ElectionIdentity Server 4 and dockerIdentityserver implicit flow unauthorized_clientIdentityServer Hybrid Flow - Access Token is null after user successful loginIdentity Server to MVC client : Page Redirect After loginLogin with Steam OpenId(oidc-client-js)Identity Server 4+.NET Core 2.0 + IdentityIdentityServer4 post-login redirect not working in Edge browserCall to IdentityServer4 generates System.NullReferenceException: Object reference not set to an instance of an objectIdentityServer4 without HTTPS not workingHow to get Authorization code from identity server without login form

2005 Ahvaz unrest Contents Background Causes Casualties Aftermath See also References Navigation menue"At Least 10 Are Killed by Bombs in Iran""Iran"Archived"Arab-Iranians in Iran to make April 15 'Day of Fury'"State of Mind, State of Order: Reactions to Ethnic Unrest in the Islamic Republic of Iran.10.1111/j.1754-9469.2008.00028.x"Iran hangs Arab separatists"Iran Overview from ArchivedConstitution of the Islamic Republic of Iran"Tehran puzzled by forged 'riots' letter""Iran and its minorities: Down in the second class""Iran: Handling Of Ahvaz Unrest Could End With Televised Confessions""Bombings Rock Iran Ahead of Election""Five die in Iran ethnic clashes""Iran: Need for restraint as anniversary of unrest in Khuzestan approaches"Archived"Iranian Sunni protesters killed in clashes with security forces"Archived

Can't initialize raids on a new ASUS Prime B360M-A motherboard2019 Community Moderator ElectionSimilar to RAID config yet more like mirroring solution?Can't get motherboard serial numberWhy does the BIOS entry point start with a WBINVD instruction?UEFI performance Asus Maximus V Extreme