imjoey opened a new issue #1237:
URL: https://github.com/apache/apisix-dashboard/issues/1237


   # Bug report
   
   ## Describe the bug
   
   I would get the following errors at running 
`./api/build-tools/schema-sync.sh` to sync schema definitions with APISIX.
   
   ```
   lua: ./apisix/init.lua:24: module 'resty.ngxvar' not found:
   ```
   
   and 
   
   ```
   lua: ./apisix/plugins/traffic-split.lua:21: module 'resty.roundrobin' not 
found:
   ```
   
   After I added these two missing module names into `fake_module_list` 
variable. Everything works fine. So please have a check, if it's a bug,  I 
would commit a PR to fix that. Thanks.
   
   I guess this bug is similar to 
https://github.com/apache/apisix-dashboard/issues/1216 . PR #1221 had fixed 
part of it, we still add the missing `resty.ngxvar` and `resty.roundrobin`.
   
   
   ## How to Reproduce
   
   1. Run `./api/build-tools/schema-sync.sh`;
   2. See error above;
   
   ## Expected behavior
   
   The shell runs fine and the new schema.json is synchronized successfully.
   
   
   ## System information
   
   - OS: macOS
   - Version: latest 190949c in master branch
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to