Hello world app problems

Hi, I’m creaeting for the first time a app for the homey pro, when i use the command homey app build , i get the following error :

× EPERM: operation not permitted, symlink ‘C:\Users\xxx\xxx\eu.laracker.xxx’ → ‘C:\Users\xxx\github\eu.laracker.xxx.homeybuild\node_modules\eu.laracker.xxx’

Any help would be appriciated, i use a windows machine

Can you show the full output of the command (homey app run --remote)?

1 Like

Hi, this is the full output , the only part which is missing:

✓ Pre-processing app…
× Error: EPERM: operation not permitted, symlink ‘C:\Users\xxx\xxx\eu.laracker.xxx’ → ‘C:\Users\xxx\github\eu.laracker.xxx.homeybuild\node_modules\eu.laracker.xxx’

I don’t understand why it would create a symlink between \Users\xxx\xxx and \Users\xxx\github. Those are two completely different paths.

Hi Robert, for privacy reasons i changed names, but i did something incorrect. This is the one without changes:
C:\Users\halara\github\eu.laracker.fordconnect>homey app build
✓ Building app…
✓ Pre-processing app…
× EPERM: operation not permitted, symlink ‘C:\Users\halara\github\eu.laracker.fordconnect’ → ‘C:\Users\halara\github\eu.laracker.fordconnect.homeybuild\node_modules\eu.laracker.fordconnect’

You may want to open an issue here: GitHub · Where software is built

It looks like the CLI tool has a bug where it misses a directory separator between eu.laracker.fordconnect and .homeybuild.

It’s only when i create a new app, when i try a excisting app from github it’s works.

Did you create your app using homey app create?

Yes i did, i did it multiple times with different names. But al fail.

So still an issue with the CLI tool.

Thanks Robert, but do you mean that i have to report this on a differnt channel?

No, you can report it using the issue tracker that I linked to.