I am seeing this in Meteor 1.8.0, don't know if it's in earlier versions or not. I just made some code changes, and when I meteor run, the server immediately crashes with this head-scratcher:
C:\Users\holmesa\AppData\Local\.meteor\packages\meteor-tool\1.8.0\mt-os.windows.x86_64\dev_bundle\lib\node_modules\meteor-promise\promise_server.js:218
throw error;
^
undefined
=> awaited here:
at Promise.await (C:\Users\holmesa\AppData\Local\.meteor\packages\meteor-tool\1.8.0\mt-os.windows.x86_64\dev_bundle\lib\node_modules\meteor-promise\promise_server.js:60:12)
at JsOutputResource.finalize (C:\tools\isobuild\compiler-plugin.js:891:7)
at JsOutputResource.hasPendingErrors (C:\tools\isobuild\compiler-plugin.js:918:10)
at JsOutputResource.reportPendingErrors (C:\tools\isobuild\compiler-plugin.js:923:14)
at ImportScanner._scanFile (C:\tools\isobuild\import-scanner.js:849:14)
at each (C:\tools\isobuild\import-scanner.js:907:14)
at _.each._.forEach (C:\Users\holmesa\AppData\Local\.meteor\packages\meteor-tool\1.8.0\mt-os.windows.x86_64\dev_bundle\lib\node_modules\underscore\underscore.js:87:22)
at ImportScanner._scanFile (C:\tools\isobuild\import-scanner.js:871:5)
at each (C:\tools\isobuild\import-scanner.js:907:14)
at _.each._.forEach (C:\Users\holmesa\AppData\Local\.meteor\packages\meteor-tool\1.8.0\mt-os.windows.x86_64\dev_bundle\lib\node_modules\underscore\underscore.js:87:22) at ImportScanner._scanFile (C:\tools\isobuild\import-scanner.js:871:5)
at outputFiles.forEach.file (C:\tools\isobuild\import-scanner.js:529:14)
at Array.forEach (<anonymous>)
at ImportScanner.scanImports (C:\tools\isobuild\import-scanner.js:527:22)
at sourceBatches.forEach.batch (C:\tools\isobuild\compiler-plugin.js:1287:17)
at Array.forEach (<anonymous>)
at Function.computeJsOutputFilesMap (C:\tools\isobuild\compiler-plugin.js:1255:19)
at ClientTarget._emitResources (C:\tools\isobuild\bundler.js:1114:8)
at buildmessage.enterJob (C:\tools\isobuild\bundler.js:841:12)
at C:\tools\utils\buildmessage.js:359:18
at exports.EnvironmentVariable.withValue (C:\tools\utils\fiber-helpers.js:89:14)
at C:\tools\utils\buildmessage.js:352:34
at exports.EnvironmentVariable.withValue (C:\tools\utils\fiber-helpers.js:89:14)
at C:\tools\utils\buildmessage.js:350:23
at exports.EnvironmentVariable.withValue (C:\tools\utils\fiber-helpers.js:89:14)
at Object.enterJob (C:\tools\utils\buildmessage.js:324:26)
at ClientTarget.make (C:\tools\isobuild\bundler.js:829:18)
at C:\tools\isobuild\bundler.js:3115:14
at webArchs.forEach.arch (C:\tools\isobuild\bundler.js:3266:25)
at Array.forEach (<anonymous>)
at C:\tools\isobuild\bundler.js:3220:14
at C:\tools\utils\buildmessage.js:271:13
at exports.EnvironmentVariable.withValue (C:\tools\utils\fiber-helpers.js:89:14)
at C:\tools\utils\buildmessage.js:264:29
at exports.EnvironmentVariable.withValue (C:\tools\utils\fiber-helpers.js:89:14)
at C:\tools\utils\buildmessage.js:262:18
at exports.EnvironmentVariable.withValue (C:\tools\utils\fiber-helpers.js:89:14)
at C:\tools\utils\buildmessage.js:253:23
at exports.EnvironmentVariable.withValue (C:\tools\utils\fiber-helpers.js:89:14)
at Object.capture (C:\tools\utils\buildmessage.js:252:19)
at bundle (C:\tools\isobuild\bundler.js:3096:31)
at files.withCache (C:\tools\isobuild\bundler.js:3041:32)
at Object.withCache (C:\tools\fs\files.js:1712:12)
at Object.bundle (C:\tools\isobuild\bundler.js:3041:16)
at Profile.run (C:\tools\runners\run-app.js:569:24)
at Function.run (C:\tools\tool-env\profile.js:490:12)
at bundleApp (C:\tools\runners\run-app.js:568:34)
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
I'm sure it's something I just did in the code, but the message isn't giving me enough to go on. Anyone know what this is?
Wow. Okay, I found the problem. It's this comma that should be a semicolon in an scss file.
See the red circle below. This innocuous typo causes the above error.
Related
I'm suddenly getting this error in my Windows 8.1 console when trying to run an existing meteor project. I've tried "meteor reset" and "meteor update". I've also tried deleting \.meteor\local. None of this has resolved the problem. I'm dead in the water.
C:\Users\mhl\AppData\Local\.meteor\packages\templating-compiler\1.2.15\plugin.compileTemplatesBatch.os\npm\node_modules\meteor\promise\node_modules\meteor-promise\promise_server.js:177
throw error;
^
TypeError: Cannot set property '/C/Users/mhl/Google Drive/Quarule/QREBuilder_Meteor_1.4/node_modules/react-router/package.json'
of undefined
at Resolver._resolvePkgJsonMain (C:\tools\isobuild\resolver.js:321:9)
at Resolver._resolve (C:\tools\isobuild\resolver.js:124:25)
at C:\tools\isobuild\resolver.js:76:19
at Entry._reallyRecompute (C:\Users\mhl\AppData\Local\.meteor\packages\meteor-tool\1.4.2\mt-os.windows.x86_32\dev_bundle\lib\node_modules\optimism\lib\entry.js:215:26)
at Entry._recomputeIfDirty (C:\Users\mhl\AppData\Local\.meteor\packages\meteor-tool\1.4.2\mt-os.windows.x86_32\dev_bundle\lib\node_modules\optimism\lib\entry.js:179:17)
at Entry.recompute (C:\Users\mhl\AppData\Local\.meteor\packages\meteor-tool\1.4.2\mt-os.windows.x86_32\dev_bundle\lib\node_modules\optimism\lib\entry.js:46:20)
at Resolver.optimistic [as resolve] (C:\Users\mhl\AppData\Local\.meteor\packages\meteor-tool\1.4.2\mt-os.windows.x86_32\dev_bundle\lib\node_modules\optimism\lib\index.js:50:18)
at ImportScanner._resolve (C:\tools\isobuild\import-scanner.js:459:36)
at C:\tools\isobuild\import-scanner.js:492:29
at _.each._.forEach (C:\Users\mhl\AppData\Local\.meteor\packages\meteor-tool\1.4.2\mt-os.windows.x86_32\dev_bundle\lib\node_modules\underscore\underscore.js:87:22)
at ImportScanner._scanFile (C:\tools\isobuild\import-scanner.js:491:5)
at C:\tools\isobuild\import-scanner.js:523:18
at _.each._.forEach (C:\Users\mhl\AppData\Local\.meteor\packages\meteor-tool\1.4.2\mt-os.windows.x86_32\dev_bundle\lib\node_modules\underscore\underscore.js:87:22)
at ImportScanner._scanFile (C:\tools\isobuild\import-scanner.js:491:5)
at C:\tools\isobuild\import-scanner.js:523:18
at _.each._.forEach (C:\Users\mhl\AppData\Local\.meteor\packages\meteor-tool\1.4.2\mt-os.windows.x86_32\dev_bundle\lib\node_modules\underscore\underscore.js:87:22)
at ImportScanner._scanFile (C:\tools\isobuild\import-scanner.js:491:5)
at C:\tools\isobuild\import-scanner.js:337:14
at Array.forEach (native)
at ImportScanner.scanImports (C:\tools\isobuild\import-scanner.js:335:22)
at C:\tools\isobuild\compiler-plugin.js:1037:17
at Array.forEach (native)
at Function.computeJsOutputFilesMap (C:\tools\isobuild\compiler-plugin.js:1005:19)
at ClientTarget._emitResources (C:\tools\isobuild\bundler.js:1006:8)
at C:\tools\isobuild\bundler.js:777:12
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 ClientTarget.make (C:\tools\isobuild\bundler.js:768:18)
at C:\tools\isobuild\bundler.js:2638:14
at C:\tools\isobuild\bundler.js:2727:20
at Array.forEach (native)
at Function._.each._.forEach (C:\Users\mhl\AppData\Local\.meteor\packages\meteor-tool\1.4.2\mt-os.windows.x86_32\dev_bundle\lib\node_modules\underscore\underscore.js:79:11)
at C:\tools\isobuild\bundler.js:2726:7
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 bundle (C:\tools\isobuild\bundler.js:2619:31)
at C:\tools\isobuild\bundler.js:2566:32
at Object.withCache (C:\tools\fs\files.js:1597:12)
at Object.exports.bundle (C:\tools\isobuild\bundler.js:2566:16)
at C:\tools\runners\run-app.js:574:36
at Function.run (C:\tools\tool-env\profile.js:490:12)
at bundleApp (C:\tools\runners\run-app.js:573:34)
at AppRunner._runOnce (C:\tools\runners\run-app.js:617:35)
at AppRunner._fiber (C:\tools\runners\run-app.js:876:28)
at C:\tools\runners\run-app.js:403:12
I got this notification: Newer versions of the following indirect dependencies are available:
* aldeed:tabular 1.6.1 (2.0.2 is available)
So, I ran meteor update --all-packages and it didn't update.
So I added aldeed:tabular#2.0.2 to the packages file.
I am getting this error while running meteor update --all-packages with that added to the packages file.
This project is already at Meteor 1.4.2, the latest release.
MINISAT-out: Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value 67108864, (2) compile with ALLOW_MEMORY_GROWTH which adjusts the size at runtime but prevents some optimizations, or (3) set Module.TOTAL_MEMORY before the program runs.
MINISAT-err: Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value 67108864, (2) compile with ALLOW_MEMORY_GROWTH which adjusts the size at runtime but prevents some optimizations, or (3) set Module.TOTAL_MEMORY before the program runs.
/Users/nathancain/.meteor/packages/meteor-tool/.1.4.2.zi1w5b++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/isopackets/ddp/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:190
throw error;
^
abort() at Error
at jsStackTrace (packages/logic-solver.js:22:18626)
at stackTrace (packages/logic-solver.js:22:18809)
at abort (packages/logic-solver.js:52:28956)
at enlargeMemory (packages/logic-solver.js:22:19142)
at Function.Runtime.dynamicAlloc [as alloc] (packages/logic-solver.js:22:7927)
at _sbrk (packages/logic-solver.js:22:58803)
at Sd (packages/logic-solver.js:26:98389)
at Ud (packages/logic-solver.js:26:109800)
at mc (packages/logic-solver.js:26:44840)
at Ob (packages/logic-solver.js:26:14353)
at Pb (packages/logic-solver.js:26:15704)
at Xb (packages/logic-solver.js:26:26622)
at Zb (packages/logic-solver.js:26:27957)
at _b (packages/logic-solver.js:26:30575)
at $b (packages/logic-solver.js:26:35130)
at Bc (packages/logic-solver.js:26:54870)
at Object.hd [as _solveAssuming] (packages/logic-solver.js:26:84479)
at [object Object].MiniSat.solveAssuming (packages/logic-solver.js:157:18)
at [object Object].Logic.Solver.solve (packages/logic-solver.js:1681:33)
at [object Object].Logic.Solver.solveAssuming (packages/logic-solver.js:1714:21)
at minMaxWS (packages/logic-solver.js:2022:32)
at [object Object].Logic.Solver.minimizeWeightedSum (packages/logic-solver.js:2087:10)
at packages/constraint-solver.js:1326:28
at Function.time (/tools/tool-env/profile.js:305:10)
at [object Object].CS.Solver.minimize (packages/constraint-solver.js:1310:16)
at packages/constraint-solver.js:1286:12
at Array.forEach (native)
at Function._.each._.forEach (packages/underscore.js:139:11)
at [object Object].CS.Solver.minimize (packages/constraint-solver.js:1285:7)
at [object Object].CS.Solver._getAnswer (packages/constraint-solver.js:1733:8)
at packages/constraint-solver.js:1561:17
at Function.time (/tools/tool-env/profile.js:305:10)
at [object Object].CS.Solver.getAnswer (packages/constraint-solver.js:1560:23)
at packages/constraint-solver.js:2258:25
at Object.Logic.disablingAssertions (packages/logic-solver.js:390:12)
at Function.CS.PackagesResolver._resolveWithInput (packages/constraint-solver.js:2257:16)
at [object Object].CS.PackagesResolver.resolve (packages/constraint-solver.js:2221:34)
at /tools/project-context.js:518:35
at Function.time (/tools/tool-env/profile.js:305:10)
at /tools/project-context.js:514:19
at /tools/utils/buildmessage.js:359:18
at [object Object].withValue (/tools/utils/fiber-helpers.js:89:14)
at /tools/utils/buildmessage.js:352:34
at [object Object].withValue (/tools/utils/fiber-helpers.js:89:14)
at /tools/utils/buildmessage.js:350:23
at [object Object].withValue (/tools/utils/fiber-helpers.js:89:14)
at Object.enterJob (/tools/utils/buildmessage.js:324:26)
at /tools/project-context.js:486:20
at /tools/packaging/catalog/catalog.js:100:5
at /tools/utils/buildmessage.js:271:13
at [object Object].withValue (/tools/utils/fiber-helpers.js:89:14)
at /tools/utils/buildmessage.js:264:29
at [object Object].withValue (/tools/utils/fiber-helpers.js:89:14)
at /tools/utils/buildmessage.js:262:18
at [object Object].withValue (/tools/utils/fiber-helpers.js:89:14)
at /tools/utils/buildmessage.js:253:23
at [object Object].withValue (/tools/utils/fiber-helpers.js:89:14)
at Object.capture (/tools/utils/buildmessage.js:252:19)
at Object.catalog.runAndRetryWithRefreshIfHelpful (/tools/packaging/catalog/catalog.js:99:31)
at ProjectContext._resolveConstraints (/tools/project-context.js:485:13)
at /tools/project-context.js:268:9
at /tools/utils/buildmessage.js:359:18
at [object Object].withValue (/tools/utils/fiber-helpers.js:89:14)
at /tools/utils/buildmessage.js:352:34
at [object Object].withValue (/tools/utils/fiber-helpers.js:89:14)
at /tools/utils/buildmessage.js:350:23
at [object Object].withValue (/tools/utils/fiber-helpers.js:89:14)
at Object.enterJob (/tools/utils/buildmessage.js:324:26)
at ProjectContext._completeStagesThrough (/tools/project-context.js:258:18)
at /tools/project-context.js:228:12
at Function.run (/tools/tool-env/profile.js:490:12)
at ProjectContext.resolveConstraints (/tools/project-context.js:227:13)
at /tools/cli/commands-packages.js:1682:22
at /tools/utils/buildmessage.js:271:13
at [object Object].withValue (/tools/utils/fiber-helpers.js:89:14)
at /tools/utils/buildmessage.js:264:29
at [object Object].withValue (/tools/utils/fiber-helpers.js:89:14)
at /tools/utils/buildmessage.js:262:18
at [object Object].withValue (/tools/utils/fiber-helpers.js:89:14)
at /tools/utils/buildmessage.js:253:23
at [object Object].withValue (/tools/utils/fiber-helpers.js:89:14)
at Object.capture (/tools/utils/buildmessage.js:252:19)
at Object.main.captureAndExit (/tools/cli/main.js:271:29)
at Command.func (/tools/cli/commands-packages.js:1680:8)
at /tools/cli/main.js:1454:23
If this abort() is unexpected, build with -s ASSERTIONS=1 which can give more information.
(Stackoverflow is saying I need to add more details, but I don't have any right now.)
What can I do to fix this?
I had to remove yogiben:admin because of its dependency on an older version of aldeed:tabular.
You should be able to add yogiben:admin back again and it should work.
I have just started getting this on Meteor. It compiles perfectly on a Mac OS X system but when I upload it to a Linux system it produces the following. Any thoughts? Thanks :)
/root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/fibers/future.js:245
throw(ex);
^
Error: EXDEV, rename '/opt/meteor/src/.meteor/local/isopacks/npm-container'
at Object.Future.wait (/root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/fibers/future.js:398:15)
at Object.wrapper [as rename] (/root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/files.js:1350:24)
at Object.files.renameDirAlmostAtomically (/root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/files.js:810:11)
at [object Object]._.extend.complete (/root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/builder.js:482:11)
at [object Object]._.extend.saveToPath (/root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/isopack.js:1075:15)
at /root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/isopack-cache.js:236:21
at /root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/buildmessage.js:352:18
at [object Object]._.extend.withValue (/root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/fiber-helpers.js:115:14)
at /root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/buildmessage.js:345:34
at [object Object]._.extend.withValue (/root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/fiber-helpers.js:115:14)
at /root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/buildmessage.js:343:23
at [object Object]._.extend.withValue (/root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/fiber-helpers.js:115:14)
at Object.enterJob (/root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/buildmessage.js:317:26)
at [object Object]._.extend._loadLocalPackage (/root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/isopack-cache.js:198:18)
at /root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/isopack-cache.js:149:14
at /root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/buildmessage.js:352:18
at [object Object]._.extend.withValue (/root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/fiber-helpers.js:115:14)
at /root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/buildmessage.js:345:34
at [object Object]._.extend.withValue (/root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/fiber-helpers.js:115:14)
at /root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/buildmessage.js:343:23
at [object Object]._.extend.withValue (/root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/fiber-helpers.js:115:14)
at Object.enterJob (/root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/buildmessage.js:317:26)
at [object Object]._.extend._ensurePackageLoaded (/root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/isopack-cache.js:141:20)
at /root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/isopack-cache.js:63:14
at /root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/package-map.js:50:7
at Function._.each._.forEach (/root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/underscore/underscore.js:87:22)
at [object Object]._.extend.eachPackage (/root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/package-map.js:42:7)
at [object Object]._.extend.buildLocalPackages (/root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/isopack-cache.js:62:24)
at /root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/project-context.js:698:25
at /root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/buildmessage.js:352:18
at [object Object]._.extend.withValue (/root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/fiber-helpers.js:115:14)
at /root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/buildmessage.js:345:34
at [object Object]._.extend.withValue (/root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/fiber-helpers.js:115:14)
at /root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/buildmessage.js:343:23
at [object Object]._.extend.withValue (/root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/fiber-helpers.js:115:14)
at Object.enterJob (/root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/buildmessage.js:317:26)
at ProjectContext._.extend._buildLocalPackages (/root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/project-context.js:697:18)
at /root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/project-context.js:238:35
at /root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/buildmessage.js:352:18
at [object Object]._.extend.withValue (/root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/fiber-helpers.js:115:14)
at /root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/buildmessage.js:345:34
at [object Object]._.extend.withValue (/root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/fiber-helpers.js:115:14)
at /root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/buildmessage.js:343:23
at [object Object]._.extend.withValue (/root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/fiber-helpers.js:115:14)
at Object.enterJob (/root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/buildmessage.js:317:26)
at ProjectContext._.extend._completeStagesThrough (/root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/project-context.js:228:18)
at ProjectContext._.extend.saveChangedMetadata (/root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/project-context.js:216:10)
at ProjectContext._.extend.prepareProjectForBuild (/root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/project-context.js:221:10)
at /root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/commands.js:793:20
at /root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/buildmessage.js:264:13
at [object Object]._.extend.withValue (/root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/fiber-helpers.js:115:14)
at /root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/buildmessage.js:257:29
at [object Object]._.extend.withValue (/root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/fiber-helpers.js:115:14)
at /root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/buildmessage.js:255:18
at [object Object]._.extend.withValue (/root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/fiber-helpers.js:115:14)
at /root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/buildmessage.js:246:23
at [object Object]._.extend.withValue (/root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/fiber-helpers.js:115:14)
at Object.capture (/root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/buildmessage.js:245:19)
at Object.main.captureAndExit (/root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/main.js:271:29)
at buildCommand (/root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/commands.js:792:8)
at Command.main.registerCommand._.extend.name [as func] (/root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/commands.js:746:12)
at /root/.meteor/packages/meteor-tool/.1.1.3.4sddkj++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/tools/main.js:1363:23
- - - - -
Removing the meteor local directory will do the stuff working.
cd $WORKDIR
rm -fr .meteor/local
I ran into a similar problem when trying to build my app for docker.
My initial Dockerfile looked something like this:
ADD . /app
WORKDIR /app
RUN meteor build / --directory
WORKDIR /bundle/programs/server
RUN npm i
WORKDIR /bundle
RUN node main.js
And I kept running into the issue you described above.
After checking out a docker image for Meteor that worked, I noticed the following comment: https://github.com/meteorhacks/meteord/blob/master/base/scripts/lib/build_app.sh#L6
I then modified my Dockerfile to this:
ADD . /app
RUN cp -R /app /tmp/app
WORKDIR /tmp/app
RUN meteor build / --directory
WORKDIR /bundle/programs/server
RUN npm i
WORKDIR /bundle
RUN node main.js
Which solved my problems.
Copying the files without the .meteor folder can help
Meteor will re-compile it on your different server/box and it should work correctly.
When i run meteor command
Im getting a crash
I have done some changes, in the
accounts-ui packange and accounts-ui-unstyled, Already tryed to fix it but fail.Shoud i reinstall Meteor?
Here is the erorr:
/home/kristian/.meteor/packages/meteor-tool/.1.0.34.1atmdl8++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/dev_bundle/lib/node_modules/fibers/future.js:173
throw(ex);
^
Error: couldn't read entire resource
at /home/kristian/.meteor/packages/meteor-tool/.1.0.34.1atmdl8++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/isopack.js:693:19
at Array.forEach (native)
at Function._.each._.forEach (/home/kristian/.meteor/packages/meteor-tool/.1.0.34.1atmdl8++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/dev_bundle/lib/node_modules/underscore/underscore.js:79:11)
at /home/kristian/.meteor/packages/meteor-tool/.1.0.34.1atmdl8++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/isopack.js:677:9
at Array.forEach (native)
at Function._.each._.forEach (/home/kristian/.meteor/packages/meteor-tool/.1.0.34.1atmdl8++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/dev_bundle/lib/node_modules/underscore/underscore.js:79:11)
at _.extend._loadUnibuildsFromPath (/home/kristian/.meteor/packages/meteor-tool/.1.0.34.1atmdl8++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/isopack.js:648:7)
at _.extend.initFromPath (/home/kristian/.meteor/packages/meteor-tool/.1.0.34.1atmdl8++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/isopack.js:512:17)
at _.extend.loadPackageAtPath (/home/kristian/.meteor/packages/meteor-tool/.1.0.34.1atmdl8++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/package-cache.js:138:12)
at _.extend.getPackage (/home/kristian/.meteor/packages/meteor-tool/.1.0.34.1atmdl8++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/package-loader.js:66:38)
at Object.compiler.eachUsedUnibuild (/home/kristian/.meteor/packages/meteor-tool/.1.0.34.1atmdl8++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/compiler.js:85:37)
at compileUnibuild (/home/kristian/.meteor/packages/meteor-tool/.1.0.34.1atmdl8++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/compiler.js:337:14)
at /home/kristian/.meteor/packages/meteor-tool/.1.0.34.1atmdl8++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/compiler.js:1060:27
at Array.forEach (native)
at Function._.each._.forEach (/home/kristian/.meteor/packages/meteor-tool/.1.0.34.1atmdl8++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/dev_bundle/lib/node_modules/underscore/underscore.js:79:11)
at Object.compiler.compile (/home/kristian/.meteor/packages/meteor-tool/.1.0.34.1atmdl8++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/compiler.js:1059:5)
at /home/kristian/.meteor/packages/meteor-tool/.1.0.34.1atmdl8++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/bundler.js:1973:26
at /home/kristian/.meteor/packages/meteor-tool/.1.0.34.1atmdl8++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/buildmessage.js:254:13
at _.extend.withValue (/home/kristian/.meteor/packages/meteor-tool/.1.0.34.1atmdl8++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/fiber-helpers.js:112:14)
at /home/kristian/.meteor/packages/meteor-tool/.1.0.34.1atmdl8++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/buildmessage.js:247:29
at _.extend.withValue (/home/kristian/.meteor/packages/meteor-tool/.1.0.34.1atmdl8++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/fiber-helpers.js:112:14)
at /home/kristian/.meteor/packages/meteor-tool/.1.0.34.1atmdl8++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/buildmessage.js:245:18
at _.extend.withValue (/home/kristian/.meteor/packages/meteor-tool/.1.0.34.1atmdl8++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/fiber-helpers.js:112:14)
at /home/kristian/.meteor/packages/meteor-tool/.1.0.34.1atmdl8++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/buildmessage.js:236:23
at _.extend.withValue (/home/kristian/.meteor/packages/meteor-tool/.1.0.34.1atmdl8++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/fiber-helpers.js:112:14)
at Object.capture (/home/kristian/.meteor/packages/meteor-tool/.1.0.34.1atmdl8++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/buildmessage.js:235:19)
at Object.exports.bundle (/home/kristian/.meteor/packages/meteor-tool/.1.0.34.1atmdl8++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/bundler.js:1895:31)
at Object.bundleAndDeploy (/home/kristian/.meteor/packages/meteor-tool/.1.0.34.1atmdl8++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/deploy.js:403:32)
at main.registerCommand.name [as func] (/home/kristian/.meteor/packages/meteor-tool/.1.0.34.1atmdl8++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/commands.js:1038:27)
at /home/kristian/.meteor/packages/meteor-tool/.1.0.34.1atmdl8++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/tools/main.js:1255:23
I did
meteor update
All packages are manually added via meteor add
Here is the log:
=> Started proxy.
=> Started MongoDB.
=> Starting your app...
/Users/test/.meteor/packages/meteor-tool/.1.0.33.1b5lzqo++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/dev_bundle/lib/node_modules/fibers/future.js:173
throw(ex);
^
TypeError: Cannot read property 'name' of undefined
at /Users/test/.meteor/packages/meteor-tool/.1.0.33.1b5lzqo++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/compiler.js:378:34
at Function._.each._.forEach (/Users/test/.meteor/packages/meteor-tool/.1.0.33.1b5lzqo++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/dev_bundle/lib/node_modules/underscore/underscore.js:87:22)
at /Users/test/.meteor/packages/meteor-tool/.1.0.33.1b5lzqo++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/compiler.js:371:7
at Array.forEach (native)
at Function._.each._.forEach (/Users/test/.meteor/packages/meteor-tool/.1.0.33.1b5lzqo++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/dev_bundle/lib/node_modules/underscore/underscore.js:79:11)
at compileUnibuild (/Users/test/.meteor/packages/meteor-tool/.1.0.33.1b5lzqo++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/compiler.js:370:5)
at /Users/test/.meteor/packages/meteor-tool/.1.0.33.1b5lzqo++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/compiler.js:888:27
at Array.forEach (native)
at Function._.each._.forEach (/Users/test/.meteor/packages/meteor-tool/.1.0.33.1b5lzqo++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/dev_bundle/lib/node_modules/underscore/underscore.js:79:11)
at Object.compiler.compile (/Users/test/.meteor/packages/meteor-tool/.1.0.33.1b5lzqo++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/compiler.js:887:5)
at /Users/test/.meteor/packages/meteor-tool/.1.0.33.1b5lzqo++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/bundler.js:1794:26
at /Users/test/.meteor/packages/meteor-tool/.1.0.33.1b5lzqo++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/buildmessage.js:247:13
at [object Object]._.extend.withValue (/Users/test/.meteor/packages/meteor-tool/.1.0.33.1b5lzqo++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/fiber-helpers.js:112:14)
at /Users/test/.meteor/packages/meteor-tool/.1.0.33.1b5lzqo++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/buildmessage.js:240:29
at [object Object]._.extend.withValue (/Users/test/.meteor/packages/meteor-tool/.1.0.33.1b5lzqo++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/fiber-helpers.js:112:14)
at /Users/test/.meteor/packages/meteor-tool/.1.0.33.1b5lzqo++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/buildmessage.js:238:18
at [object Object]._.extend.withValue (/Users/test/.meteor/packages/meteor-tool/.1.0.33.1b5lzqo++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/fiber-helpers.js:112:14)
at /Users/test/.meteor/packages/meteor-tool/.1.0.33.1b5lzqo++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/buildmessage.js:229:23
at [object Object]._.extend.withValue (/Users/test/.meteor/packages/meteor-tool/.1.0.33.1b5lzqo++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/fiber-helpers.js:112:14)
at Object.capture (/Users/test/.meteor/packages/meteor-tool/.1.0.33.1b5lzqo++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/buildmessage.js:228:19)
at Object.exports.bundle (/Users/test/.meteor/packages/meteor-tool/.1.0.33.1b5lzqo++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/bundler.js:1716:31)
at bundleApp (/Users/test/.meteor/packages/meteor-tool/.1.0.33.1b5lzqo++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/run-app.js:481:28)
at [object Object]._.extend._runOnce (/Users/test/.meteor/packages/meteor-tool/.1.0.33.1b5lzqo++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/run-app.js:499:24)
at [object Object]._.extend._fiber (/Users/test/.meteor/packages/meteor-tool/.1.0.33.1b5lzqo++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/run-app.js:685:28)
at /Users/test/.meteor/packages/meteor-tool/.1.0.33.1b5lzqo++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/run-app.js:360:12
OK the error is gone if I delete all the symlinks in /packages/ folder.
See discover meteor's blog post for why you can delete that folder.