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

Include "type": "module" in package.json file #89

Open
jgomez720 opened this issue Apr 7, 2023 · 0 comments
Open

Include "type": "module" in package.json file #89

jgomez720 opened this issue Apr 7, 2023 · 0 comments
Assignees

Comments

@jgomez720
Copy link

When running npm install @kittycad/lib
the package.json file comes with

{
  "dependencies": {
    "@kittycad/lib": "^0.0.19"
  }
} 

but I have to manually add "type": "module"
to the package.json any time I download it. Can we have that in the file already when they run the npm command?

I haven't been able to use our API commands using require or import when the "type": "module" is missing, so it seems like it's required?

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