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.

Custom Parser is Not Running (3.0.0-rc.1)

See original GitHub issue

I tried running the example here (https://github.com/amzn/style-dictionary/tree/3.0/examples/advanced/yaml-tokens) and it appears that the parse function is not running. The css output file in the build directory is not outputting any tokens. Also, when I tried to log the contents or the filePath properties of the parse function parameter, nothing was logged.

I also upgraded to 3.0.0-rc.1 in my own project, and I use the extend function in my config, but it still doesn’t work (i.e. the output files don’t have any of the tokens/properties). I saw that there was https://github.com/amzn/style-dictionary/pull/511, but #511 has not yet been included in a release. It appears that pre- and post-#511, the yaml parser is not working.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:14 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
danlevy1commented, Jan 15, 2021

Sorry about the late response, but it’s working for me with RC 2 (in my personal project)! I’ll test out the yaml example in your repo later today and see if I can replicate what @jkinley is saying.

1reaction
jkinleycommented, Jan 15, 2021

Hey gang, I have resolved my issue. I knew it was something dumb I was doing. I am still a bit new at this type of dev work so I knew that I just had to keep working at it. In the end, my path to the source dir was not correct. Thanks again for the kindness and support!

Read more comments on GitHub >

github_iconTop Results From Across the Web

After updating npm packages. Error: Could not parse template ...
warning "vue-styleguidist > css-loader@2.1.1" has unmet peer dependency "webpack@^4.0.0". warning "vue-styleguidist > terser-webpack-plugin@2.3.
Read more >
The pipe ' ' could not be found angular2 custom pipe
Make sure you are not facing a "cross module" problem. If the component which is using the pipe, doesn't belong to the module...
Read more >
clap - Rust - Docs.rs
derive: Enables the custom derive (i.e. #[derive(Parser)] ). Without this you must use one of the other methods of creating a clap CLI...
Read more >
Migrating AWS Glue jobs to AWS Glue version 3.0
This topic describes the changes between AWS Glue versions 0.9, 1.0, 2.0 and 3.0 to allow you to migrate your Spark applications and...
Read more >
Configuration - Spark 3.0.1 Documentation - Apache Spark
Note: In client mode, this config must not be set through the SparkConf directly in your application, because the driver JVM has already...
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