簡體   English   中英

Cube.js 問題錯誤:npm install --save-dev @cubejs-backend/cubestore-driver 失敗,退出代碼為 1

[英]Cube.js issue Error: npm install --save-dev @cubejs-backend/cubestore-driver failed with exit code 1

我的第一個 Cube.js 項目有問題。 用經典cmd創建后

  • cubejs create hello-world -d postgres 我有這個錯誤信息:

@cubejs-backend/cubestore@0.26.43 postinstall C:\Users\utente\hello-world\node_modules@cubejs-backend\cubestore if [[ -z "${CUBESTORE_SKIP_POST_INSTALL}" ]]; 然后是 node./dist/post-install.js; 否則回顯“跳過立方體商店安裝后”;

-z 非證明。 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any "} (當前: {"os":"win32","arch":"x64"})

npm 錯誤。 代碼 ELIFECYCLE npm 錯誤。 errno 1 npm ERR: @cubejs-backend/cubestore@0.26.43 安裝后: if [[ -z "${CUBESTORE_SKIP_POST_INSTALL}" ]]; then node./dist/post-install.js; else echo "Skipping Cube Store Post Installing"; fi if [[ -z "${CUBESTORE_SKIP_POST_INSTALL}" ]]; then node./dist/post-install.js; else echo "Skipping Cube Store Post Installing"; fi if [[ -z "${CUBESTORE_SKIP_POST_INSTALL}" ]]; then node./dist/post-install.js; else echo "Skipping Cube Store Post Installing"; fi npm 錯誤。 退出狀態 1 npm ERR。 npm 錯誤。 @cubejs-backend/cubestore@0.26.43 安裝后腳本失敗。 npm 錯誤! 這可能不是 npm 的問題。 上面可能還有額外的日志記錄 output。

npm ERR:此運行的完整日志可在以下位置找到:npm ERR!
C:\Users\utente\AppData\Roaming\npm-cache_logs\2021-03-04T09_11_07_064Z-debug.log

Cube.js 錯誤 ----------------------------------------

錯誤:npm install --save-dev @cubejs-backend/cubestore-driver 在 ChildProcess 處失敗,退出代碼為 1。 (C:\Users\utente\AppData\Roaming\npm\node_modules\cubejs-cli\src\utils.ts:14:16) 在 ChildProcess.emit (events.js:315:20) 在 ChildProcess.cp.emit ( C:\Users\utente\AppData\Roaming\npm\node_modules\cubejs-cli\node_modules\cross-spawn\lib\enoent.js:34:29)在進程可能關閉(內部/child_process.js:1048:16) .ChildProcess._handle.onexit (internal/child_process.js:288:5)

有人可以幫助我嗎?

這是一個錯誤(重寫后安裝處理程序后導致的回歸),已在 v0.26.48 中修復。

謝謝

暫無
暫無

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

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