maty21 / mocha-sidebar

Mocha side bar viewer that allows you to run Mocha tests from side bar menu and view results can run each level hierarchy from all tests to a single test(and each describer of course)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cannot find module when importing json file in nodejs application

amankumarcs opened this issue · comments

issuetype: bug
when i'm launching a mocha side bar, i'm seeing in a log "cannot find module" error for importing json file.

`Error: Cannot find module '/home/micro_ut/configurations/app.configuration'
Require stack:
-/home/micro_ut/configurations/app.configuration.js

  • /home/micro_ut/db_client/mongoose-connect.js
  • /home/micro_ut/dao/base.collection.class.js`

Steps to Reproduce
see error above

Expected Results
no errors when mocha sidebar starts

Actual Results
see above

Settings file
no special settings

Versions
Mocha SideBar: v0.22.2
Node Version: v12.22.12