Meteor crashes on server start with promise_server.js error











up vote
0
down vote

favorite












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:UsersholmesaAppDataLocal.meteorpackagesmeteor-tool1.8.0mt-os.windows.x86_64dev_bundlelibnode_modulesmeteor-promisepromise_server.js:218
throw error;
^
undefined
=> awaited here:
at Promise.await (C:UsersholmesaAppDataLocal.meteorpackagesmeteor-tool1.8.0mt-os.windows.x86_64dev_bundlelibnode_modulesmeteor-promisepromise_server.js:60:12)
at JsOutputResource.finalize (C:toolsisobuildcompiler-plugin.js:891:7)
at JsOutputResource.hasPendingErrors (C:toolsisobuildcompiler-plugin.js:918:10)
at JsOutputResource.reportPendingErrors (C:toolsisobuildcompiler-plugin.js:923:14)
at ImportScanner._scanFile (C:toolsisobuildimport-scanner.js:849:14)
at each (C:toolsisobuildimport-scanner.js:907:14)
at _.each._.forEach (C:UsersholmesaAppDataLocal.meteorpackagesmeteor-tool1.8.0mt-os.windows.x86_64dev_bundlelibnode_modulesunderscoreunderscore.js:87:22)
at ImportScanner._scanFile (C:toolsisobuildimport-scanner.js:871:5)
at each (C:toolsisobuildimport-scanner.js:907:14)
at _.each._.forEach (C:UsersholmesaAppDataLocal.meteorpackagesmeteor-tool1.8.0mt-os.windows.x86_64dev_bundlelibnode_modulesunderscoreunderscore.js:87:22) at ImportScanner._scanFile (C:toolsisobuildimport-scanner.js:871:5)
at outputFiles.forEach.file (C:toolsisobuildimport-scanner.js:529:14)
at Array.forEach (<anonymous>)
at ImportScanner.scanImports (C:toolsisobuildimport-scanner.js:527:22)
at sourceBatches.forEach.batch (C:toolsisobuildcompiler-plugin.js:1287:17)
at Array.forEach (<anonymous>)
at Function.computeJsOutputFilesMap (C:toolsisobuildcompiler-plugin.js:1255:19)
at ClientTarget._emitResources (C:toolsisobuildbundler.js:1114:8)
at buildmessage.enterJob (C:toolsisobuildbundler.js:841:12)
at C:toolsutilsbuildmessage.js:359:18
at exports.EnvironmentVariable.withValue (C:toolsutilsfiber-helpers.js:89:14)
at C:toolsutilsbuildmessage.js:352:34
at exports.EnvironmentVariable.withValue (C:toolsutilsfiber-helpers.js:89:14)
at C:toolsutilsbuildmessage.js:350:23
at exports.EnvironmentVariable.withValue (C:toolsutilsfiber-helpers.js:89:14)
at Object.enterJob (C:toolsutilsbuildmessage.js:324:26)
at ClientTarget.make (C:toolsisobuildbundler.js:829:18)
at C:toolsisobuildbundler.js:3115:14
at webArchs.forEach.arch (C:toolsisobuildbundler.js:3266:25)
at Array.forEach (<anonymous>)
at C:toolsisobuildbundler.js:3220:14
at C:toolsutilsbuildmessage.js:271:13
at exports.EnvironmentVariable.withValue (C:toolsutilsfiber-helpers.js:89:14)
at C:toolsutilsbuildmessage.js:264:29
at exports.EnvironmentVariable.withValue (C:toolsutilsfiber-helpers.js:89:14)
at C:toolsutilsbuildmessage.js:262:18
at exports.EnvironmentVariable.withValue (C:toolsutilsfiber-helpers.js:89:14)
at C:toolsutilsbuildmessage.js:253:23
at exports.EnvironmentVariable.withValue (C:toolsutilsfiber-helpers.js:89:14)
at Object.capture (C:toolsutilsbuildmessage.js:252:19)
at bundle (C:toolsisobuildbundler.js:3096:31)
at files.withCache (C:toolsisobuildbundler.js:3041:32)
at Object.withCache (C:toolsfsfiles.js:1712:12)
at Object.bundle (C:toolsisobuildbundler.js:3041:16)
at Profile.run (C:toolsrunnersrun-app.js:569:24)
at Function.run (C:toolstool-envprofile.js:490:12)
at bundleApp (C:toolsrunnersrun-app.js:568:34)
at AppRunner._runOnce (C:toolsrunnersrun-app.js:610:35)
at AppRunner._fiber (C:toolsrunnersrun-app.js:908:28)
at C:toolsrunnersrun-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?










share|improve this question




























    up vote
    0
    down vote

    favorite












    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:UsersholmesaAppDataLocal.meteorpackagesmeteor-tool1.8.0mt-os.windows.x86_64dev_bundlelibnode_modulesmeteor-promisepromise_server.js:218
    throw error;
    ^
    undefined
    => awaited here:
    at Promise.await (C:UsersholmesaAppDataLocal.meteorpackagesmeteor-tool1.8.0mt-os.windows.x86_64dev_bundlelibnode_modulesmeteor-promisepromise_server.js:60:12)
    at JsOutputResource.finalize (C:toolsisobuildcompiler-plugin.js:891:7)
    at JsOutputResource.hasPendingErrors (C:toolsisobuildcompiler-plugin.js:918:10)
    at JsOutputResource.reportPendingErrors (C:toolsisobuildcompiler-plugin.js:923:14)
    at ImportScanner._scanFile (C:toolsisobuildimport-scanner.js:849:14)
    at each (C:toolsisobuildimport-scanner.js:907:14)
    at _.each._.forEach (C:UsersholmesaAppDataLocal.meteorpackagesmeteor-tool1.8.0mt-os.windows.x86_64dev_bundlelibnode_modulesunderscoreunderscore.js:87:22)
    at ImportScanner._scanFile (C:toolsisobuildimport-scanner.js:871:5)
    at each (C:toolsisobuildimport-scanner.js:907:14)
    at _.each._.forEach (C:UsersholmesaAppDataLocal.meteorpackagesmeteor-tool1.8.0mt-os.windows.x86_64dev_bundlelibnode_modulesunderscoreunderscore.js:87:22) at ImportScanner._scanFile (C:toolsisobuildimport-scanner.js:871:5)
    at outputFiles.forEach.file (C:toolsisobuildimport-scanner.js:529:14)
    at Array.forEach (<anonymous>)
    at ImportScanner.scanImports (C:toolsisobuildimport-scanner.js:527:22)
    at sourceBatches.forEach.batch (C:toolsisobuildcompiler-plugin.js:1287:17)
    at Array.forEach (<anonymous>)
    at Function.computeJsOutputFilesMap (C:toolsisobuildcompiler-plugin.js:1255:19)
    at ClientTarget._emitResources (C:toolsisobuildbundler.js:1114:8)
    at buildmessage.enterJob (C:toolsisobuildbundler.js:841:12)
    at C:toolsutilsbuildmessage.js:359:18
    at exports.EnvironmentVariable.withValue (C:toolsutilsfiber-helpers.js:89:14)
    at C:toolsutilsbuildmessage.js:352:34
    at exports.EnvironmentVariable.withValue (C:toolsutilsfiber-helpers.js:89:14)
    at C:toolsutilsbuildmessage.js:350:23
    at exports.EnvironmentVariable.withValue (C:toolsutilsfiber-helpers.js:89:14)
    at Object.enterJob (C:toolsutilsbuildmessage.js:324:26)
    at ClientTarget.make (C:toolsisobuildbundler.js:829:18)
    at C:toolsisobuildbundler.js:3115:14
    at webArchs.forEach.arch (C:toolsisobuildbundler.js:3266:25)
    at Array.forEach (<anonymous>)
    at C:toolsisobuildbundler.js:3220:14
    at C:toolsutilsbuildmessage.js:271:13
    at exports.EnvironmentVariable.withValue (C:toolsutilsfiber-helpers.js:89:14)
    at C:toolsutilsbuildmessage.js:264:29
    at exports.EnvironmentVariable.withValue (C:toolsutilsfiber-helpers.js:89:14)
    at C:toolsutilsbuildmessage.js:262:18
    at exports.EnvironmentVariable.withValue (C:toolsutilsfiber-helpers.js:89:14)
    at C:toolsutilsbuildmessage.js:253:23
    at exports.EnvironmentVariable.withValue (C:toolsutilsfiber-helpers.js:89:14)
    at Object.capture (C:toolsutilsbuildmessage.js:252:19)
    at bundle (C:toolsisobuildbundler.js:3096:31)
    at files.withCache (C:toolsisobuildbundler.js:3041:32)
    at Object.withCache (C:toolsfsfiles.js:1712:12)
    at Object.bundle (C:toolsisobuildbundler.js:3041:16)
    at Profile.run (C:toolsrunnersrun-app.js:569:24)
    at Function.run (C:toolstool-envprofile.js:490:12)
    at bundleApp (C:toolsrunnersrun-app.js:568:34)
    at AppRunner._runOnce (C:toolsrunnersrun-app.js:610:35)
    at AppRunner._fiber (C:toolsrunnersrun-app.js:908:28)
    at C:toolsrunnersrun-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?










    share|improve this question


























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      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:UsersholmesaAppDataLocal.meteorpackagesmeteor-tool1.8.0mt-os.windows.x86_64dev_bundlelibnode_modulesmeteor-promisepromise_server.js:218
      throw error;
      ^
      undefined
      => awaited here:
      at Promise.await (C:UsersholmesaAppDataLocal.meteorpackagesmeteor-tool1.8.0mt-os.windows.x86_64dev_bundlelibnode_modulesmeteor-promisepromise_server.js:60:12)
      at JsOutputResource.finalize (C:toolsisobuildcompiler-plugin.js:891:7)
      at JsOutputResource.hasPendingErrors (C:toolsisobuildcompiler-plugin.js:918:10)
      at JsOutputResource.reportPendingErrors (C:toolsisobuildcompiler-plugin.js:923:14)
      at ImportScanner._scanFile (C:toolsisobuildimport-scanner.js:849:14)
      at each (C:toolsisobuildimport-scanner.js:907:14)
      at _.each._.forEach (C:UsersholmesaAppDataLocal.meteorpackagesmeteor-tool1.8.0mt-os.windows.x86_64dev_bundlelibnode_modulesunderscoreunderscore.js:87:22)
      at ImportScanner._scanFile (C:toolsisobuildimport-scanner.js:871:5)
      at each (C:toolsisobuildimport-scanner.js:907:14)
      at _.each._.forEach (C:UsersholmesaAppDataLocal.meteorpackagesmeteor-tool1.8.0mt-os.windows.x86_64dev_bundlelibnode_modulesunderscoreunderscore.js:87:22) at ImportScanner._scanFile (C:toolsisobuildimport-scanner.js:871:5)
      at outputFiles.forEach.file (C:toolsisobuildimport-scanner.js:529:14)
      at Array.forEach (<anonymous>)
      at ImportScanner.scanImports (C:toolsisobuildimport-scanner.js:527:22)
      at sourceBatches.forEach.batch (C:toolsisobuildcompiler-plugin.js:1287:17)
      at Array.forEach (<anonymous>)
      at Function.computeJsOutputFilesMap (C:toolsisobuildcompiler-plugin.js:1255:19)
      at ClientTarget._emitResources (C:toolsisobuildbundler.js:1114:8)
      at buildmessage.enterJob (C:toolsisobuildbundler.js:841:12)
      at C:toolsutilsbuildmessage.js:359:18
      at exports.EnvironmentVariable.withValue (C:toolsutilsfiber-helpers.js:89:14)
      at C:toolsutilsbuildmessage.js:352:34
      at exports.EnvironmentVariable.withValue (C:toolsutilsfiber-helpers.js:89:14)
      at C:toolsutilsbuildmessage.js:350:23
      at exports.EnvironmentVariable.withValue (C:toolsutilsfiber-helpers.js:89:14)
      at Object.enterJob (C:toolsutilsbuildmessage.js:324:26)
      at ClientTarget.make (C:toolsisobuildbundler.js:829:18)
      at C:toolsisobuildbundler.js:3115:14
      at webArchs.forEach.arch (C:toolsisobuildbundler.js:3266:25)
      at Array.forEach (<anonymous>)
      at C:toolsisobuildbundler.js:3220:14
      at C:toolsutilsbuildmessage.js:271:13
      at exports.EnvironmentVariable.withValue (C:toolsutilsfiber-helpers.js:89:14)
      at C:toolsutilsbuildmessage.js:264:29
      at exports.EnvironmentVariable.withValue (C:toolsutilsfiber-helpers.js:89:14)
      at C:toolsutilsbuildmessage.js:262:18
      at exports.EnvironmentVariable.withValue (C:toolsutilsfiber-helpers.js:89:14)
      at C:toolsutilsbuildmessage.js:253:23
      at exports.EnvironmentVariable.withValue (C:toolsutilsfiber-helpers.js:89:14)
      at Object.capture (C:toolsutilsbuildmessage.js:252:19)
      at bundle (C:toolsisobuildbundler.js:3096:31)
      at files.withCache (C:toolsisobuildbundler.js:3041:32)
      at Object.withCache (C:toolsfsfiles.js:1712:12)
      at Object.bundle (C:toolsisobuildbundler.js:3041:16)
      at Profile.run (C:toolsrunnersrun-app.js:569:24)
      at Function.run (C:toolstool-envprofile.js:490:12)
      at bundleApp (C:toolsrunnersrun-app.js:568:34)
      at AppRunner._runOnce (C:toolsrunnersrun-app.js:610:35)
      at AppRunner._fiber (C:toolsrunnersrun-app.js:908:28)
      at C:toolsrunnersrun-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?










      share|improve this question















      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:UsersholmesaAppDataLocal.meteorpackagesmeteor-tool1.8.0mt-os.windows.x86_64dev_bundlelibnode_modulesmeteor-promisepromise_server.js:218
      throw error;
      ^
      undefined
      => awaited here:
      at Promise.await (C:UsersholmesaAppDataLocal.meteorpackagesmeteor-tool1.8.0mt-os.windows.x86_64dev_bundlelibnode_modulesmeteor-promisepromise_server.js:60:12)
      at JsOutputResource.finalize (C:toolsisobuildcompiler-plugin.js:891:7)
      at JsOutputResource.hasPendingErrors (C:toolsisobuildcompiler-plugin.js:918:10)
      at JsOutputResource.reportPendingErrors (C:toolsisobuildcompiler-plugin.js:923:14)
      at ImportScanner._scanFile (C:toolsisobuildimport-scanner.js:849:14)
      at each (C:toolsisobuildimport-scanner.js:907:14)
      at _.each._.forEach (C:UsersholmesaAppDataLocal.meteorpackagesmeteor-tool1.8.0mt-os.windows.x86_64dev_bundlelibnode_modulesunderscoreunderscore.js:87:22)
      at ImportScanner._scanFile (C:toolsisobuildimport-scanner.js:871:5)
      at each (C:toolsisobuildimport-scanner.js:907:14)
      at _.each._.forEach (C:UsersholmesaAppDataLocal.meteorpackagesmeteor-tool1.8.0mt-os.windows.x86_64dev_bundlelibnode_modulesunderscoreunderscore.js:87:22) at ImportScanner._scanFile (C:toolsisobuildimport-scanner.js:871:5)
      at outputFiles.forEach.file (C:toolsisobuildimport-scanner.js:529:14)
      at Array.forEach (<anonymous>)
      at ImportScanner.scanImports (C:toolsisobuildimport-scanner.js:527:22)
      at sourceBatches.forEach.batch (C:toolsisobuildcompiler-plugin.js:1287:17)
      at Array.forEach (<anonymous>)
      at Function.computeJsOutputFilesMap (C:toolsisobuildcompiler-plugin.js:1255:19)
      at ClientTarget._emitResources (C:toolsisobuildbundler.js:1114:8)
      at buildmessage.enterJob (C:toolsisobuildbundler.js:841:12)
      at C:toolsutilsbuildmessage.js:359:18
      at exports.EnvironmentVariable.withValue (C:toolsutilsfiber-helpers.js:89:14)
      at C:toolsutilsbuildmessage.js:352:34
      at exports.EnvironmentVariable.withValue (C:toolsutilsfiber-helpers.js:89:14)
      at C:toolsutilsbuildmessage.js:350:23
      at exports.EnvironmentVariable.withValue (C:toolsutilsfiber-helpers.js:89:14)
      at Object.enterJob (C:toolsutilsbuildmessage.js:324:26)
      at ClientTarget.make (C:toolsisobuildbundler.js:829:18)
      at C:toolsisobuildbundler.js:3115:14
      at webArchs.forEach.arch (C:toolsisobuildbundler.js:3266:25)
      at Array.forEach (<anonymous>)
      at C:toolsisobuildbundler.js:3220:14
      at C:toolsutilsbuildmessage.js:271:13
      at exports.EnvironmentVariable.withValue (C:toolsutilsfiber-helpers.js:89:14)
      at C:toolsutilsbuildmessage.js:264:29
      at exports.EnvironmentVariable.withValue (C:toolsutilsfiber-helpers.js:89:14)
      at C:toolsutilsbuildmessage.js:262:18
      at exports.EnvironmentVariable.withValue (C:toolsutilsfiber-helpers.js:89:14)
      at C:toolsutilsbuildmessage.js:253:23
      at exports.EnvironmentVariable.withValue (C:toolsutilsfiber-helpers.js:89:14)
      at Object.capture (C:toolsutilsbuildmessage.js:252:19)
      at bundle (C:toolsisobuildbundler.js:3096:31)
      at files.withCache (C:toolsisobuildbundler.js:3041:32)
      at Object.withCache (C:toolsfsfiles.js:1712:12)
      at Object.bundle (C:toolsisobuildbundler.js:3041:16)
      at Profile.run (C:toolsrunnersrun-app.js:569:24)
      at Function.run (C:toolstool-envprofile.js:490:12)
      at bundleApp (C:toolsrunnersrun-app.js:568:34)
      at AppRunner._runOnce (C:toolsrunnersrun-app.js:610:35)
      at AppRunner._fiber (C:toolsrunnersrun-app.js:908:28)
      at C:toolsrunnersrun-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?







      meteor






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 29 at 20:21

























      asked Nov 19 at 22:08









      RealHandy

      97211




      97211
























          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          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.



          enter image description here






          share|improve this answer





















          • You can prevent this in future using a css linter
            – Jankapunkt
            Nov 20 at 8:02











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53383337%2fmeteor-crashes-on-server-start-with-promise-server-js-error%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          0
          down vote













          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.



          enter image description here






          share|improve this answer





















          • You can prevent this in future using a css linter
            – Jankapunkt
            Nov 20 at 8:02















          up vote
          0
          down vote













          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.



          enter image description here






          share|improve this answer





















          • You can prevent this in future using a css linter
            – Jankapunkt
            Nov 20 at 8:02













          up vote
          0
          down vote










          up vote
          0
          down vote









          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.



          enter image description here






          share|improve this answer












          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.



          enter image description here







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 19 at 22:15









          RealHandy

          97211




          97211












          • You can prevent this in future using a css linter
            – Jankapunkt
            Nov 20 at 8:02


















          • You can prevent this in future using a css linter
            – Jankapunkt
            Nov 20 at 8:02
















          You can prevent this in future using a css linter
          – Jankapunkt
          Nov 20 at 8:02




          You can prevent this in future using a css linter
          – Jankapunkt
          Nov 20 at 8:02


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53383337%2fmeteor-crashes-on-server-start-with-promise-server-js-error%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Wiesbaden

          Marschland

          Dieringhausen