luangjokaj / wordpressify

🎈 Automate your WordPress development workflow.
http://www.wordpressify.co
MIT License
1.59k stars 140 forks source link

Instalation problem #80

Closed Filip1139 closed 3 years ago

Filip1139 commented 3 years ago

Hello. I'd try install Wordpressify by npx/clone repo and gets errors like below. Node v12.18.2 Docker is running.

`| 3. Installing WordPress and building Docker images...C:\Users\dell\AppData\Roaming\npm-cache_npx\20404\node_modules\wordpressify\installer\index.js:59 throw err; ^

Error: Command failed with exit code 1: npm run env:build [11:53:59] 'setupEnvironment' errored after 3.98 ms [11:53:59] TypeError: process.getuid is not a function at setupEnvironment (C:\Users\dell\desktop\wordpressify\gulpfile.js:94:55) at bound (domain.js:426:14) at runBound (domain.js:439:12) at asyncRunner (C:\Users\dell\desktop\wordpressify\node_modules\async-done\index.js:55:18) at processTicksAndRejections (internal/process/task_queues.js:79:11) [11:53:59] 'env:build' errored after 8.22 ms npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! wordpressify@0.2.9-22 env:build: gulp env:build npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the wordpressify@0.2.9-22 env:build 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\dell\AppData\Roaming\npm-cache_logs\2020-12-09T10_53_59_761Z-debug.log

wordpressify@0.2.9-22 env:build C:\Users\dell\desktop\wordpressify gulp env:build

[11:53:59] Using gulpfile ~\desktop\wordpressify\gulpfile.js [11:53:59] Starting 'env:build'... [11:53:59] Starting 'setupEnvironment'... at makeError (C:\Users\dell\AppData\Roaming\npm-cache_npx\20404\node_modules\wordpressify\node_modules\execa\lib\error.js:59:11) at handlePromise (C:\Users\dell\AppData\Roaming\npm-cache_npx\20404\node_modules\wordpressify\node_modules\execa\index.js:114:26) at runMicrotasks () at processTicksAndRejections (internal/process/task_queues.js:97:5) at async C:\Users\dell\AppData\Roaming\npm-cache_npx\20404\node_modules\wordpressify\installer\modules\run.js:215:4 { shortMessage: 'Command failed with exit code 1: npm run env:build', command: 'npm run env:build', exitCode: 1, signal: undefined, signalDescription: undefined, stdout: '\n' + '> wordpressify@0.2.9-22 env:build C:\Users\dell\desktop\wordpressify\n' + '> gulp env:build\n' + '\n' + '[\u001b[90m11:53:59\u001b[39m] Using gulpfile ~\desktop\wordpressify\gulpfile.js\n' + "[\u001b[90m11:53:59\u001b[39m] Starting 'env:build'...\n" + "[\u001b[90m11:53:59\u001b[39m] Starting 'setupEnvironment'...", stderr: "[\u001b[90m11:53:59\u001b[39m] 'setupEnvironment' errored after 3.98 ms\n" + '[\u001b[90m11:53:59\u001b[39m] TypeError: process.getuid is not a function\n' + ' at setupEnvironment (C:\Users\dell\desktop\wordpressify\gulpfile.js:94:55)\n' + ' at bound (domain.js:426:14)\n' + ' at runBound (domain.js:439:12)\n' + ' at asyncRunner (C:\Users\dell\desktop\wordpressify\node_modules\async-done\index.js:55:18)\n' + ' at processTicksAndRejections (internal/process/task_queues.js:79:11)\n' + "[\u001b[90m11:53:59\u001b[39m] 'env:build' errored after 8.22 ms\n" + 'npm ERR! code ELIFECYCLE\n' + 'npm ERR! errno 1\n' + 'npm ERR! wordpressify@0.2.9-22 env:build: gulp env:build\n' + 'npm ERR! Exit status 1\n' + 'npm ERR! \n' + 'npm ERR! Failed at the wordpressify@0.2.9-22 env:build script.\n' + 'npm ERR! This is probably not a problem with npm. There is likely additional logging output above.\n' + '\n' + 'npm ERR! A complete log of this run can be found in:\n' + 'npm ERR! C:\Users\dell\AppData\Roaming\npm-cache\_logs\2020-12-09T10_53_59_761Z-debug.log', failed: true, timedOut: false, isCanceled: false, killed: false }`

luangjokaj commented 3 years ago

@Filip1139 works with WSL: #78