nebula-contrib / nebula-node

Nebula Graph Client for Node.js
26 stars 9 forks source link

v3.0.2 - Error: Cannot find module #24

Closed imrefazekas closed 1 year ago

imrefazekas commented 1 year ago

3.0.1 works fine, but 3.0.2 drops an error while importing ... at line: const { createClient } = require( '@nebula-contrib/nebula-nodejs' )

OS: MacOS 13.3.1 Node 20.1.0

Error: Cannot find module '/Users/vii/Ruse/Argus/argus-entitier/node_modules/@nebula-contrib/nebula-nodejs/index.js'. Please verify that the package.json has a valid "main" entry
imrefazekas commented 1 year ago

Was an NPM installation error...

imrefazekas commented 1 year ago
Screenshot 2023-05-09 at 08 33 52

NPM installs it and the "index.js" referenced by the package.json is not there ...

Screenshot 2023-05-09 at 08 35 44
imrefazekas commented 1 year ago
Screenshot 2023-05-09 at 08 36 50

3.0.1 still has it ...

wey-gu commented 1 year ago

Sorry, it seems I am not publishing it correctly, let me check.