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
An asset bundle that depends on 'craft\web\assets\cp\CpAsset' has a higher javascript file position configured than 'craft\web\assets\cp\CpAsset'.`
I found in this file: production/htdocs/vendor/chasegiunta/craft-jason/src/fields/JasonField.php that if I change the view position at this line, the page will be correctly display.
I have created a Jason field in my craft 4.0 website without issue. As I went back to edit my field, this error is displayed.
`Invalid Configuration – yii\base\InvalidConfigException
An asset bundle that depends on 'craft\web\assets\cp\CpAsset' has a higher javascript file position configured than 'craft\web\assets\cp\CpAsset'.`
I found in this file: production/htdocs/vendor/chasegiunta/craft-jason/src/fields/JasonField.php that if I change the view position at this line, the page will be correctly display.
Craft::$app->getView()->registerAssetBundle(JasonFieldAsset::class, View::POS_BEGIN );
to
Craft::$app->getView()->registerAssetBundle(JasonFieldAsset::class, View::POS_END );
I'm not sure how this could affect the others functionalities of the plugin, but so far I don't see anything weird.
The text was updated successfully, but these errors were encountered: