簡體   English   中英

Lindo(Dofus-touch emulator) “npm-install error” node-sass@4.9.3 postinstall: `node scripts/build.js`

[英]Lindo(Dofus-touch emulator) “npm-install error” node-sass@4.9.3 postinstall: `node scripts/build.js`

每當我嘗試進行 npm 安裝時,我都在嘗試構建 Lindo dofus touch Lindo ,但它會給我一個錯誤。 我嘗試升級降級我的 node-sass -v,並嘗試安裝 node js 12x。 節點沒有工作。 任何人都可以嘗試

$ git clone https://github.com/prixe/lindo.git
$ cd lindo
$ npm install

我也嘗試在沒有“package-lock.json”的情況下刪除和安裝

My versions:
Node v13.0.1
Npm v6.12.1
node-sass       4.13.0  (Wrapper)       [JavaScript]
libsass         3.5.4   (Sass Compiler) [C/C++]

這是我的錯誤日志:

50999 verbose stack Error: node-sass@4.9.3 postinstall: `node scripts/build.js`
50999 verbose stack Exit status 1
50999 verbose stack     at EventEmitter.<anonymous> (C:\Users\barisgun\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\index.js:332:16)
50999 verbose stack     at EventEmitter.emit (events.js:210:5)
50999 verbose stack     at ChildProcess.<anonymous> (C:\Users\barisgun\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
50999 verbose stack     at ChildProcess.emit (events.js:210:5)
50999 verbose stack     at maybeClose (internal/child_process.js:1028:16)
50999 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
51000 verbose pkgid node-sass@4.9.3
51001 verbose cwd C:\Users\barisgun\lindo
51002 verbose Windows_NT 10.0.18362
51003 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\barisgun\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "install"
51004 verbose node v13.0.1
51005 verbose npm  v6.12.1
51006 error code ELIFECYCLE
51007 error errno 1
51008 error node-sass@4.9.3 postinstall: `node scripts/build.js`
51008 error Exit status 1
51009 error Failed at the node-sass@4.9.3 postinstall script.
51009 error This is probably not a problem with npm. There is likely additional logging output above.
51010 verbose exit [ 1, true ]

您的依賴項鏈中的某些內容正在嘗試安裝 node-sass 4.9.3,而 Node 13 不支持此功能。您需要找到該依賴項並查看是否有使用 node-sass 4.13 的版本。如果要運行節點 13,則為 0。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM