#npm & node-gyp error

24 messages Β· Page 1 of 1 (latest)

random acorn
#

I’m having trouble while running npm install on this project . I’ve tried everything

latent path
#

Are you trying to do this inside your one drive?
Perhaps that's the issue.

quick isle
#

I had this happen to me about a week ago with a similar error from node-gyp rebuild. I tried several different things to get it to work:

Installed some .net tools from a stackoverflow answer.

Uninstalled and reinstalled node-gyp globally.

Installed some windows-build-tools plugin.

Used nvm to switch to lower versions of node.

And countless other things. I spent a good 2-3 hours trying to figure out the root of the cause. Nothing worked that I could find.

The reason the command was even running was from a package xml2json that I was trying to install. I had to isolate packages to see which one was causing it, because it was creating the error from a cloned repo when trying to initially install packages and narrowed it down to that. Ended up installing a different package that did the same thing and moved on.

I don't know if you are trying to install a package when this issue arises, but if you are, I would try to look for a package that does a similar thing.

quick isle
latent path
quick isle
latent path
quick isle
latent path
#

my friend is using his PC (windows) with wsl and it's a pleasure to use

random acorn
random acorn
random acorn
latent path
#

I thought because it is a one drive folder, Microsoft might have setup special reading and writing access to it that is only available to the user and not for 3rd party services.

#

I am glad you managed to make it work! πŸ™‚ nicely done

random acorn
quick isle
quick isle
latent path
# quick isle To be honest, I haven't been on a Mac computer since about '98 πŸ˜… so I genuinely...

I've never had a mac before working 6-8 month at my current company hehe
We were working on Dell PC's with Ubuntu on it which is absolutely fine I really loved Ubuntu, everything was very easy going most of the time and it was fast.
Once we had to work from home we wanted to go for a longer holiday with my wife, 3 weeks in total which is waaaay to much for me, 2 weeks is the max I can handle without going mental πŸ˜‚ so I asked my employer if I could borrow a laptop from the office. The response was unexpected: We don't have any laptops available but we will get you one. The same day my manager gave me a call on Zoom, shared his screen and showed me a mac book if that would be good. I was like: wth? yes, of course wow thank you! πŸ˜‚
I did not expect a mac at all but it made sense as I had to deal with mobile application development as well and you cannot develop anything for iOS unless you have a mac πŸ˜… which is very annoying...

quick isle
# latent path I've never had a mac before working 6-8 month at my current company hehe We were...

Yeah, I can go about a week and a half maybe 2 before I start getting stir crazy πŸ€ͺ and feeling a need to be productive! 3 weeks is awesome to have lol but spread out a little though πŸ˜…

I actually started playing with flutter and dart a little bit for mobile app development. It's pretty neat. And they are starting to offer a backend for dart as well. While still a little ways out, it'd pretty neat to think about. But that was one snag I ran into was not being able to see what it looked like for ios. Only android would work because of windows. Also part of the reason I would consider getting a Mac for my next purchase (when I can afford it of course). I've just been so used to windows that it may be a small learning curve for me to use!

latent path
quick isle
#

I was speaking of getting used to some of the differences in keyboards and os (from a ui perspective). I'm not sure how different they in that regard. I've actually not had to use brew at all. But that's an interesting error though. I wonder if it has to do with brew or the specific package being installed πŸ€”