Skip to content

edge.func is not a function #32

@jazzmn

Description

@jazzmn

Description
When using this module with edge-js I get an Uncaught TypeError: edge.func is not a function
It occurs on all function calls to printer.
The edge-js package seems to work correctly, I could execute their examples.

To Reproduce
I did the following steps

  1. npm i edge-js
  2. npm install node-native-printer --save
  3. Which package do you want to use? edge-cs
  4. start node
  5. const printer = require('node-native-printer');
  6. printer.listPrinters()
    and then I got:
    Uncaught TypeError: edge.func is not a function
    at WinPrinter.listPrinters (C:\Users\tobia\Documents\Devel\tmp\printe\node_modules\node-native-printer\src\windows_printer.js:20:19)

Expected behavior
I didn't get node-native-printer to work at all

OS

  • Windows 10
  • Nodejs v12.16.1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions