Sunday, 4 June 2017

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, as can be seen from the stack trace above.



via fccoelho

No comments:

Post a Comment