You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/05/29 07:18:23 UTC

[GitHub] [incubator-apisix] membphis commented on issue #1626: 修改config.yaml中admin的允许ip后可以进入dashboard,进入后菜单报错

membphis commented on issue #1626:
URL: https://github.com/apache/incubator-apisix/issues/1626#issuecomment-635805852


   @zhaosuqi I make a test right now, your `config.yaml` is invalid.
   
   when I try to call `make init`, I got an error message like this:
   ```
   $ make init
   ./bin/apisix init
   lua: /home/resty/git/membphis/apisix/deps/share/lua/5.1/tinyyaml.lua:40: bad argument #1 to 'ssub' (string expected, got table)
   stack traceback:
   	[C]: in function 'string.sub'
   	/home/resty/git/membphis/apisix/deps/share/lua/5.1/tinyyaml.lua:40: in upvalue 'startswith'
   	/home/resty/git/membphis/apisix/deps/share/lua/5.1/tinyyaml.lua:468: in upvalue 'parseseq'
   	/home/resty/git/membphis/apisix/deps/share/lua/5.1/tinyyaml.lua:661: in upvalue 'parsemap'
   	/home/resty/git/membphis/apisix/deps/share/lua/5.1/tinyyaml.lua:721: in upvalue 'parsedocuments'
   	/home/resty/git/membphis/apisix/deps/share/lua/5.1/tinyyaml.lua:746: in function 'tinyyaml.parse'
   	(...tail calls...)
   	./bin/apisix:649: in field '?'
   	./bin/apisix:865: in main chunk
   	[C]: in ?
   make: *** [Makefile:75: init] Error 1
   ```
   
   ![image](https://user-images.githubusercontent.com/6814606/83232259-73180180-a1bf-11ea-92a5-1350a008a9ca.png)
   


----------------------------------------------------------------
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:
users@infra.apache.org