marklogic-community / grove

Grove, a toolkit full of tooling, templates, and other resources that help with building UI applications on top of MarkLogic.
https://marklogic-community.github.io/grove/
Other
5 stars 2 forks source link

error: util.promisify is not a function #43

Open ghost opened 3 years ago

ghost commented 3 years ago

Getting the following on a fresh new install --

Any command actually in the quick startup more or less fails with the same ... see example.

[root@server marklogic-grove-projects]# grove demo hal9000-demo ? Please confirm the name of your new project hal9000-demo ? Do you want to create your Grove project with the React or the Vue UI? React

Generating a Grove Project named "hal9000-demo" using the Grove React UI, the Grove Node middle-tier, and ml-gradle... Initialized a new git repository

2021-06-22T17:17:03.082Z error: util.promisify is not a function TypeError: util.promisify is not a function at read (/usr/lib/node_modules/@marklogic-community/grove-cli/src/managers/config/grove-node.js:52:6) at Object.merge (/usr/lib/node_modules/@marklogic-community/grove-cli/src/managers/config/grove-node.js:63:10) at identifyTemplate.then.template (/usr/lib/node_modules/@marklogic-community/grove-cli/src/createNew.js:195:52) at process._tickCallback (internal/process/next_tick.js:109:7)

Also

[root@server hal9000]# pwd /opt/home/lex-oti/marklogic-grove-projects/hal9000 [root@server hal9000]# node -v v6.17.1 [root@server hal9000]# npm -v 3.10.10 [root@server hal9000]# npm start

@marklogic-community/grove-react-template@2.1.0 start /opt/home/lex-oti/marklogic-grove-projects/hal9000 concurrently --kill-others "npm run middleTier" "npm run ui"

sh: concurrently: command not found

npm ERR! Linux 3.10.0-1160.6.1.el7.x86_64 npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "start" npm ERR! node v6.17.1 npm ERR! npm v3.10.10 npm ERR! file sh npm ERR! code ELIFECYCLE npm ERR! errno ENOENT npm ERR! syscall spawn npm ERR! @marklogic-community/grove-react-template@2.1.0 start: concurrently --kill-others "npm run middleTier" "npm run ui" npm ERR! spawn ENOENT npm ERR! npm ERR! Failed at the @marklogic-community/grove-react-template@2.1.0 start script 'concurrently --kill-others "npm run middleTier" "npm run ui" '. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the @marklogic-community/grove-react-template package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! concurrently --kill-others "npm run middleTier" "npm run ui" npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs @marklogic-community/grove-react-template npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls @marklogic-community/grove-react-template npm ERR! There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! Please include the following file with any support request: npm ERR! /opt/home/lex-oti/marklogic-grove-projects/hal9000/npm-debug.log