# Some apimocker issue

**URL:** <https://discuss.google.dev/t/some-apimocker-issue/2387>\
**Category:** Apigee\
**Tags:** api-runtime\
**Created:** [September 7, 2019, 7:29pm UTC](https://discuss.google.dev/t/some-apimocker-issue/2387 "2019-09-07T19:29:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous8](https://avatars.discourse-cdn.com/v4/letter/a/7cd45c/32.png) [@anonymous8](https://discuss.google.dev/u/anonymous8)\
**Post date:** [September 7, 2019, 7:29pm UTC](https://discuss.google.dev/t/some-apimocker-issue/2387/1 "2019-09-07T19:29:48Z")

</div>

I am working on installing apimocker in my trial version.I deployed mock in apigee.I used the app for installing node modules in apigee. (Managed Node Packaged Module).I used command =install in the app..

In package json i have updated the following

“Dependencies”: { “apimocker”: “^1.1.3”}.After deployment

the integration test is failing…I have attached the screenshot of the error…[capture-20190908004948.jpg](https://community.apigee.com/storage/attachments/9126-capture-20190908004948.jpg)

Please provide me the right direction or a solution for the error..I apologise for posting a separate question…

```auto
{"fault":{"faultstring":"Script node executed prematurely: missing formal parameter\nmissing formal parameter\n at module.js:439:0\n at module.js:474:0\n at module.js:356:0\n at module.js:312:0\n at module.js:364:0\n at require (module.js:380:0)\n at \/organization\/environment\/api\/app.js:1:0\n at module.js:456:0\n at module.js:474:0\n at module.js:356:0\n at module.js:312:0\n at module.js:497:0\n at startup (trireme.js:142:0)\n at trireme.js:923:0\n","detail":{"errorcode":"scripts.node.runtime.ScriptExitedError"}}}

```

@Dino-at-Google,@Siddharth Barahalikar ,@Ravindra Singh,[@Joydeep Paul](https://community.apigee.com/users/10250/joydeep02780.html),@@Robert Johnson,@Brendan,@[Sai Saran Vaidyanathan](https://community.apigee.com/users/13148/ssvaidyanathan-1.html)

---

<div class="post-metadata">

**Author:** ![anonymous8](https://avatars.discourse-cdn.com/v4/letter/a/7cd45c/32.png) [@anonymous8](https://discuss.google.dev/u/anonymous8)\
**Post date:** [September 7, 2019, 7:33pm UTC](https://discuss.google.dev/t/some-apimocker-issue/2387/2 "2019-09-07T19:33:42Z")

</div>

Can anybody guide me to shift the app to hosted target?Or if i install in a lower version of apimocker it should work?looking for a solution for the same…Which version of apimocker does apigee support?

---

<div class="post-metadata">

**Author:** ![anonymous8](https://avatars.discourse-cdn.com/v4/letter/a/7cd45c/32.png) [@anonymous8](https://discuss.google.dev/u/anonymous8)\
**Post date:** [September 9, 2019, 6:21pm UTC](https://discuss.google.dev/t/some-apimocker-issue/2387/3 "2019-09-09T18:21:44Z")

</div>

You can follow [https://docs.apigee.com/api-platform/hosted-targets/hosted-targets-tutorials](https://docs.apigee.com/api-platform/hosted-targets/hosted-targets-tutorials) for getting started with hosted target.
