我正在運行下面的命令來創建cubejs中的服務,但面臨禁止的錯誤。
命令:cubejs create d3-dashboard -d postgres
npm WARN deprecated @hapi/[email protected]: 切換到'npm install joi' npm ERR!代碼1 npm ERR!路徑 C:workd3-dashboard ode_modules@cubejs-backendcubestore npm ERR! command failed npm ERR! command C:WINDOWSsystem32cmd.exe /d /s /c node bin/post-install npm ERR! Cube.js Cube Store Installer --------------------------------------- npm ERR! npm ERR! Error: unexpected response Forbidden npm ERR! at Object.downloadAndExtractFile (C:workd3-dashboard [email protected]:80:11) npm ERR! at processTicksAndRejections (internal/process/task_queues.js:95:5) npm ERR! C:workd3-dashboard [email protected]:12:7 npm ERR! npm ERR! 需要幫助嗎? ------------------------------------- npm ERR! npm ERR! 在Cube.js Slack中提出這個問題。https://slack.cube.dev npm ERR! 發布一個 問題。https://github.com/cube-js/cube.js/issues
npm ERR! 這個運行的完整日志可以在:npm ERR! C:Users amecAppDataLocal pm-cache_logs2021-09-21T06_01_08_513Z-debug.log
Cube.js錯誤---------------------------------------
錯誤:npm install --save-dev @cubejs-backend/server failed with exit Code 1 at ChildProcess. (C:Program 檔案 odejs ode_modulescubejs-clisrcutils.ts:14:16)在 ChildProcess.emit (events.js:400:28) at ChildProcess.cp.emit (C:Program 檔案 odejs ode_modulescubejs-cli ode_modulescross-spawnlibenoent.js:34:29) at maybeClose (internal/child_process.js:1055:16) at Process.ChildProcess._handle.onexit(internal/child_process.js:288:5)
uj5u.com熱心網友回復:
在你的環境變數中添加CUBESTORE_SKIP_POST_INSTALL=true作為一個快速的解決方法。如果你暫時不想使用cubestore,這個方法是有效的,否則等待問題被修復。
uj5u.com熱心網友回復:
推薦的方法是使用基于Docker的設定。 你的問題可能與GitHub的限制有關。我們使用發行版來存盤Cube Store的二進制檔案,當npm/yarn運行安裝后腳本時,我們向Github的API發送請求以獲取發行版的資產。它現在可以作業了。
轉載請註明出處,本文鏈接:https://www.uj5u.com/caozuo/333044.html
標籤:
上一篇:無法安裝SQlite--node-pre-gyp的錯誤(ubuntu20.04lts)
下一篇:MSVC忽略了拋出陳述句
