Error when adding a directory to embark.json
See original GitHub issueI am trying to add a fonts directory to the embark.json file and followed one of the issues as an example.
My embark.json entry is this:
"css/fonts": ["app/css/dist/themes/default/assets/fonts/**"],
and the error I am getting is this:
ENOENT: no such file or directory, stat 'dist/css/fonts/css/dist/themes/default/assets/fonts/icons.eot'
seems like embark is concatenating the target directory specified and the source directory after dropping ‘app/’ and trying to copy that as the file path. I tried making changes to pipeline.js to test, but couldn’t find the tasks folder to re-build with grunt.
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
embark-framework/Lobby - Gitter
Error Compiling/Building contracts: Solidity errors: Unknown exception during compilation. ... I had solc 0.5.9 installed but 0.5.8 specified in embark.json.
Read more >0 - Stack Overflow
json , else just want to create this json file into the alexadata folder. But both of two status, I have an error...
Read more >embark/README.md at master - vyper - GitHub
Add the embark-vyper plugin to embark.json : ... Next, let's create a Vyper contract in the contracts folder of our ÐApp, ... Error...
Read more >Embark Documentation - Read the Docs
The option can be configured at config/blockchain.json. ... flexible and you can configure you're own directory structure using embark.json.
Read more >Configuring Embark
Every application created with Embark comes with an embark.json file. ... The default name of this directory is embarkArtifacts .
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 FreeTop 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
Top GitHub Comments
Confirmed issues:
returns
Work Around
Declare each file needed and skip the globbing code in pipeline.js
@iurimatias I’m lobbying to just remove this pipeline entirely from the framework and make it a plugin all its own. There are too many concerns with serving up front end code that are already solved elsewhere. Plus developers are opinionated about what template libraries and such to use, and embark shouldn’t decide that stuff for them. It would be better to offer some default choices that can be easily swapped out via plugins vs letting the framework get in the way of seeing UI.
Closing as this has been fixed for a while now.