Welcome to the Linux Foundation Forum!

CH 10 Lab 1 exercise validate 500 error in windows


IN CH10 Lab 1 exercise, I kept getting 500 error when running validate, even without any changes. First test was to get back 200 which should have worked fine.

Found that the root cause was because of temp file path in windows resulting without '\'.

Error thrown was below:

Error: ENOENT: no such file or directory, open 'C:Users<username>AppDataLocalTempch-10-labs-1vi55T8ip'

Fixed it by changing ip assignment in line 13 to const ip = join(tmp, 'ip').split('\\').join('\\\\')



Upcoming Training