Windows error while creating a application: TypeError: Cannot read property 'length' of undefined


#1

C:\Users\tarun.kothari>meteor create helloworldApp
C:\Users\tarun.kothari\AppData\Local.meteor\packages\meteor-tool\1.5.2_2\mt-os.
windows.x86_32\dev_bundle\lib\node_modules\meteor-promise\promise_server.js:218
throw error;
^

TypeError: Cannot read property ‘length’ of undefined
at new PV (C:\Users\tarun.kothari\AppData\Local.meteor\packages\meteor-tool
\1.5.2_2\mt-os.windows.x86_32\packages\package-version-parser\package-version-pa
rser.js:101:22)
at Function.PV.parse (C:\Users\tarun.kothari\AppData\Local.meteor\packages
meteor-tool\1.5.2_2\mt-os.windows.x86_32\packages\package-version-parser\package
-version-parser.js:111:10)
at Function.PV.getValidServerVersion (C:\Users\tarun.kothari\AppData\Local.
meteor\packages\meteor-tool\1.5.2_2\mt-os.windows.x86_32\packages\package-versio
n-parser\package-version-parser.js:291:13)
at parseSimpleConstraint (C:\Users\tarun.kothari\AppData\Local.meteor\packa
ges\meteor-tool\1.5.2_2\mt-os.windows.x86_32\packages\package-version-parser\pac
kage-version-parser.js:278:8)
at C:\Users\tarun.kothari\AppData\Local.meteor\packages\meteor-tool\1.5.2_2
\mt-os.windows.x86_32\packages\package-version-parser\package-version-parser.js:
311:14
at Array.map (native)
at new PV.VersionConstraint (C:\Users\tarun.kothari\AppData\Local.meteor\pa
ckages\meteor-tool\1.5.2_2\mt-os.windows.x86_32\packages\package-version-parser
package-version-parser.js:306:26)
at Function.PV.parseVersionConstraint (C:\Users\tarun.kothari\AppData\Local
.meteor\packages\meteor-tool\1.5.2_2\mt-os.windows.x86_32\packages\package-versi
on-parser\package-version-parser.js:320:10)
at new PV.PackageConstraint (C:\Users\tarun.kothari\AppData\Local.meteor\pa
ckages\meteor-tool\1.5.2_2\mt-os.windows.x86_32\packages\package-version-parser
package-version-parser.js:364:28)
at Function.PV.parsePackageConstraint (C:\Users\tarun.kothari\AppData\Local
.meteor\packages\meteor-tool\1.5.2_2\mt-os.windows.x86_32\packages\package-versi
on-parser\package-version-parser.js:390:10)
at Object.exports.parsePackageConstraint (C:\tools\utils\utils.js:234:33)
at C:\tools\project-context.js:955:37
at Array.forEach (native)
at Function..each..forEach (C:\Users\tarun.kothari\AppData\Local.meteor\p
ackages\meteor-tool\1.5.2_2\mt-os.windows.x86_32\dev_bundle\lib\node_modules\und
erscore\underscore.js:79:11)
at [object Object]..extend.readFile (C:\tools\project-context.js:932:7)
at new exports.ProjectConstraintsFile (C:\tools\project-context.js:898:8)
at C:\tools\project-context.js:326:37
at C:\tools\utils\buildmessage.js:359:18
at [object Object].
.extend.withValue (C:\tools\utils\fiber-helpers.js:89:14
)
at C:\tools\utils\buildmessage.js:352:34
at [object Object].
.extend.withValue (C:\tools\utils\fiber-helpers.js:89:14
)
at C:\tools\utils\buildmessage.js:350:23
at [object Object]..extend.withValue (C:\tools\utils\fiber-helpers.js:89:14
)
at Object.enterJob (C:\tools\utils\buildmessage.js:324:26)
at ProjectContext.readProjectMetadata (C:\tools\project-context.js:311:18)
at C:\tools\project-context.js:285:9
at C:\tools\utils\buildmessage.js:359:18
at [object Object].
.extend.withValue (C:\tools\utils\fiber-helpers.js:89:14
)
at C:\tools\utils\buildmessage.js:352:34
at [object Object].
.extend.withValue (C:\tools\utils\fiber-helpers.js:89:14
)
at C:\tools\utils\buildmessage.js:350:23
at [object Object]..extend.withValue (C:\tools\utils\fiber-helpers.js:89:14
)
at Object.enterJob (C:\tools\utils\buildmessage.js:324:26)
at ProjectContext.
.extend.completeStagesThrough (C:\tools\project-context.
js:275:18)
at ProjectContext.
.extend.readProjectMetadata (C:\tools\project-context.js:
236:10)
at C:\tools\cli\commands.js:723:20
at C:\tools\utils\buildmessage.js:271:13
at [object Object]..extend.withValue (C:\tools\utils\fiber-helpers.js:89:14
)
at C:\tools\utils\buildmessage.js:264:29
at [object Object].
.extend.withValue (C:\tools\utils\fiber-helpers.js:89:14
)
at C:\tools\utils\buildmessage.js:262:18
at [object Object]..extend.withValue (C:\tools\utils\fiber-helpers.js:89:14
)
at C:\tools\utils\buildmessage.js:253:23
at [object Object].
.extend.withValue (C:\tools\utils\fiber-helpers.js:89:14
)
at Object.capture (C:\tools\utils\buildmessage.js:252:19)
at Object.main.captureAndExit (C:\tools\cli\main.js:273:29)
at Command.func (C:\tools\cli\commands.js:722:8)
at C:\tools\cli\main.js:1483:23

C:\Users\tarun.kothari>


#2

I’ve been stuck up with this error for few weeks. Like really stuck up.

I uninstalled Meteor, deleted .meteor folder from AppData\Local and reinstalled it but same error repeats.
Can someone please help me?

I’m using Windows 7.


#3

I have the same problem, I even upgrade Windows7 to 10 to solve this Error, but didn’t work.


#4

I gave up and started developing in a different windows system. Working well so far in new system