I am try to run meteor in windows 10 machine but i am getting this error

#1

C:\Users\System\AppData\Local.meteor\packages\meteor-tool\1.8.0_2\mt-os.windows.x86_64\dev_bundle\lib\node_modules\meteor-promise\promise_server.js:218
throw error;
^

Error: ENOENT: no such file or directory, open ‘C:\Users\HARIHA~1\AppData\Local\Temp\mt-3m8hnu.h8s3f\os\konecty:user-presence-tests.js’
at Object.fs.openSync (fs.js:646:18)
at Object.wrapper [as open] (C:\tools\fs\files.js:1609:35)
at Object.files.readBufferWithLengthAndOffset (C:\tools\fs\files.js:1860:20)
at C:\tools\isobuild\unibuild.js:122:26
at Array.forEach ()
at Function..each..forEach (C:\Users\System\AppData\Local.meteor\packages\meteor-tool\1.8.0_2\mt-os.windows.x86_64\dev_bundle\lib\node_modules\underscore\underscore.js:79:11)
at Function.fromJSON (C:\tools\isobuild\unibuild.js:119:7)
at C:\tools\isobuild\isopack.js:921:33
at Array.forEach ()
at Function..each..forEach (C:\Users\System\AppData\Local.meteor\packages\meteor-tool\1.8.0_2\mt-os.windows.x86_64\dev_bundle\lib\node_modules\underscore\underscore.js:79:11)
at Isopack.loadUnibuildsFromPath (C:\tools\isobuild\isopack.js:908:7)
at .each (C:\tools\packaging\tropohouse.js:521:21)
at Array.forEach ()
at Function.
.each.
.forEach (C:\Users\System\AppData\Local.meteor\packages\meteor-tool\1.8.0_2\mt-os.windows.x86_64\dev_bundle\lib\node_modules\underscore\underscore.js:79:11)
at buildmessage.enterJob (C:\tools\packaging\tropohouse.js:520:13)
at Object.enterJob (C:\tools\utils\buildmessage.js:388:12)
at C:\tools\packaging\tropohouse.js:515:22
at Object.enterJob (C:\tools\utils\buildmessage.js:388:12)
at Object.download (C:\tools\packaging\tropohouse.js:427:20)
at C:\tools\packaging\tropohouse.js:600:22
at Object.enterJob (C:\tools\utils\buildmessage.js:388:12)
at exports.Tropohouse.downloadPackagesMissingFromMap (C:\tools\packaging\tropohouse.js:597:20)
at C:\tools\project-context.js:836:25
at Object.enterJob (C:\tools\utils\buildmessage.js:388:12)
at C:\tools\project-context.js:835:20
at C:\tools\packaging\catalog\catalog.js:100:5
at Object.capture (C:\tools\utils\buildmessage.js:283:5)
at Object.catalog.runAndRetryWithRefreshIfHelpful (C:\tools\packaging\catalog\catalog.js:99:31)
at ProjectContext._downloadMissingPackages (C:\tools\project-context.js:834:13)
at C:\tools\project-context.js:300:9
at Object.enterJob (C:\tools\utils\buildmessage.js:388:12)
at ProjectContext._completeStagesThrough (C:\tools\project-context.js:290:18)
at Profile.run (C:\tools\project-context.js:282:12)
at Function.run (C:\tools\tool-env\profile.js:490:12)
at ProjectContext.prepareProjectForBuild (C:\tools\project-context.js:281:13)
at C:\tools\runners\run-app.js:544:29
at Object.capture (C:\tools\utils\buildmessage.js:283:5)
at bundleApp (C:\tools\runners\run-app.js:543:31)
at AppRunner._runOnce (C:\tools\runners\run-app.js:610:35)
at AppRunner._fiber (C:\tools\runners\run-app.js:908:28)
at C:\tools\runners\run-app.js:398:12
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! Rocket.Chat@1.0.0-develop start: meteor
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the Rocket.Chat@1.0.0-develop start 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\System\AppData\Roaming\npm-cache_logs\2019-02-22T06_11_40_621Z-debug.log

#2

I’m not sure the RocketChat developers actively test that you can use their package on Windows.

That said, did you try meteor npm install in the project directory?

#3

Yeah, there’s a mismatch somewhere.

C:\Users\System\AppData != C:\Users\HARIHA~1\AppData

Also, please do not put stuff at the root level:

C:\tools

#4

Hi Doctorpangloss,
i am new for meteor i am try to start my rocket.chat project i am getting this error

#5

I am to npm start or meteor update i am getting this error

D:\Github\Rocket.Chat>meteor update
This project is already at Meteor 1.8.0.2, the latest release.
C:\Users\HariharaManikS\AppData\Local.meteor\packages\meteor-tool\1.8.0_2\mt-os.windows.x86_64\dev_bundle\lib\node_modules\meteor-promise\promise_server.js:218
throw error;
^

Error: ENOENT: no such file or directory, open ‘C:\Users\HARIHA~1\AppData\Local\Temp\mt-1uxkn7r.yzg4\os\konecty:user-presence-tests.js’
at Object.fs.openSync (fs.js:646:18)
at Object.wrapper [as open] (C:\tools\fs\files.js:1609:35)
at Object.files.readBufferWithLengthAndOffset (C:\tools\fs\files.js:1860:20)
at C:\tools\isobuild\unibuild.js:122:26
at Array.forEach ()
at Function..each..forEach (C:\Users\HariharaManikS\AppData\Local.meteor\packages\meteor-tool\1.8.0_2\mt-os.windows.x86_64\dev_bundle\lib\node_modules\underscore\underscore.js:79:11)
at Function.fromJSON (C:\tools\isobuild\unibuild.js:119:7)
at C:\tools\isobuild\isopack.js:921:33
at Array.forEach ()
at Function..each..forEach (C:\Users\HariharaManikS\AppData\Local.meteor\packages\meteor-tool\1.8.0_2\mt-os.windows.x86_64\dev_bundle\lib\node_modules\underscore\underscore.js:79:11)
at Isopack.loadUnibuildsFromPath (C:\tools\isobuild\isopack.js:908:7)
at .each (C:\tools\packaging\tropohouse.js:521:21)
at Array.forEach ()
at Function.
.each.
.forEach (C:\Users\HariharaManikS\AppData\Local.meteor\packages\meteor-tool\1.8.0_2\mt-os.windows.x86_64\dev_bundle\lib\node_modules\underscore\underscore.js:79:11)
at buildmessage.enterJob (C:\tools\packaging\tropohouse.js:520:13)
at Object.enterJob (C:\tools\utils\buildmessage.js:388:12)
at C:\tools\packaging\tropohouse.js:515:22
at Object.enterJob (C:\tools\utils\buildmessage.js:388:12)
at Object.download (C:\tools\packaging\tropohouse.js:427:20)
at C:\tools\packaging\tropohouse.js:600:22
at Object.enterJob (C:\tools\utils\buildmessage.js:388:12)
at exports.Tropohouse.downloadPackagesMissingFromMap (C:\tools\packaging\tropohouse.js:597:20)
at C:\tools\project-context.js:836:25
at Object.enterJob (C:\tools\utils\buildmessage.js:388:12)
at C:\tools\project-context.js:835:20
at C:\tools\packaging\catalog\catalog.js:100:5
at Object.capture (C:\tools\utils\buildmessage.js:283:5)
at Object.catalog.runAndRetryWithRefreshIfHelpful (C:\tools\packaging\catalog\catalog.js:99:31)
at ProjectContext._downloadMissingPackages (C:\tools\project-context.js:834:13)
at C:\tools\project-context.js:300:9
at Object.enterJob (C:\tools\utils\buildmessage.js:388:12)
at ProjectContext._completeStagesThrough (C:\tools\project-context.js:290:18)
at Profile.run (C:\tools\project-context.js:282:12)
at Function.run (C:\tools\tool-env\profile.js:490:12)
at ProjectContext.prepareProjectForBuild (C:\tools\project-context.js:281:13)
at C:\tools\cli\commands-packages.js:1818:22
at Object.capture (C:\tools\utils\buildmessage.js:283:5)
at Object.main.captureAndExit (C:\tools\cli\main.js:273:29)
at Command.func (C:\tools\cli\commands-packages.js:1797:8)
at C:\tools\cli\main.js:1531:15

#6

It’s a little unusual “konecty:user-presence-tests” keeps coming up as the file the system can’t find. You can’t use a colon in Windows for paths. Looks like it’s a problem with your meteor-user-presence package.

If this is a requirement of RocketChat, all you have to do is use a locally modified package instead (by copying it into your packages directory) and removing or editing this line:

Then removing or renaming the file konecty:user-presence-tests.js.

#7

yes I am tried Meteor npm install same problem