operational-ui icon indicating copy to clipboard operation
operational-ui copied to clipboard

Dependency issues

Open Life-Hex opened this issue 5 years ago • 5 comments

Cant build project - reason unclear.

Possible dependency issue.

logs - https://pastebin.com/1E7QEYRB

Life-Hex avatar Nov 09 '19 09:11 Life-Hex

Seems like you're on Windows. I think from our team, @fabien0102 is the best one to help you out with this since he's the Chief Windows Officer. 🤠

TejasQ avatar Nov 11 '19 10:11 TejasQ

Sure, but as a classic developer, I want to say "works on my computer" 😬

@Life-Hex Can you detail a bit more your environment setup? Are you using powershell, cmd or bash? I think it's powershell regarding your logs, but I prefer to be sure before digging into ^^ (I'm a bash person)

fabien0102 avatar Nov 11 '19 10:11 fabien0102

haha works on your PC!

I use the powershell terminal inside VSCode.

So - vscode/powershell/win10-april/local-npm-modules Thats pretty much it. Pretty sure i'm missing something but please, ask.

@fabien0102 I miss my fedy. can't always have nice things.

Thanks, @TejasQ.

Life-Hex avatar Nov 11 '19 14:11 Life-Hex

Works fine for me on Windows using regular cmd terminal in vscode. Powershell has an issue with case sensitivity, so I don't use it much (though not saying this is your problem).

For example, see below, where the actual directory is C:\Users (with a capital U") but PS will allow you to type incorrect case and then use whatever you typed instead of the actual directory name:

PS C:\Users\mikes> cd \users
PS C:\users> pwd

Path
----
C:\users

PS C:\users>

Then this causes all kinds of issues with node due to problems with the cases of paths not matching.

domehead100 avatar Dec 02 '19 04:12 domehead100

Ah...

This is a sickening gotcha. So subtle, thank you. I'm going to review my path declarations, or just switch to regular CMD, then try again.

Life-Hex avatar Dec 02 '19 05:12 Life-Hex