[Bug] full-icu is not supported
See original GitHub issue- I’d be willing to implement a fix
Describe the bug
Yarn fails when I try to install full-icu. I am aware it’s builin in node v13 but my team would prefer to not install unstable node version.
To Reproduce
try {
await yarn(`add`, `full-icu`, '--dev');
expect(true).toBe(false);
} catch (error) {
expect(error.toString()).not.toContain('Failed with errors');
}
Screenshots
Environment if relevant (please complete the following information):
- OS: OSX
- Node version 12.10.0
- Yarn version 2.0.0-rc.28
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:7 (1 by maintainers)
Top Results From Across the Web
2007464 – `npm install full-icu` fails with packaged nodejs
Description of problem: I ran into a problem building a project which has a javascript dependency on `icu`. The following command succeeds on...
Read more >full-icu - npm
install 'full-icu' data for your current node. Latest version: 1.5.0, last published: 4 months ago. Start using full-icu in your project by ...
Read more >node: could not initialize ICU (check NODE_ICU_DATA or ...
I updated the full-icu version as well. the $NODE_ICU_DATA is set to /usr/lib/node_modules/full-icu. but still get this error
Read more >Building Node.js with full-icu on Raspbian - Google Groups
Hello, I need to provide support for ISO-8859-9 (win-1254) in my application. So instead of default implementation of small-icu, I'm installing my
Read more >Errors | Node.js v19.3.0 Documentation
Node.js supports several mechanisms for propagating and handling errors that ... If that first argument is not null and is an instance of...
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 can’t check right now, but it seems like their postinstall script is somehow calling
node /path/to/yarn add ...
, which doesn’t work because it’s a shellscript. Why not callyarn add ...
?(Although even with that, running
yarn add
while an install is already in progress is completely invalid as it would likely lead to dependency tree corruptions)We couldn’t reproduce your issue (all the assertions passed on master).