Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error installing new package #12

Open
blackchineykh opened this issue Oct 6, 2024 · 15 comments
Open

Error installing new package #12

blackchineykh opened this issue Oct 6, 2024 · 15 comments
Labels
bug Something isn't working

Comments

@blackchineykh
Copy link

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 minhlucvan added the bug Something isn't working label Oct 10, 2024
@minhlucvan
Copy link
Owner

Hi @blackchineykh, could you share more logs, I am able to run the node with [email protected]

@att083
Copy link

att083 commented Oct 11, 2024

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
Copy link
Owner

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

@minhlucvan
Copy link
Owner

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
Copy link
Author

Hi @blackchineykh, could you share more logs, I am able to run the node with [email protected]

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/

@Zewb
Copy link

Zewb commented Nov 15, 2024

Hey @minhlucvan same issue as the other person.

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

@SvbZ3r0
Copy link

SvbZ3r0 commented Jan 25, 2025

Error loading package "n8n-nodes-browserless" :The specified package could not be loaded
Cause: Class could not be found. Please check if the class is named correctly.
ResponseError: Error loading package "n8n-nodes-browserless" :The specified package could not be loaded
Cause: Class could not be found. Please check if the class is named correctly.
    at CommunityPackagesController.installPackage (/usr/local/lib/node_modules/n8n/dist/controllers/community-packages.controller.js:81:19)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at handler (/usr/local/lib/node_modules/n8n/dist/decorators/controller.registry.js:93:24)
    at /usr/local/lib/node_modules/n8n/dist/response-helper.js:110:26

I faced a similar issue trying to install this from the GUI. Running n8n docker on unRaid.

@GollyJer
Copy link

GollyJer commented Feb 17, 2025

Error loading package "n8n-nodes-browserless" :The specified package could not be loaded
Cause: Class could not be found. Please check if the class is named correctly.
ResponseError: Error loading package "n8n-nodes-browserless" :The specified package could not be loaded
Cause: Class could not be found. Please check if the class is named correctly.
at CommunityPackagesController.installPackage (/usr/local/lib/node_modules/n8n/dist/controllers/community-packages.controller.js:81:19)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at handler (/usr/local/lib/node_modules/n8n/dist/decorators/controller.registry.js:93:24)
at /usr/local/lib/node_modules/n8n/dist/response-helper.js:110:26

I faced a similar issue trying to install this from the GUI. Running n8n docker on unRaid.

Any luck getting this working @SvbZ3r0?
I'm also using unraid and facing the same issue. I haven't had trouble installing any other community nodes.

@SvbZ3r0
Copy link

SvbZ3r0 commented Feb 18, 2025

Nope. I ended up using a completely different product for my issue.

@GollyJer
Copy link

Nope. I ended up using a completely different product for my issue.

Hey @SvbZ3r0 thanks for the response.
Did you end up with something else that worked in n8n, or not using n8n at all. Just curious. Thanks!

@SvbZ3r0
Copy link

SvbZ3r0 commented Feb 19, 2025

Didn't use n8n at all. I tried Scraperr, and while it was powerful, it wasn't exactly intutive. I ended up using a good Windows based tool called Octoparse.

@sbc
Copy link

sbc commented Mar 2, 2025

I'm also unable to get this plugin working. I'm on n8n 1.77.3.

Installed via the web. Getting the following in the UI when testing a node:

Problem running workflow
Unrecognized node type: browserless.undefined

Seeing the following in the logs:

2025-03-02T21:08:32.990215777Z app[web.1]: Unrecognized node type: browserless.undefined
2025-03-02T21:08:32.990260112Z app[web.1]: Error: Unrecognized node type: browserless.undefined
2025-03-02T21:08:32.990263649Z app[web.1]: at LoadNodesAndCredentials.getNode (/usr/local/lib/node_modules/n8n/dist/load-nodes-and-credentials.js:285:19)
2025-03-02T21:08:32.990266656Z app[web.1]: at NodeTypes.getByNameAndVersion (/usr/local/lib/node_modules/n8n/dist/node-types.js:36:51)
2025-03-02T21:08:32.990269581Z app[web.1]: at new Workflow (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/Workflow.js:56:39)
2025-03-02T21:08:32.990272467Z app[web.1]: at TestWebhooks.toWorkflow (/usr/local/lib/node_modules/n8n/dist/webhooks/test-webhooks.js:290:16)
2025-03-02T21:08:32.990275292Z app[web.1]: at TestWebhooks.needsWebhook (/usr/local/lib/node_modules/n8n/dist/webhooks/test-webhooks.js:169:31)
2025-03-02T21:08:32.990278107Z app[web.1]: at WorkflowExecutionService.executeManually (/usr/local/lib/node_modules/n8n/dist/workflows/workflow-execution.service.js:114:58)
2025-03-02T21:08:32.990281003Z app[web.1]: at processTicksAndRejections (node:internal/process/task_queues:95:5)
2025-03-02T21:08:32.990283758Z app[web.1]: at WorkflowsController.runManually (/usr/local/lib/node_modules/n8n/dist/workflows/workflows.controller.js:293:16)
2025-03-02T21:08:32.990286594Z app[web.1]: at handler (/usr/local/lib/node_modules/n8n/dist/decorators/controller.registry.js:93:24)
2025-03-02T21:08:32.990289379Z app[web.1]: at /usr/local/lib/node_modules/n8n/dist/response-helper.js:110:26

@sbc
Copy link

sbc commented Mar 3, 2025

I'm also unable to get this plugin working. I'm on n8n 1.77.3.

In my case it ended up being a permissions error in my n8n directory. I followed the instructions for manual installation and that got it squared away.

@ljohnso16
Copy link

@sbc what permission? I installed via docker still have the same error when installing

@sbc
Copy link

sbc commented Mar 4, 2025

In my case I had my n8n directory (/home/node/.n8n) mounted via docker but it was owned by the wrong user. I needed to use chown -R 1000:1000 to change ownership to the dokku user. Then I was able to manually install the node by following these steps:

https://docs.n8n.io/integrations/community-nodes/installation/manual-install/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

8 participants