nileio / node-red-contrib-graphql-server

GraphQL and Subscription server implementation for Node-RED
MIT License
10 stars 1 forks source link

Not Installed Properly #17

Closed spillz-dxb closed 2 years ago

spillz-dxb commented 2 years ago

Have been using the server for older versions of Node.js and Node-red .On installing on a newer version as below.

25 Mar 12:32:10 - [info] Node-RED version: v2.2.1 25 Mar 12:32:10 - [info] Node.js version: v17.6.0 25 Mar 12:32:10 - [info] Linux 5.4.0-100-generic x64 LE

Installation throws some warning and on running NR ,get the following errors. On importing flows , missing type graphql-in is shown.

Mar 12:32:16 - [warn] [node-red-contrib-graphql-server/graphql-in] Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './public/extractFiles' is not defined by "exports" in /home/user/.node-red/node_modules/extract-files/package.json 25 Mar 12:32:16 - [warn] [node-red-contrib-graphql-server/graphql-subscriptionserver] Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './public/extractFiles' is not defined by "exports" in /home/user/.node-red/node_modules/extract-files/package.json

Any ways to resolve this without downgrading?.Thanks in advance.

nileio commented 2 years ago

hi @spillz-dxb can you share the installation log messages ? Did you install it from the Menu - Manage palette ?