Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Error with karma unit tests #72

Closed
popod opened this issue Aug 9, 2017 · 1 comment
Closed

Error with karma unit tests #72

popod opened this issue Aug 9, 2017 · 1 comment

Comments

@popod
Copy link

popod commented Aug 9, 2017

When running unit tests with karma, I've this error:

ERROR in ./app/node_modules/keytar/lib/keytar.js
Module not found: Error: Can't resolve 'node-loader' in '/rootPath'
 @ ./app/node_modules/keytar/lib/keytar.js 1:13-52
 @ ./app/src/renderer/routes.js
 @ ./app/src/renderer ^\.\/(?!main(\.js)?$)
 @ ./test/unit/index.js

What should be the problem ?

@popod
Copy link
Author

popod commented Aug 9, 2017

My bad.. node-loader was not installed in devDependencies !

@popod popod closed this as completed Aug 9, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant