require packages not supported?
See original GitHub issueI have a package in my require config in this manner:
packages: [
{
name: 'CryptoJS',
location: 'path-to/bower_components/crypto-js',
main: 'index'
}
]
but asset graph builder still tries to load CryptoJS from basepath and shows warnings am sure this is a valid configuration since the unbuilt version gets configured correctly . Paths work correctly if not defined in an array an I am not having any issue with them
Issue Analytics
- State:
- Created 8 years ago
- Reactions:1
- Comments:24 (13 by maintainers)
Top Results From Across the Web
Error [ERR_REQUIRE_ESM]: require() of ES Module not ...
The error [ERR_REQUIRE_ESM]: require() of ES Module not supported. ... only package, which means that the package cannot be imported with `require()` anymore....
Read more >Package type "library" is not supported · Issue #26 - GitHub
When I run composer require <package> with v2.0.0, it errors out: ... [InvalidArgumentException] Package type "library" is not supported. Composer 1.10.13
Read more >Required packages are not auto-installed - Stack Overflow
I put all the required packages in the Imports field in DESCRIPTION. How come that required package is not installed automatically? Do my...
Read more >Loading R Packages: library() or require()? - R-bloggers
In my Linear Models class, the instructor likes to use require(package). This made me wonder, are the commands interchangeable?
Read more >'package 'foo' is not available' - What to do when R tells you it ...
This common error means the package you're looking for can't be installed from CRAN. This is how you solve it.
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
(I promise that things will stabilize once we have a non-prerelease out 😃
Actually I can tell why it doesn’t happen. It’s a very recently introduced regression. Fixed in https://github.com/assetgraph/assetgraph-builder/commit/62fda2c0af766906e6892f090248a07d1e5b0312