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
With the release of 1.1.2, I've encountered an issue loading my .bootstraprc file unless I include an empty scripts section. I haven't had a need for the scripts section and only had a styles section. It does not seem to matter if the config is json or yaml.
Error: ./~/bootstrap-loader/lib/bootstrap.loader.js!./~/bootstrap-loader/no-op.js
Module build failed: TypeError: Cannot convert undefined or null to object
at Function.keys (native)
at exports.default (/home/ubuntu/fons-app/node_modules/bootstrap-loader/lib/utils/selectModules.js:14:17)
at createConfig (/home/ubuntu/fons-app/node_modules/bootstrap-loader/lib/bootstrap.config.js:125:44)
at Object.module.exports.pitch (/home/ubuntu/fons-app/node_modules/bootstrap-loader/lib/bootstrap.loader.js:100:40)
@ ./~/bootstrap-loader/loader.js 1:0-44
So the thing that is undefined or null is the scripts section of the config, and then it tries to do Object.keys on that, which obviously fails.
Let me know if you need more information! Thanks for creating such an awesome module!
The text was updated successfully, but these errors were encountered:
Hello!
With the release of 1.1.2, I've encountered an issue loading my .bootstraprc file unless I include an empty
scripts
section. I haven't had a need for thescripts
section and only had astyles
section. It does not seem to matter if the config is json or yaml.An example of my offending config:
And the corresponding working version:
Note the empty
scripts
section.The stack trace from the bad config:
So the thing that is undefined or null is the scripts section of the config, and then it tries to do
Object.keys
on that, which obviously fails.Let me know if you need more information! Thanks for creating such an awesome module!
The text was updated successfully, but these errors were encountered: