I have a problem with my first Cube.js project. After the creation with the classic cmd
- cubejs create hello-world -d postgres I hav this error message:
@cubejs-backend/[email protected] postinstall C:\Users\utente\hello-world\node_modules@cubejs-backend\cubestore if [[ -z "${CUBESTORE_SKIP_POST_INSTALL}" ]]; then node ./dist/post-install.js; else echo "Skipping Cube Store Post Installing"; fi
-z non atteso. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! @cubejs-backend/[email protected] postinstall:
if [[ -z "${CUBESTORE_SKIP_POST_INSTALL}" ]]; then node ./dist/post-install.js; else echo "Skipping Cube Store Post Installing"; fi
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the @cubejs-backend/[email protected] postinstall script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.npm ERR! A complete log of this run can be found in: npm ERR!
C:\Users\utente\AppData\Roaming\npm-cache_logs\2021-03-04T09_11_07_064Z-debug.logCube.js Error ---------------------------------------
Error: npm install --save-dev @cubejs-backend/cubestore-driver failed with exit code 1 at ChildProcess. (C:\Users\utente\AppData\Roaming\npm\node_modules\cubejs-cli\src\utils.ts:14:16) at ChildProcess.emit (events.js:315:20) at ChildProcess.cp.emit (C:\Users\utente\AppData\Roaming\npm\node_modules\cubejs-cli\node_modules\cross-spawn\lib\enoent.js:34:29) at maybeClose (internal/child_process.js:1048:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
Someone can help me?