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
./node_modules/@basd/registry/lib/registry.js 125:18
Module parse failed: Unexpected token (125:18)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file.
See https://webpack.js.org/concepts#loaders
After downloading the plugin normally, an error will be reported .
static get(config) {
if (config instanceof this) return config
return config?.registry instanceof this ? config.registry : new this(config)
}
The reason lies in the use of '?.'
Maybe it could be changed to something like this
return config && config.registry instanceof this ? config.registry : new this(config);
Or there could be a better way .
The text was updated successfully, but these errors were encountered:
So, I updated the get method to use lodash get instead, let me know if that works. And regarding the basd lib, if you're using that then you can call it whatever you want other than _, I don't have a way to access the original lodash, I tried to not overwrite any existing methods though.
After downloading the plugin normally, an error will be reported .
The reason lies in the use of '?.'
Maybe it could be changed to something like this
return config && config.registry instanceof this ? config.registry : new this(config);
Or there could be a better way .
The text was updated successfully, but these errors were encountered: