practicalmeteor / meteor-mocha

Depreciated - Write meteor package tests with mocha and run them in the browser or from the command line with spacejam.
https://atmospherejs.com/practicalmeteor/mocha
Other
41 stars 13 forks source link

Windows/Crash #67

Closed sonicviz closed 8 years ago

sonicviz commented 8 years ago

I was running through the official meteor react tutorial as I could not get their githup repo to run.

It fails on the Testing step https://www.meteor.com/tutorials/react/testing when trying to add mocha

The issue appears to be when it downloads and extracts Extracting coffeescript@1.0.17...

Something to do with Meteor 1.4.1_1 and coffeescript@1.0.17

G:\Meteor Projects\Project X\simple-todos\server>meteor add practicalmeteor:mocha C:\Users\Paul\AppData\Local.meteor\packages\meteor-tool\1.4.1_1\mt-os.windows.x86_32\isopackets\ddp\npm\node_modules\meteor\promise\node_modules\meteor-promise\promise_server.js:165 throw error; ^

Error: No metadata files found for isopack at: /C/Users/Paul/AppData/Local/.meteor/packages/coffeescript/1.0.17 at Isopack.loadUnibuildsFromPath (C:\tools\isobuild\isopack.js:900:13) at C:\tools\packaging\tropohouse.js:521:21 at Array.forEach (native) at Function..each._.forEach (C:\Users\Paul\AppData\Local.meteor\packages\meteor-tool\1.4.1_1\mt-os.windows.x86_32\dev_bundle\lib\node_modules\underscore\underscore.js:79:11) at C:\tools\packaging\tropohouse.js:520:13 at C:\tools\utils\buildmessage.js:359:18 at [object Object].withValue (C:\tools\utils\fiber-helpers.js:89:14) at C:\tools\utils\buildmessage.js:352:34 at [object Object].withValue (C:\tools\utils\fiber-helpers.js:89:14) at C:\tools\utils\buildmessage.js:350:23 at [object Object].withValue (C:\tools\utils\fiber-helpers.js:89:14) at Object.enterJob (C:\tools\utils\buildmessage.js:324:26) at C:\tools\packaging\tropohouse.js:515:22 at C:\tools\utils\buildmessage.js:359:18 at [object Object].withValue (C:\tools\utils\fiber-helpers.js:89:14) at C:\tools\utils\buildmessage.js:352:34 at [object Object].withValue (C:\tools\utils\fiber-helpers.js:89:14) at C:\tools\utils\buildmessage.js:350:23 at [object Object].withValue (C:\tools\utils\fiber-helpers.js:89:14) at Object.enterJob (C:\tools\utils\buildmessage.js:324:26) at Object.download (C:\tools\packaging\tropohouse.js:427:20) at C:\tools\packaging\tropohouse.js:600:22 at C:\tools\utils\buildmessage.js:359:18 at [object Object].withValue (C:\tools\utils\fiber-helpers.js:89:14) at C:\tools\utils\buildmessage.js:352:34 at [object Object].withValue (C:\tools\utils\fiber-helpers.js:89:14) at C:\tools\utils\buildmessage.js:350:23 at [object Object].withValue (C:\tools\utils\fiber-helpers.js:89:14) at Object.enterJob (C:\tools\utils\buildmessage.js:324:26) at [object Object].downloadPackagesMissingFromMap (C:\tools\packaging\tropohouse.js:597:20) at C:\tools\project-context.js:748:25 at C:\tools\utils\buildmessage.js:359:18 at [object Object].withValue (C:\tools\utils\fiber-helpers.js:89:14) at C:\tools\utils\buildmessage.js:352:34 at [object Object].withValue (C:\tools\utils\fiber-helpers.js:89:14) at C:\tools\utils\buildmessage.js:350:23 at [object Object].withValue (C:\tools\utils\fiber-helpers.js:89:14) at Object.enterJob (C:\tools\utils\buildmessage.js:324:26) at C:\tools\project-context.js:747:20 at C:\tools\packaging\catalog\catalog.js:100:5 at C:\tools\utils\buildmessage.js:271:13 at [object Object].withValue (C:\tools\utils\fiber-helpers.js:89:14) at C:\tools\utils\buildmessage.js:264:29 at [object Object].withValue (C:\tools\utils\fiber-helpers.js:89:14) at C:\tools\utils\buildmessage.js:262:18 at [object Object].withValue (C:\tools\utils\fiber-helpers.js:89:14) at C:\tools\utils\buildmessage.js:253:23 at [object Object].withValue (C:\tools\utils\fiber-helpers.js:89:14) at Object.capture (C:\tools\utils\buildmessage.js:252:19) at Object.catalog.runAndRetryWithRefreshIfHelpful (C:\tools\packaging\catalog\catalog.js:99:31) at ProjectContext._downloadMissingPackages (C:\tools\project-context.js:746:13) at C:\tools\project-context.js:268:9 at C:\tools\utils\buildmessage.js:359:18 at [object Object].withValue (C:\tools\utils\fiber-helpers.js:89:14) at C:\tools\utils\buildmessage.js:352:34 at [object Object].withValue (C:\tools\utils\fiber-helpers.js:89:14) at C:\tools\utils\buildmessage.js:350:23 at [object Object].withValue (C:\tools\utils\fiber-helpers.js:89:14) at Object.enterJob (C:\tools\utils\buildmessage.js:324:26) at ProjectContext._completeStagesThrough (C:\tools\project-context.js:258:18) at C:\tools\project-context.js:250:12 at Function.run (C:\tools\tool-env\profile.js:489:12) at ProjectContext.prepareProjectForBuild (C:\tools\project-context.js:249:13) at C:\tools\cli\commands-packages.js:2034:20 at C:\tools\utils\buildmessage.js:271:13 at [object Object].withValue (C:\tools\utils\fiber-helpers.js:89:14) at C:\tools\utils\buildmessage.js:264:29 at [object Object].withValue (C:\tools\utils\fiber-helpers.js:89:14) at C:\tools\utils\buildmessage.js:262:18 at [object Object].withValue (C:\tools\utils\fiber-helpers.js:89:14) at C:\tools\utils\buildmessage.js:253:23 at [object Object].withValue (C:\tools\utils\fiber-helpers.js:89:14) at Object.capture (C:\tools\utils\buildmessage.js:252:19) at Command.func (C:\tools\cli\commands-packages.js:2033:27) at C:\tools\cli\main.js:1410:23

sonicviz commented 8 years ago

Yes, issues appears to be with coffeescript.

If I do Meteor add coffeescript then Meteor add practicalmeteor:mocha

it's fine

jsep commented 8 years ago

Hello @sonicviz , I'm glad that the issue was solved.

papinaser commented 7 years ago

Thanks @sonicviz it worked for me.