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:
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
The solution is to downgrade to sass 1.32.
However I’m using gulp-dart-sass - how can I avoid all the warning messages?
1 Like
It seems that the problem is with aurelia-cli
and not bootstrap
opened 01:13PM - 21 May 21 UTC
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
1 Like
I will invest the issue. Probably need some deps upgrade for cli.
Pls create an issue on cli repo to track this, thx.
1 Like
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
1 Like