Open decay29 opened 3 years ago
I’d need access to the file generating the error.
On Jul 26, 2021, at 1:06 PM, decay29 @.***> wrote:
I am trying to add an app from the command line in WSL using a local webserver.
My command is:
./hpm manifest-add-app pm.json lightrule.groovy --location=http://localhost:8100/lightrule.groovy --required=true --oauth=false
to which I get:
[26/Jul/2021 15:39:28] "GET /lightrule.groovy HTTP/1.1" 200 - An error occurred: The app Groovy file http://localhost:8100/lightrule.groovy could not be parsed to determine the name and namespace. Please report this as a bug.
This app installs fine using the standard web interface using the import button and the above url
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
I am trying to add an app from the command line in WSL using a local webserver.
My command is:
./hpm manifest-add-app pm.json lightrule.groovy --location=http://localhost:8100/lightrule.groovy --required=true --oauth=false
to which I get:
[26/Jul/2021 15:39:28] "GET /lightrule.groovy HTTP/1.1" 200 - An error occurred: The app Groovy file http://localhost:8100/lightrule.groovy could not be parsed to determine the name and namespace. Please report this as a bug.
This app installs fine using the standard web interface using the import button and the above url