Meteor app not finding 'xhr-sync-worker.js'?

I am trying to run a deck.gl example inside a meteor app. But I am facing this error.

modules-runtime.js?hash=8587d18…:231 Uncaught Error: Cannot find module './xhr-sync-worker.js'
    at makeMissingError (modules-runtime.js?hash=8587d18…:231)
    at Function.require.resolve (modules-runtime.js?hash=8587d18…:263)
    at xmlhttprequest.js (xml.js:30)
    at fileEvaluate (modules-runtime.js?hash=8587d18…:343)
    at require (modules-runtime.js?hash=8587d18…:238)
    at Window.js (xml.js:30)
    at fileEvaluate (modules-runtime.js?hash=8587d18…:343)
    at require (modules-runtime.js?hash=8587d18…:238)
    at api.js (xml.js:30)
    at fileEvaluate (modules-runtime.js?hash=8587d18…:343)

However the said js module is present in the meteor app node_modules folder.

/caseview/node_modules/jsdom/lib/jsdom/living/xhr-sync-worker.js

How can I make my app see it?. Note That I am not importing it directly in my code, as can be seen from the stack trace above. Perhaps this is a meteor bug.


I had these issues in past in Meteor where it says some file is not found in node_modules. I don't know the exact reason why this occurs but yes it looks like some Meteor bug.

So, how I fixed this was by deleting node_modules folder and then doing meteor npm install again. Try this and I think this work in your case too. Let me know if it doesn't help.

Meteor app not finding 'xhr-sync-worker.js'?, I had these issues in past in Meteor where it says some file is not found in node_modules . I don't know the exact reason why this occurs but  I need help for i am develop the meteor Js app, it is working on local meteor but after deploy the app it is not showing the web page ,it shows empty page .I had checking load the entire code but not showing the page.Please how to solve this problem. My app url is: hcaresample.meteor.com


I also had the same problem and it seemed to disappear when I renamed the file I was requiring JSDOM in from index.js to index.es6. I believe it have to do with the ...require(); function.

javascript - Meteor app not finding 'xhr-sync-worker.js'?, I had these issues in past in Meteor where it says some file is not found in node_modules . I don't know the exact reason why this occurs but  Meteor activity varies greatly from one night to another. Most of the time you can expect to see 3-15 meteors per hour, but several times per year this number could rise to 90, or even more! The MeteorActive app uses the latest scientific findings and cutting edge technology to calculate how many meteors you can see at given time.


I just ran into this problem and was able to resolve my issue, so I thought I'd include it here for posterity.

I had added JSDOM through NPM, and inadvertently required jsdom on both my client side and server side code.

By wrapping the require in a Meteor.isServer condition I resolved my problem.

if (Meteor.isServer) {
  const jsdom = require("jsdom");
}

So if you are running into this issue double check you are not trying to run the code on the client unintentionally.

Tasks DB items not displaying in web app · Issue #30 · meteor , Tasks DB items not displaying in web app #30 within project dir. the db insert was called and then verified successful with a find() . meteor add autopublish  How to Use Meteor APM. While there is no right or wrong way to use Meteor APM, here are some common use cases. Finding Bottlenecks in Meteor Methods and Fixing Them. Normally, for a typical Meteor application, the Average Response Time of a Meteor Method should not be more than 200ms. If it exceeds this, you may be able to improve performance.


Problems running on mobile · Issue #107 · meteor/todos · GitHub, meteor run android does not start app on emulator. When executing on a device meteor run android-device , the app has trouble connecting to  Running your app on Android or iOS. Currently, Meteor on Windows does not support mobile builds. If you are using Meteor on Windows, you should skip this step. So far, we've been building our app and testing only in a web browser, but Meteor has been designed to work across different platforms - your simple todo list website can become an iOS


Connecting React Native and Meteor - Differential, Our Meteor app is going to be extremely simple and won't have anything in terms of a web Now I'm not going to go into much detail beyond (like covering file structure) Also of note is that the data you're accessing via a find is returned as a  First install Chocolatey, then run this command using an Administrator command prompt: choco install meteor. Meteor supports Windows 7/Windows Server 2008 R2 and up. The installer uses Chocolatey, which has its own requirements. Disabling antivirus (Windows Defender, etc.) will improve performance. iOS development is not supported.


Troubleshooting - Nginx and Meteor, as UID 70) does not have permission to access this file. -the-web-app-nginx-​reports-a-permission in order to find out what language it's written in. In this crash course we will go over all of the fundamentals of the MeteorJS JavaScript framework. Some of the concepts we will look at are Installation & Setup Templates MongoDB Collections