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

Thal And Out Agency railway station See also References External links Navigation menuOfficial Web Site of Pakistan RailwaysArchivedOfficial Web Site of Pakistan Railwayseeexpanding ite

Understanding generators in Python2019 Community Moderator ElectionGenerator function not working pythonFor loop not executing two timesGenerators - Printing generated valuesWhy can a python generator only be used once?What exactly do generators do?What does the “yield” keyword do?What does “list comprehension” mean? How does it work and how can I use it?sklearn Kfold acces single fold instead of for loopIs a generator the callable? Which is the generator?Apply Border To Range Of Cells Using OpenpyxlCalling an external command in PythonWhat are metaclasses in Python?What is the difference between @staticmethod and @classmethod?Finding the index of an item given a list containing it in PythonDifference between append vs. extend list methods in PythonHow can I safely create a nested directory in Python?Does Python have a ternary conditional operator?Understanding slice notationUnderstanding Python super() with __init__() methodsDoes Python have a string 'contains' substring method?

How can I change the color of pagination dots of UIPageControl?How to change UIPageControl dotsIs there a way to change page indicator dots colorCustomize dot with image of UIPageControl at index 0 of UIPageControlNo visible @interface for 'NSObject<PageControlDelegate>' declares the selector 'pageControlPageDidChange:'How to change the color of pagination dots in UIPageControl with a different color per pagepagecontrol indicator custom image instead of DefaultChanging the colour of UIPageControl dots in MonoTouchpagecontrol selectable page visibility color?Alternative way to load ViewControllers on a UIPageControlHow to set only layer.border-color for UIpage control dots in swiftHow can I develop for iPhone using a Windows development machine?How to change the name of an iOS app?UITableView - change section header coloruipagecontrol indicator(dot)issueCustom UIPageControl dots color not changingchange the interspace between UIPageControl dotsHow to change Status Bar text color in iOSHow can I change image tintColor in iOS and WatchKitUIPageControl dots with larger space in between each dotsHow to change the color of pagination dots in UIPageControl with a different color per page