Default bundler and bootstrap 5

Hi, guys. I’ve been using bootstrap 4 with the “cli-bundler” most of the time.
Ultimately I’ve been porting to bootstrap beta 2 and all has been fine.
But… when updated to beta 3 and then the official release of bootstrap 5, aurelia build fails with a strange “esprima” error.
Has anyone already hit this wall?
Otherwise, I’ll make a repo for us to discover what’s happening there.
Best regards,
Cristián

1 Like

Upgrade to latest aurelia-cli.
The esprima parser is way outdated, it does not understand latest JS syntax. We switched to meriyah parser.

1 Like

Thanks, Huo for the info.
That solved the issue of esprima. Another issue arised but it must be something else. sharp node module got damaged. it won’t install.
I am using it to create responsive images.
Will try to find an alternative gulp package for this.
Regards,
Cristian

Just to close the topic.
My setup was just lagging behind and with an update to node@latest and reinstalling dependencies, everything got back to functioning.
Thanks.

1 Like