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 when creating project with npx #3

Open
PerryDesign opened this issue Aug 8, 2024 · 2 comments
Open

Error when creating project with npx #3

PerryDesign opened this issue Aug 8, 2024 · 2 comments

Comments

@PerryDesign
Copy link

Hey all, just finding out about this project. Looks great! Our tool utilizes tons of expressions and we are missing the amenities that come with working in an IDE.

However, I am getting the following error when running npx create-expression-lib projectName

TypeError: Function.prototype.apply was called on undefined, which is a undefined and not a function
    at qo (/Users/dannyperry/.npm/_npx/3c5c635fd7b98c45/node_modules/esm/esm.js:1:223175)
    at Uo (/Users/dannyperry/.npm/_npx/3c5c635fd7b98c45/node_modules/esm/esm.js:1:222896)
    at $o (/Users/dannyperry/.npm/_npx/3c5c635fd7b98c45/node_modules/esm/esm.js:1:224488)
    at wu (/Users/dannyperry/.npm/_npx/3c5c635fd7b98c45/node_modules/esm/esm.js:1:227324)
    at Eu (/Users/dannyperry/.npm/_npx/3c5c635fd7b98c45/node_modules/esm/esm.js:1:227999)
    at Module.<anonymous> (/Users/dannyperry/.npm/_npx/3c5c635fd7b98c45/node_modules/esm/esm.js:1:295976)
    at n (/Users/dannyperry/.npm/_npx/3c5c635fd7b98c45/node_modules/esm/esm.js:1:279589)
    at Object.<anonymous> (/Users/dannyperry/.npm/_npx/3c5c635fd7b98c45/node_modules/create-expression-lib/bin/create-expression-lib:4:1)
    at Module._compile (node:internal/modules/cjs/loader:1375:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1434:10)

Not quite sure if this is on my end, but hoping you all might have some insight.

@PerryDesign
Copy link
Author

Downgrading to Node version v18.17.0 fixed the issue. It was failing with the latest version of Node.

@timhaywood
Copy link
Member

Sorry for the delay @PerryDesign! I'll take a look and see if I can get it working on the latest version of Node.

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

2 participants