# Plugin dev & upgrade

**URL:** <https://discuss.elastic.co/t/plugin-dev-upgrade/193797>\
**Category:** Kibana\
**Created:** [August 5, 2019, 1:04pm UTC](https://discuss.elastic.co/t/plugin-dev-upgrade/193797 "2019-08-05T13:04:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![undwood](https://avatars.discourse-cdn.com/v4/letter/u/a88e57/32.png) [@undwood](https://discuss.elastic.co/u/undwood)\
**Post date:** [August 5, 2019, 1:04pm UTC](https://discuss.elastic.co/t/plugin-dev-upgrade/193797/1 "2019-08-05T13:04:09Z")

</div>

Hello. Can anybody help us with some problems while upgrading plugin for kibana?  
Plugin we have developed for version 6.5 and 7.0-SNAPSHOT. It works ok in both version. Of course, there are some difference for server code, but they are not so significant.  
Now, we are trying to start kibana with plugin for 7.2 version.  
**for kibana home**  
git checkout 7.2  
nvm use v10.15.2  
yarn es archive elasticsearch-7.2.0-darwin-x86\_64.tar.gz -E path.data=../data5 --license oss  
**for plugin home**  
yarn kbn clean  
yarn kbn bootstrap  
yarn start --oss

And getting an error:  
export const AppConstants = {  
^^^^^^  
SyntaxError: Unexpected token export

It seems, that it doesn't understand for standard token 'export'  
Why, where is the problem?

---

<div class="post-metadata">

**Author:** ![ylasri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ylasri/32/86120_2.png) [@ylasri](https://discuss.elastic.co/u/ylasri)\
**Post date:** [August 5, 2019, 1:11pm UTC](https://discuss.elastic.co/t/plugin-dev-upgrade/193797/2 "2019-08-05T13:11:26Z")

</div>

Hi @undwood  
Check this link it may help [https://www.elastic.co/blog/kibana-plugin-api-changes-in-7-2](https://www.elastic.co/blog/kibana-plugin-api-changes-in-7-2)

---

<div class="post-metadata">

**Author:** ![undwood](https://avatars.discourse-cdn.com/v4/letter/u/a88e57/32.png) [@undwood](https://discuss.elastic.co/u/undwood)\
**Post date:** [August 8, 2019, 10:04am UTC](https://discuss.elastic.co/t/plugin-dev-upgrade/193797/3 "2019-08-08T10:04:52Z")

</div>

I didn't find info on this page.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 5, 2019, 10:10am UTC](https://discuss.elastic.co/t/plugin-dev-upgrade/193797/4 "2019-09-05T10:10:59Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
