minhlucvan / n8n-nodes-browserless

n8n node to interact with browserless instance
MIT License
82 stars 10 forks source link

Error installing new package #12

Open blackchineykh opened 2 weeks ago

blackchineykh commented 2 weeks ago

Error loading package "n8n-nodes-browserless" :The specified package could not be loaded Cause: Class extends value undefined is not a constructor or null

n8n Version 1.61.0

minhlucvan commented 1 week ago

Hi @blackchineykh, could you share more logs, I am able to run the node with n8n@1.62.3

att083 commented 1 week ago

same issue here, I installed n8n via https://github.com/n8n-io/self-hosted-ai-starter-kit. using docker desktop. The version I use is 1.62.4

2024-10-11 16:44:12 Error loading node "Browserless" from: "/home/node/.n8n/nodes/node_modules/n8n-nodes-browserless/dist/nodes/Browserless/Browserless.node.js" - Class extends value undefined is not a constructor or null 2024-10-11 16:44:13 InternalServerError: Error loading package "n8n-nodes-browserless" :The specified package could not be loaded 2024-10-11 16:44:13 Cause: Class extends value undefined is not a constructor or null

minhlucvan commented 1 week ago

Hi @att083 , did you install the node from GUI image

minhlucvan commented 1 week ago

btw, I have another node that kind of similar to browserless called firecrawl

https://community.n8n.io/t/n8n-community-node-firecrawl/55546

you might want to check it out while reolving the issue

blackchineykh commented 1 week ago

Hi @blackchineykh, could you share more logs, I am able to run the node with n8n@1.62.3

Here are the logs I see. I am installing from the GUI

Error loading node "Browserless" from: "/home/node/.n8n/nodes/node_modules/n8n-nodes-browserless/dist/nodes/Browserless/Browserless.node.js" - Class extends value undefined is not a constructor or null
InternalServerError: Error loading package "n8n-nodes-browserless" :The specified package could not be loaded
Cause: Class extends value undefined is not a constructor or null
Error loading node "Browserless" from: "/home/node/.n8n/nodes/node_modules/n8n-nodes-browserless/dist/nodes/Browserless/Browserless.node.js" - Class extends value undefined is not a constructor or null
InternalServerError: Error loading package "n8n-nodes-browserless" :The specified package could not be loaded
Cause: Class extends value undefined is not a constructor or null
browserId check failed on /rest/community-packages/