Welcome to the Linux Foundation Forum!

chap6 lab1


issue with completing the lab

Dear Instructors:

did the following
1. installed nonsynchronoous package
2. add dev dependancies
3. run lint fixes
4. when i run npm test i am getting error below please suggest
node test

throw err;

AssertionError [ERR_ASSERTION]: nonsynchronous should be specified as a devDependency
at Object. (C:\jsnad-labs-apr-15-2021\labs\ch-6\labs-1\test.js:10:1)
at Module._compile (internal/modules/cjs/loader.js:1137:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
at Module.load (internal/modules/cjs/loader.js:985:32)
at Function.Module._load (internal/modules/cjs/loader.js:878:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
at internal/main/run_main_module.js:17:47 {
generatedMessage: false,
actual: false,
expected: true,
operator: '=='


  • santoshsub123

    i am not sure of support here but my intent is to understand and get this lab working. please suggest.

  • davidmarkclements

    hey @santoshsub123

    did you install nonsynchronous as a dev dependency, or did you install it as a dependency? Go over the course material again to understand the difference, and then install it as a dev dependency, not as a dependency. After that the test should pass


Upcoming Training