import * as client from "docker-registry-client"
console.log("client", client)
And I get this error when compiling (npm run dev in that project):
ERROR in ./~/asn1.js-rfc3280/index.js
Module not found: Error: Cannot resolve 'file' or 'directory' ../.. in /Users/abeall/tools/docker-manager/electron/node_modules/asn1.js-rfc3280
@ ./~/asn1.js-rfc3280/index.js 4:13-34
The error only appears when I try to import docker-registry-client. Any idea?
I cloned the electron-react-typescript-boilerplate repo and installed
docker-registry-client
, then added this line toApp.tsx
:And I get this error when compiling (
npm run dev
in that project):The error only appears when I try to import
docker-registry-client
. Any idea?