minecraftLegion icon indicating copy to clipboard operation
minecraftLegion copied to clipboard

Error

Open tmquan2508 opened this issue 1 year ago • 1 comments

Something went wrong when I used the command "npm run build"

minecraftLegion>npm run build

[email protected] build npm run install_all && npm run build_all

[email protected] install_all node install

Install self deps Install & Building Base types Installing web node:internal/errors:956 const err = new Error(message); ^

Error: Command failed: npm install --prefix C:\Users\tmqua\Desktop\minecraftLegion\web npm WARN tarball tarball data for base-types@file:C:\Users\tmqua\Desktop\minecraftLegion\base-types\base-types-1.0.0.tgz (sha512-ui3HF3Om51D0QizinKGS1kvRYeR/NA4P8ZFU44ioKn7muE23EF1ZpGrVW/Vaarm+jgc46JS3MDNXStbB3yPn2A==) seems to be corrupted. Trying again. npm WARN tarball tarball data for base-types@file:C:\Users\tmqua\Desktop\minecraftLegion\base-types\base-types-1.0.0.tgz (sha512-ui3HF3Om51D0QizinKGS1kvRYeR/NA4P8ZFU44ioKn7muE23EF1ZpGrVW/Vaarm+jgc46JS3MDNXStbB3yPn2A==) seems to be corrupted. Trying again. npm WARN deprecated [email protected]: this library is no longer supported npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142 npm ERR! code ECONNRESET npm ERR! network aborted npm ERR! network This is a problem related to network connectivity. npm ERR! network In most cases you are behind a proxy or have bad network settings. npm ERR! network npm ERR! network If you are behind a proxy, please make sure that the npm ERR! network 'proxy' config is set properly. See: 'npm help config'

npm ERR! A complete log of this run can be found in: C:\Users\tmqua\AppData\Local\npm-cache_logs\2024-02-04T14_27_50_110Z-debug-0.log

at genericNodeError (node:internal/errors:956:15)
at wrappedFn (node:internal/errors:510:14)
at ChildProcess.exithandler (node:child_process:422:12)
at ChildProcess.emit (node:events:519:28)
at maybeClose (node:internal/child_process:1105:16)
at ChildProcess._handle.onexit (node:internal/child_process:305:5) {

code: 1, killed: false, signal: null, cmd: 'npm install --prefix C:\Users\tmqua\Desktop\minecraftLegion\web', stdout: '', stderr: 'npm WARN tarball tarball data for base-types@file:C:\Users\tmqua\Desktop\minecraftLegion\base-types\base-types-1.0.0.tgz (sha512-ui3HF3Om51D0QizinKGS1kvRYeR/NA4P8ZFU44ioKn7muE23EF1ZpGrVW/Vaarm+jgc46JS3MDNXStbB3yPn2A==) seems to be corrupted. Trying again.\n' + 'npm WARN tarball tarball data for base-types@file:C:\Users\tmqua\Desktop\minecraftLegion\base-types\base-types-1.0.0.tgz (sha512-ui3HF3Om51D0QizinKGS1kvRYeR/NA4P8ZFU44ioKn7muE23EF1ZpGrVW/Vaarm+jgc46JS3MDNXStbB3yPn2A==) seems to be corrupted. Trying again.\n' + 'npm WARN deprecated [email protected]: this library is no longer supported\n' + 'npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.\n' + 'npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142\n' + 'npm ERR! code ECONNRESET\n' + 'npm ERR! network aborted\n' + 'npm ERR! network This is a problem related to network connectivity.\n' + 'npm ERR! network In most cases you are behind a proxy or have bad network settings.\n' + 'npm ERR! network \n' + 'npm ERR! network If you are behind a proxy, please make sure that the\n' + "npm ERR! network 'proxy' config is set properly. See: 'npm help config'\n" + '\n' + 'npm ERR! A complete log of this run can be found in: C:\Users\tmqua\AppData\Local\npm-cache\_logs\2024-02-04T14_27_50_110Z-debug-0.log\n' }

Node.js v21.5.0

tmquan2508 avatar Feb 04 '24 14:02 tmquan2508

You can try again with new version? I detected this issue happens in windows, i patch a few weeks ago

sefirosweb avatar May 11 '24 14:05 sefirosweb