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
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
add a comment |
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
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
add a comment |
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
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
node.js jenkins npm nuxt.js
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
add a comment |
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
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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