question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to generate custom metadata with example script "scriptlibphonenumber-metadata"

See original GitHub issue

Hey Nikolay

I followed the new docs for generating a set of custom metadata but the example script provided in the docs fails to execute with the following error: sh: libphonenumber-generate-metadata: command not found. This is the script I’ve included into the package.js: "libphonenumber-metadata": "libphonenumber-generate-metadata metadata.min.json --countries DE --extended",.

What works for me though is the following script: "libphonenumber-metadata": "node bin/update-metadata metadata.min.json --countries DE --extended",.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
catamphetaminecommented, Jan 2, 2017

Yeah, that one was a bit misleading. I rephrased that section.

0reactions
AndreasZeisercommented, Jan 2, 2017

Ah, I got it. There is no issue with yarn.

I was doing all the steps in the libphonenumber-js root folder which I’ve downloaded as a zip archive. I got confused by the section Metadata generation which requires you to fork this project in order to generate metadata.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Custom Metadata relationship - unable to create
You must first create a Lookup relationship, populate the lookup field with data in all records, and then change the relationship type to...
Read more >
Custom Metadata Types Implementation Guide
Subscribers can't add custom metadata records to installed custom metadata types that are protected. To allow subscribers to create.
Read more >
Access Custom Metadata Records Programmatically
Use SOQL to access your custom metadata types and to retrieve the API names of the records of those types.
Read more >
How to Retrieve and Deploy Custom Metadata Types using ANT
Sample of Package.xml to deploy Custom Metadata Types ... not able to use Migration tools to import export records into custom settings.
Read more >
Set custom metadata - Compute Engine - Google Cloud
For example, SSH keys are stored as custom metadata under the ssh-keys key. ... as Cloud Storage, and provide the startup script URL...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found