# For anyone seeing problems with Bootstrap 5.0.1

**URL:** <https://discourse.aurelia.io/t/for-anyone-seeing-problems-with-bootstrap-5-0-1/4224>\
**Category:** Help Requests\
**Created:** [May 21, 2021, 2:03pm UTC](https://discourse.aurelia.io/t/for-anyone-seeing-problems-with-bootstrap-5-0-1/4224 "2021-05-21T14:03:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeremyholt](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/jeremyholt/32/1098_2.png) [@jeremyholt](https://discourse.aurelia.io/u/jeremyholt)\
**Post date:** [May 21, 2021, 2:03pm UTC](https://discourse.aurelia.io/t/for-anyone-seeing-problems-with-bootstrap-5-0-1/4224/1 "2021-05-21T14:03:45Z")

</div>

This isn’t an aurelia problem, but as of this morning I suddenly started seeing `not loaded ‘define-properties’ errors in almada.js.

After hours of messing around the solution was:

```auto
yarn add array.prototype.filter@0.1.1
yarn add available-typed-arrays@1.0.2

```

There is also an issue on twbs about sass deprecation errors [Sass: DEPRECATION WARNING: Using `/` for division is deprecated and will be removed in Dart Sass 2.0.0 · Issue #34051 · twbs/bootstrap · GitHub](https://github.com/twbs/bootstrap/issues/34051)

The solution is to downgrade to sass 1.32.

However I’m using gulp-dart-sass - how can I avoid all the warning messages?

---

<div class="post-metadata">

**Author:** ![jeremyholt](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/jeremyholt/32/1098_2.png) [@jeremyholt](https://discourse.aurelia.io/u/jeremyholt)\
**Post date:** [May 22, 2021, 5:16am UTC](https://discourse.aurelia.io/t/for-anyone-seeing-problems-with-bootstrap-5-0-1/4224/2 "2021-05-22T05:16:02Z")

</div>

It seems that the problem is with `aurelia-cli` and not `bootstrap`

> <https://github.com/es-shims/Array.prototype.filter/issues/2>
>
> I submitted this bug report on the bootstrap project as well
> 
> I'm using aureli…a v1.0, bootstrap 5.0.1
> I ran yarn upgrade and am now getting an error not loaded: define-properties.
> I've been able to track the error down to array.prototype.filter which is installed only by bootstrap 5.0.1
> I'm guessing that the error is in the first line of index.js
> \`\`\`
> 'use strict';
> 
> var define = require('define-properties');
> var RequireObjectCoercible = require('es-abstract/2020/RequireObjectCoercible');
> var callBound = require('call-bind/callBound');
> 
> var implementation = require('./implementation');
> var getPolyfill = require('./polyfill');
> var polyfill = getPolyfill();
> var shim = require('./shim');
> 
> var $slice = callBound('Array.prototype.slice');
> 
> // eslint-disable-next-line no-unused-vars
> var bound = function filter(array, callbackfn) {
> RequireObjectCoercible(array);
> return polyfill.apply(array, $slice(arguments, 1));
> };
> define(bound, {
> getPolyfill: getPolyfill,
> implementation: implementation,
> shim: shim
> });
> 
> module.exports = bound;
> \`\`\`
> I have run npm define-properties but to no avail.
> 
> I have also cloned the array.prototype.filter project and can't even get it to run the tests
> 
> The project seems to have been updated a few days ago, but I can't find the previous version.
> 
> I should add that my project was running perfectly until this morning.
> 
> Window 10 pro 10.0.19043
> Microsoft Edge Version 90.0.818.62

---

<div class="post-metadata">

**Author:** ![huochunpeng](https://avatars.discourse-cdn.com/v4/letter/h/49beb7/32.png) [@huochunpeng](https://discourse.aurelia.io/u/huochunpeng)\
**Post date:** [May 22, 2021, 12:06pm UTC](https://discourse.aurelia.io/t/for-anyone-seeing-problems-with-bootstrap-5-0-1/4224/3 "2021-05-22T12:06:09Z")

</div>

I will invest the issue. Probably need some deps upgrade for cli.

Pls create an issue on cli repo to track this, thx.

---

<div class="post-metadata">

**Author:** ![ghiscoding](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/ghiscoding/32/1199_2.png) [@ghiscoding](https://discourse.aurelia.io/u/ghiscoding)\
**Post date:** [May 22, 2021, 6:22pm UTC](https://discourse.aurelia.io/t/for-anyone-seeing-problems-with-bootstrap-5-0-1/4224/4 "2021-05-22T18:22:04Z")

</div>

I got those errors too and I downgraded to version 1.32 to fix my issues. However they released another yesterday (which I haven’t tried yet) that has the option to quiet the warnings, take a look at the new [release](https://github.com/sass/dart-sass/releases)
