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

glup version incompatible with graceful-fs #45

Open
soheilade opened this issue Feb 8, 2024 · 0 comments
Open

glup version incompatible with graceful-fs #45

soheilade opened this issue Feb 8, 2024 · 0 comments

Comments

@soheilade
Copy link

soheilade commented Feb 8, 2024

hi,

i am trying to install the sample Nasa starter project from here :
https://docs.n8n.io/integrations/creating-nodes/build/declarative-style-node/
at step 6 while trying npm run build in my node dir, i get this error:

fs.js:42
} = primordials;
    ^

ReferenceError: primordials is not defined

i tried to force the dependency by adding the following to my package.json:

"pnpm":{
      "overrides": {
        "graceful-fs": "^4.2.11"
      }
    }

but apparently it can not be applied when there glup server is forced to 3.9.1 in the very same package.json of this repository:
gulp": "^3.9.1",

any ideas how to solve this?

Thanks.

soheilade added a commit to soheilade/n8n-docs that referenced this issue Feb 9, 2024
npm install n8n g does not work and lead to several issues on fs and patch-package:

https://community.n8n.io/t/n8n-install/39983
n8n-io/n8n-nodes-starter#45

I found npx works like a charm so better to just use it here too as it is meant for new commers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant