Package I ran npm install again and everything installed without errors. Once my package.json file was updated with the latest version for each It by just running ncu in the folder where your package.jsonįile is or ncu -u to actually modify your package.json file. (luckily npm install worked for this package □) and run You can install it with npm install -g npm-check-updates So that might work for you, but I used a third party package called My understanding is that this is what the npm update command does, Them one-by-one I wanted to upgrade everything to their latest version Rather than figure out the latest version for each package and upgrading Npm ERR! Unsupported platform: darwin arm64 LE Npm ERR! path /Users/aj/Development/blog/node_modules/esbuild Here's an example of an error I was getting that went away after updating It seems obvious, but I was able to make all of my npm install errors goĪway by upgrading all of my packages to their latest version. That said the error was fixed in a new version of the package. The errors I was seeing I would find it mentioned in a closed Github Issue When I was trying to debug this I was confused because when I would Google Last thing I did, because I suspect that if I had just done that I could If it works, great! You can stop reading now □ Now, cd into your project folderĪnd run npm install. Need a different version for your project. I installed the latest version (17) which ended up working for me, but you may Once you have that installed you should use nvm to install some version of node. nvm for installing node, npm, and switching node versions.Homebrew for installing command line utilities on Mac.It so you know what to do if this happens to you.īefore you get started, I recommend you install three things on your However, when I re-cloned the repo for this blog and Software built for Intel-based Macs, but I figured all of that would I heard that there were some issues with software compatibility with I got the basic Macbook Air but with 16 GB of RAM if you're wondering. I just bought a new Macbook with an M1 chip to work on my
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |