Chapter 1 Lab 1 - validateLab1.js doesn't exist


I am following the instructions to load the validate file. But I get this response.

MongoDB Enterprise Cluster0-shard-0:PRIMARY> load('validateLab1.js')
2018-11-15T03:15:26.855+0100 E -        [js] file [validateLab1.js] doesn't exist
2018-11-15T03:15:26.855+0100 E QUERY    [js] Error: error loading js file: validateLab1.js :

What’s going on here? Are the instructions incorrect or am I doing it wrong?

Found the answer now in another thread a bit down:

Answer can be found here if anyone else is wondering: Chpater 1 Lab laod(validatedLab1.js)

1 Like