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

Add execa to 'dependencies' #9

Merged
merged 1 commit into from
Jan 20, 2024
Merged

Add execa to 'dependencies' #9

merged 1 commit into from
Jan 20, 2024

Conversation

NullVoxPopuli
Copy link
Contributor

@NullVoxPopuli NullVoxPopuli commented Jan 20, 2024

otherwise,

> pnpm esyes ./get-github-data.mts

file:///home/nvp/Development/NullVoxPopuli/is-polaris-ready-yet/node_modules/.pnpm/esyes@1.0.2/node_modules/esyes/src/bin.js:5
import { execa } from "execa";
         ^^^^^
SyntaxError: Named export 'execa' not found. The requested module 'execa' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:

import pkg from 'execa';
const { execa } = pkg;

    at ModuleJob._instantiate (node:internal/modules/esm/module_job:124:21)
    at async ModuleJob.run (node:internal/modules/esm/module_job:190:5)

Node.js v18.17.0

which is honestly surprising that it resolved at all in that project

@NullVoxPopuli NullVoxPopuli added the bug Something isn't working label Jan 20, 2024
Copy link

stackblitz bot commented Jan 20, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@NullVoxPopuli NullVoxPopuli merged commit d639b17 into main Jan 20, 2024
6 checks passed
@NullVoxPopuli NullVoxPopuli deleted the execa-needs-to-be-dep branch January 20, 2024 21:13
@github-actions github-actions bot mentioned this pull request Jan 20, 2024
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

Successfully merging this pull request may close these issues.

1 participant