Environment Setup Fails, Meteor Promise Server error

Description

While setting up environment for Rocket Chat on Windows 10 and also on Gitpod, I am getting this error:

I am following the documentation precisely still getting same error.

Server Setup Information

  • Version of Rocket.Chat Server: 4.6.0
  • Operating System: Windows 10
  • Deployment Method: Gitpod/Windows 10
  • Number of Running Instances: 1

Any additional Information

This is the error log:

Summary

0 info it worked if it ends with ok

1 verbose cli [

1 verbose cli ‘/home/gitpod/.meteor/packages/meteor-tool/.2.5.6.1iuijf.058qv++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node’,

1 verbose cli ‘/home/gitpod/.meteor/packages/meteor-tool/.2.5.6.1iuijf.058qv++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/npm’,

1 verbose cli ‘start’

1 verbose cli ]

2 info using npm@6.14.15

3 info using node@v14.18.3

4 verbose run-script [ ‘prestart’, ‘start’, ‘poststart’ ]

5 info lifecycle Rocket.Chat@4.6.0-develop~prestart: Rocket.Chat@4.6.0-develop

6 info lifecycle Rocket.Chat@4.6.0-develop~start: Rocket.Chat@4.6.0-develop

7 verbose lifecycle Rocket.Chat@4.6.0-develop~start: unsafe-perm in lifecycle true

8 verbose lifecycle Rocket.Chat@4.6.0-develop~start: PATH: /home/gitpod/.meteor/packages/meteor-tool/.2.5.6.1iuijf.058qv++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/workspace/Rocket.Chat/node_modules/.bin:/home/gitpod/.meteor/packages/meteor-tool/.2.5.6.1iuijf.058qv++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/bin:/home/gitpod/.meteor/packages/meteor-tool/.2.5.6.1iuijf.058qv++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64:/home/gitpod/.meteor/packages/meteor-tool/.2.5.6.1iuijf.058qv++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/.bin:/home/gitpod/.sdkman/candidates/maven/current/bin:/home/gitpod/.sdkman/candidates/java/current/bin:/home/gitpod/.sdkman/candidates/gradle/current/bin:/home/gitpod/.rvm/gems/ruby-2.7.5/bin:/home/gitpod/.rvm/gems/ruby-2.7.5@global/bin:/home/gitpod/.rvm/rubies/ruby-2.7.5/bin:/home/gitpod/.pyenv/plugins/pyenv-virtualenv/shims:/home/gitpod/.nix-profile/bin:/ide/bin/remote-cli:/workspace/go/bin:/home/gitpod/go/bin:/home/gitpod/go-packages/bin:/home/gitpod/.nvm/versions/node/v16.13.2/bin:/workspace/.pip-modules/bin:/home/gitpod/.pyenv/bin:/home/gitpod/.pyenv/shims:/workspace/.rvm/bin:/workspace/.cargo/bin:/home/gitpod/.cargo/bin:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/gitpod/.nvm/versions/node/v16.13.2/bin:/home/gitpod/.rvm/bin:/home/gitpod/.meteor:/home/gitpod/.meteor

9 verbose lifecycle Rocket.Chat@4.6.0-develop~start: CWD: /workspace/Rocket.Chat

10 silly lifecycle Rocket.Chat@4.6.0-develop~start: Args: [ ‘-c’, ‘meteor’ ]

11 silly lifecycle Rocket.Chat@4.6.0-develop~start: Returned: code: 1 signal: null

12 info lifecycle Rocket.Chat@4.6.0-develop~start: Failed to exec start script

13 verbose stack Error: Rocket.Chat@4.6.0-develop start: meteor

13 verbose stack Exit status 1

13 verbose stack at EventEmitter. (/home/gitpod/.meteor/packages/meteor-tool/.2.5.6.1iuijf.058qv++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)

13 verbose stack at EventEmitter.emit (events.js:400:28)

13 verbose stack at ChildProcess. (/home/gitpod/.meteor/packages/meteor-tool/.2.5.6.1iuijf.058qv++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)

13 verbose stack at ChildProcess.emit (events.js:400:28)

13 verbose stack at maybeClose (internal/child_process.js:1058:16)

13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:293:5)

14 verbose pkgid Rocket.Chat@4.6.0-develop

15 verbose cwd /workspace/Rocket.Chat

16 verbose Linux 5.13.0-1015-gcp

17 verbose argv “/home/gitpod/.meteor/packages/meteor-tool/.2.5.6.1iuijf.058qv++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node” “/home/gitpod/.meteor/packages/meteor-tool/.2.5.6.1iuijf.058qv++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/npm” “start”

18 verbose node v14.18.3

19 verbose npm v6.14.15

20 error code ELIFECYCLE

21 error errno 1

22 error Rocket.Chat@4.6.0-develop start: meteor

22 error Exit status 1

23 error Failed at the Rocket.Chat@4.6.0-develop start script.

23 error This is probably not a problem with npm. There is likely additional logging output above.

24 verbose exit [ 1, true ]

Hi!

I think the best place to get support for development on windows or gitpod is:

and

Both are part of the Google Summer of Code channels we have, and you can find other developers using the same environment.

THanks!