{"id":556752,"date":"2022-03-09T01:57:23","date_gmt":"2022-03-08T17:57:23","guid":{"rendered":"http:\/\/4563.org\/?p=556752"},"modified":"2022-03-09T01:57:23","modified_gmt":"2022-03-08T17:57:23","slug":"vue-%e9%a1%b9%e7%9b%ae%ef%bc%8c%e5%90%8c%e4%b8%80%e7%89%88%e6%9c%ac-node%e3%80%81npm%ef%bc%8c-windows-%e5%8f%af%e4%bb%a5%e7%bc%96%e8%af%91%ef%bc%8c-linux-%e4%b8%8d%e8%a1%8c","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=556752","title":{"rendered":"vue \u9879\u76ee\uff0c\u540c\u4e00\u7248\u672c node\u3001npm\uff0c windows \u53ef\u4ee5\u7f16\u8bd1\uff0c Linux \u4e0d\u884c"},"content":{"rendered":"<div>\n<div><a href=\"http:\/\/machbbs.com\/user-2.htm\" tabindex=\"-1\"><\/a><\/p>\n<div>\n<h1>vue \u9879\u76ee\uff0c\u540c\u4e00\u7248\u672c node\u3001npm\uff0c windows \u53ef\u4ee5\u7f16\u8bd1\uff0c Linux \u4e0d\u884c<\/h1>\n<p><\/p>\n<div>\n<div><span>\u8cc7\u6df1\u5927\u4f6c :20498860<\/span><span><i><\/i>0<\/span><\/div>\n<div><\/div>\n<\/div>\n<\/div>\n<\/div>\n<div isfirst=\"1\">node 16.14.0<br \/>npm 6.14.16<br \/>\u6211\u9ebb\u4e86\uff0clinux \u62a5\u9519\u751a\u81f3\u662f speed-measure-webpack-plugin \u628a\u65f6\u95f4\u7b97\u5b8c\u540e\u62a5\u9519\u7684\uff0c\u5199\u5728 log \u6587\u4ef6\u91cc\uff0c\u6587\u4ef6\u5728\u4e8c<\/div>\n<div><\/div>\n<\/div>\n<\/div>\n<div>\n<div>\n<div>\n<div>\n<div><b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>1<\/span>)        <\/div>\n<div><\/div>\n<\/div>\n<\/div>\n<ul>\n<li data-pid=\"7521472\" data-uid=\"2\"><a href=\"http:\/\/machbbs.com\/user-2.htm\" tabindex=\"-1\"><\/a>\n<div>\n<div>\n<div><span>\u4e3b<\/span><span>\u8cc7\u6df1\u5927\u4f6c :20498860<\/span><\/div>\n<div><i title=\"\u5f15\u7528\"><\/i><span><\/span><\/div>\n<\/div>\n<div>0 info it worked if it ends with ok<br \/>1 verbose cli [ &#8216;\/usr\/local\/bin\/node&#8217;, &#8216;\/usr\/local\/bin\/npm&#8217;, &#8216;run&#8217;, &#8216;build&#8217; ]<br \/>2 info using [email&#160;protected]<br \/>3 info using [email&#160;protected]<br \/>4 verbose run-script [ &#8216;prebuild&#8217;, &#8216;build&#8217;, &#8216;postbuild&#8217; ]<br \/>5 info lifecycle [email&#160;protected]~prebuild: [email&#160;protected]<br \/>6 info lifecycle [email&#160;protected]~build: [email&#160;protected]<br \/>7 verbose lifecycle [email&#160;protected]~build: unsafe-perm in lifecycle true<br \/>8 verbose lifecycle [email&#160;protected]~build: PATH: \/usr\/local\/lib\/node_modules\/npm\/node_modules\/npm-lifecycle\/node-gyp-bin:\/opt\/deploy\/source\/frontend\/frontent-platform-customer.test.webpack.speed\/frontend-platform-customer\/node_modules\/.bin:\/usr\/local\/bin:\/usr\/bin:\/usr\/local\/sbin:\/usr\/sbin:\/opt\/kafka\/bin:\/usr\/java\/jdk1.8.0_121\/bin:\/opt\/scala\/bin:\/opt\/spark\/bin:\/home\/apps\/.local\/bin:\/home\/apps\/bin:\/opt\/php\/php7214\/bin:\/opt\/composer\/composer185\/<br \/>9 verbose lifecycle [email&#160;protected]~build: CWD: \/opt\/deploy\/source\/frontend\/frontent-platform-customer.test.webpack.speed\/frontend-platform-customer<br \/>10 silly lifecycle [email&#160;protected]~build: Args: [ &#8216;-c&#8217;, &#8216;node &#8211;max_old_space_size=4096 build\/build.js&#8217; ]<br \/>11 silly lifecycle [email&#160;protected]~build: Returned: code: 1 signal: null<br \/>12 info lifecycle [email&#160;protected]~build: Failed to exec build script<br \/>13 verbose stack Error: [email&#160;protected] build: `node &#8211;max_old_space_size=4096 build\/build.js`<br \/>13 verbose stack Exit status 1<br \/>13 verbose stack at EventEmitter.&lt;anonymous&gt; (\/usr\/local\/lib\/node_modules\/npm\/node_modules\/npm-lifecycle\/index.js:332:16)<br \/>13 verbose stack at EventEmitter.emit (node:events:520:28)<br \/>13 verbose stack at ChildProcess.&lt;anonymous&gt; (\/usr\/local\/lib\/node_modules\/npm\/node_modules\/npm-lifecycle\/lib\/spawn.js:55:14)<br \/>13 verbose stack at ChildProcess.emit (node:events:520:28)<br \/>13 verbose stack at maybeClose (node:internal\/child_process:1092:16)<br \/>13 verbose stack at Process.ChildProcess._handle.onexit (node:internal\/child_process:302:5)14 verbose pkgid [email&#160;protected]<br \/>15 verbose cwd \/opt\/deploy\/source\/frontend\/frontent-platform-customer.test.webpack.speed\/frontend-platform-customer<br \/>16 verbose Linux 3.10.0-862.el7.x86_64<br \/>17 verbose argv &#8220;\/usr\/local\/bin\/node&#8221; &#8220;\/usr\/local\/bin\/npm&#8221; &#8220;run&#8221; &#8220;build&#8221;<br \/>18 verbose node v16.14.0<br \/>19 verbose npm v6.14.15<br \/>20 error code ELIFECYCLE<br \/>21 error errno 1<br \/>22 error [email&#160;protected] build: `node &#8211;max_old_space_size=4096 build\/build.js`<br \/>22 error Exit status 1<br \/>23 error Failed at the [email&#160;protected] build script.<br \/>23 error This is probably not a problem with npm. There is likely additional logging output above.<\/div>\n<\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>vue \u9879\u76ee\uff0c\u540c\u4e00\u7248\u672c node\u3001&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/556752"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=556752"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/556752\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=556752"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=556752"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=556752"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}