I try to start the Rocket Server for development:
meteor npm start
And I keep getting these messages, and then back to the Prompt. Nothing happen.
Anyone can help???
=> Started proxy.
=> Meteor 2.4 is available. Update this project with ‘meteor update’.
=> Started MongoDB.
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Why you should do it regularly:
https:/github.com/browserslist/browserslist#browsers-data-updating
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Why you should do it regularly:
https:/github.com/browserslist/browserslist#browsers-data-updating
Thank you for your advice. Yes, actually I follow exactly from the Link you shared. But the server failed to be started. And I see the following messages:
=> Started proxy.
=> Meteor 2.4 is available. Update this project with ‘meteor update’.
=> Started MongoDB.
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Why you should do it regularly:
https:/github.com/browserslist/browserslist#browsers-data-updating
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Why you should do it regularly:
https:/github.com/browserslist/browserslist#browsers-data-updating
[team@exabytes-92643813 Rocket.Chat]$
I am using a CentOS 7 Server with 8GB RAM. If this is the root cause, then any advice, what and how can I deploy the Development Server so that I can move on with my development work? Will Gitpod be the last resort?
I am using a MacBook, the problem is, MacOS development host is still under development.
Actually, I want to build a Mobile App (Rocket Chat). Any better option?
I retry, ‘meteor npm install’, it is fine. Then when I run ‘meteor npm start’, this time I see different errors:
Error: spawn ENOMEM
at ChildProcess.spawn (internal/child_process.js:408:11)
at spawn (child_process.js:553:9)
at execFile (child_process.js:237:17)
at /home/team/.meteor/packages/meteor-tool/.2.2.0.vi3wzl.eird++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/tools/fs/tools/fs/files.ts:141:7
at new Promise ()
at Object.findGitCommitHash (/home/team/.meteor/packages/meteor-tool/.2.2.0.vi3wzl.eird++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/tools/fs/tools/fs/files.ts:138:10)
at /tools/isobuild/bundler.js:2981:66
at /tools/isobuild/bundler.js:3401:22
at Object.capture (/tools/utils/buildmessage.js:283:5)
at bundle (/tools/isobuild/bundler.js:3214:31)
at /tools/isobuild/bundler.js:3157:32
at Slot.withValue (/home/team/.meteor/packages/meteor-tool/.2.2.0.vi3wzl.eird++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/@wry/context/lib/context.js:73:29)
at Object.withCache (/home/team/.meteor/packages/meteor-tool/.2.2.0.vi3wzl.eird++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/tools/fs/tools/fs/files.ts:1663:39)
at Object.bundle (/tools/isobuild/bundler.js:3157:16)
at /tools/runners/run-app.js:581:24
at Function.run (/home/team/.meteor/packages/meteor-tool/.2.2.0.vi3wzl.eird++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/tools/tool-env/tools/tool-env/profile.ts:289:14)
at bundleApp (/tools/runners/run-app.js:580:34)
at AppRunner._runOnce (/tools/runners/run-app.js:627:35)
at AppRunner._fiber (/tools/runners/run-app.js:948:28)
at /tools/runners/run-app.js:410:12 {
errno: ‘ENOMEM’,
code: ‘ENOMEM’,
syscall: ‘spawn’
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! Rocket.Chat@4.1.0-develop start: meteor
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the Rocket.Chat@4.1.0-develop start script.
The process on mac would be similar to linux. Unless you’re using an m1 mac. Because meteor doesn’t support arm architecture yet. But maybe you can use rosetta in that case? I’m not aware of how that’d work.
In the meantime if it is an intel mac - here are the seteps to follow,
Install meteor 2.2 (don’t use npm i meteor -g the newest official method because that’ll not install version 2.2, and 2.2 install with npm doesn’t work, in my experience. So use the old bash script method)
Close the rocketchat repository
Run meteor npm i
Run meteor npm start
The only place you might come into one or two issues would be on the package installation step, basically dependency issues. Since I don’t have a mac or never attempted to start a development server on such, I can’t say what those errors would be. But they should be easy enough to resolve.
If you face any issues in the meantime, about the dependencies for example, feel free to come back here