You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using nathantreid:static-assets, Meteor behaves fine in the development mode using meteor run.
During rollout into production a bundle is generated using meteor build direct from the repository clone. Opening the new application in the browser will throw a JavaScript error Uncaught Error: Cannot find module '…'
When generating the bundle a second time without modification of any of the files, it works. No JavaScript errors are shown in the browser.
When using nathantreid:static-assets, Meteor behaves fine in the development mode using meteor run.
During rollout into production a bundle is generated using meteor build direct from the repository clone. Opening the new application in the browser will throw a JavaScript error Uncaught Error: Cannot find module '…'
When generating the bundle a second time without modification of any of the files, it works. No JavaScript errors are shown in the browser.
See https://github.com/qnipp/meteor-double-build-bug to reproduce the bug.
The bug was observed on Linux, using Meteor 1.8.1 and Node version 8.15.1 (which is the corresponding Node version for this Meteor version).
On 1.8.2 and 1.9-beta.3, even a second build does not help, the error remains.
The bug is reported to Meteor as well: meteor/meteor#10780
The text was updated successfully, but these errors were encountered: