# ENOENT problem only on netlify

**URL:** <https://answers.netlify.com/t/enoent-problem-only-on-netlify/73233>\
**Category:** Support\
**Tags:** lambda-functions, netlify-newbie\
**Created:** [August 11, 2022, 3:18pm UTC](https://answers.netlify.com/t/enoent-problem-only-on-netlify/73233 "2022-08-11T15:18:58Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![hrishikesh](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/hrishikesh/32/74607_2.png) [@hrishikesh](https://answers.netlify.com/u/hrishikesh)\
**Post date:** [August 21, 2022, 9:34am UTC](https://answers.netlify.com/t/enoent-problem-only-on-netlify/73233/6 "2022-08-21T09:34:58Z")

</div>

Sorry for the delay, but I’m unable to see the issue that you mention. As I mentioned, I cloned the repo, installed the Node Modules, set the `.env` file and ran `netlify dev` in terminal. Whenever I go to:

```auto
http://localhost:8888/api/creation/test

```

I get the error:

```auto
SyntaxError - Cannot use import statement outside a module

```

While this can possibly be fixed, your codebase seems to be all over the place and offering such code-level debugging is unfortunately out of our scope. If you know how to get past this issue to see the actual problem you’re seeing.

---

_[View the full topic](https://answers.netlify.com/t/enoent-problem-only-on-netlify/73233)._
