Closed leoj3n closed 5 years ago
I wonder if this is related to https://github.com/stealjs/steal/issues/1490
@leoj3n Could you try the latest StealJS and check if this is still an issue please?
@chasenlehara Thanks, this does seem to no longer be an issue. Will reopen if anything changes.
It would appear the
events
package is missing from the bundle. Here isnpm ls events
:The error manifests like this within the frontend app:
If I update my build npm run-script to manually copy the
events
package fromnode_modules
, the frontend app loads without errors because it can now find the file it was looking for:Original build script:
Updated build script:
There are no other missing scripts causing errors like this, so I wonder if it's something specifically unique to the
events
package (perhaps itspackage.json
is not handled properly).