Custom Parser is Not Running (3.0.0-rc.1)
See original GitHub issueI 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:
- Created 3 years ago
- Reactions:1
- Comments:14 (7 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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.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!