Skip to content

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

@stoefln

Description

@stoefln

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'
      },
   ...
  }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions