Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 82401

"Check widgets" and build report

$
0
0

Hi everyone,

I have some widgets in my project. In one widget's module, I require modules from another widget.

For example, from widgetB module, i used jquery and a plugin from another widgetA like this:

define(["require", "exports", "widgetAName/widget/lib/jqueryDefinitionWidget", "widgetAName/widget/lib/jquery.fancytree-all.min", ...) {"use strict";
...

So,

1. If i click "Check widgets", it said the WidgetB has error.

2. However, I look at "build_webui_bundle_log.txt", there is no error.

3. Then I deployed to acceptance enviroment, and everything works fine.

4. If I remove ""widgetAName/widget/lib/jqueryDefinitionWidget", "widgetAName/widget/lib/jquery.fancytree-all.min", there's no error in "Check widgets", however, I really want to reused those libraries.

Is there anyone experience the same errors?

or do you have solution for my problem? Is there anyway to refer to another widget's module without causes errors in the check.

Best regards,

 


Viewing all articles
Browse latest Browse all 82401

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>