Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while validating #715

Closed
reghund1986 opened this issue Dec 6, 2023 · 7 comments
Closed

Error while validating #715

reghund1986 opened this issue Dec 6, 2023 · 7 comments
Assignees

Comments

@reghund1986
Copy link
Contributor

HI ,

iam facing some issue while validating the code .
"Error: Command failed: bin/validate-image ./vendor/adeunis/tic.png
'bin' is not recognized as an internal or external command,
operable program or batch file.
"
Are there any packages to be installed?
Could you please help me to resolve the issue
Regards
reghu
TTN Bug

Summary

...

What do you see now?

...

What do you want to see instead?

...

How do you propose to implement this?

...

Can you do this yourself and submit a Pull Request?

...

@github-actions github-actions bot added the needs/triage We still need to triage this label Dec 6, 2023
@KrishnaIyer KrishnaIyer removed the needs/triage We still need to triage this label Dec 7, 2023
@KrishnaIyer
Copy link
Member

@LDannijs, could you please take a look?

@LDannijs
Copy link
Contributor

LDannijs commented Dec 7, 2023

Could you make sure you're running Node.js version 16.x and install dependencies after with make deps

@reghund1986
Copy link
Contributor Author

HI ,

Now I can validate the project without error .

Is there any coding standard to be follow for .js .
Am getting below error message.

TTN Bug_1

Hi ,

I tested the javascript manually , its giving proper output in json format .

{"data":{"id":109,"type":4,"seq_counter":19,"fw_version":1,"values":{"temperature":{"unit":"oc","value":22.9},"humidity":{"unit":"%","value":28.8}},"alarm_status":{"temperature":{"high":false,"low":false},"humidity":{"high":false,"low":true}},"states":{"battery":"100%","msg_type":"normal"}}}

Regards
Reghu

@LDannijs
Copy link
Contributor

LDannijs commented Dec 8, 2023

We have a rundown on making javascript formatters in our documentation: https://www.thethingsindustries.com/docs/integrations/payload-formatters/javascript/

If you have more questions feel free to ask.

@LDannijs
Copy link
Contributor

LDannijs commented Jan 9, 2024

Hello @reghund1986, is this issue fixed? If so we can close it.

@reghund1986
Copy link
Contributor Author

Hello @reghund1986, is this issue fixed? If so we can close it.

Yes , its validating successfully .

@LDannijs
Copy link
Contributor

LDannijs commented Jan 9, 2024

Great to hear! Closing this issue.

@LDannijs LDannijs closed this as completed Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants