# Error: File Missing; Undefined

**URL:** https://forum.adalo.com/t/error-file-missing-undefined/45000
**Category:** External Collections, Custom Actions & Collections
**Created:** [January 31, 2024, 6:28am UTC](https://forum.adalo.com/t/error-file-missing-undefined/45000 "2024-01-31T06:28:07Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![hleahy25](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/hleahy25/32/33133_2.png) [@hleahy25](https://forum.adalo.com/u/hleahy25)
#### Post date: [January 31, 2024, 6:28am UTC](https://forum.adalo.com/t/error-file-missing-undefined/45000/1 "2024-01-31T06:28:07Z")

</div>

ERROR: Unexpected error: Error: File missing: /Users/hamishleahy/my-component/src/components/SquarePaymentOnline-Pay/package.json

How do I properly link a file inside the code files  
I have tried to solve it and re-wrote every file but nothing is working on mac os x  
with the adalo npm command " npx adalo dev "

---

<div class="post-metadata">

### Author: ![Victor](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/victor/32/2054_2.png) [@Victor](https://forum.adalo.com/u/Victor)
#### Post date: [January 31, 2024, 6:43am UTC](https://forum.adalo.com/t/error-file-missing-undefined/45000/2 "2024-01-31T06:43:07Z")

</div>

Hey @hleahy25,

Did you try to contact component developer for an advise?

Best,  
Victor.
