Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

Commit

Permalink
fix: resolve ERR_PACKAGE_PATH_NOT_EXPORTED in electron
Browse files Browse the repository at this point in the history
  • Loading branch information
SgtPooki committed Sep 8, 2022
1 parent ec5ed97 commit 9bd71cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/utils/daemon-factory.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@

import { createFactory } from 'ipfsd-ctl'
import isNode from 'detect-node'

export async function daemonFactory () {
let ipfsHttpModule
let ipfsModule
const { createFactory } = await import('ipfsd-ctl')

try {
ipfsHttpModule = await import(process.env.IPFS_JS_HTTP_MODULE)
Expand Down

0 comments on commit 9bd71cc

Please sign in to comment.