Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module not found: Error: Can't resolve '../build/Release/penteract' #11

Open
stoefln opened this issue Dec 24, 2020 · 0 comments
Open

Comments

@stoefln
Copy link

stoefln commented Dec 24, 2020

I am trying to use this in my electron project. Unfortunately when I run my project (via webpack), I am getting this:

    ERROR in ./node_modules/penteract/src/index.js
    Module not found: Error: Can't resolve '../build/Release/penteract' in '/Users/steph/Documents/workspace/myElectronProject/node_modules/penteract/src'
     @ ./node_modules/penteract/src/index.js 1:0-49 25:4-12

I checked the build/Release folder, and there is a penteract.node file present.
Any idea?

On a side note: I am using node-loader, not sure if this is related. Webpack config:

  module: {
    rules: [
      {
        test: /\.node$/,
        use: 'node-loader'
      },
   ...
  }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant