Title: NPM error when downloading anchor cli :notfoundram
Tags: npm;npm-install;solana;solana-cli;anchor-solana
Question: I've been receiving the same : notfoundram error when attempting to npm install yarn and the anchor cli.
Error:
input: npm i @project-serum/anchor-cli
cli output: : not foundram Files/nodejs/npm: 3:
: not foundram Files/nodejs/npm: 5:
/mnt/c/Program Files/nodejs/npm: 6: Syntax error: word unexpected (expecting &quot;in&quot;)
I am currently running Ubuntu on my Windows 11 machine.



{'source': 'StackExchangeDataset', 'subset': 'stackoverflow.com', 'metadata': {'AnswerCount': 0, 'CommentCount': 0, 'ContentLicense': 'CC BY-SA 4.0', 'CreationDate': '2022:00:01/05/22', 'FavoriteCount': None, 'PostTypeId': 1, 'Tags': '<npm><npm-install><solana><solana-cli><anchor-solana>', 'Title': 'NPM error when downloading anchor cli :notfoundram', 'ViewCount': 77, 'id': 70587554, 'user_AboutMe': '', 'user_AccountId': 18287870.0, 'user_DisplayName': 'speedstroked', 'user_Reputation': 1.0, 'user_Views': 1.0, 'user_id': 13315344.0}}