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 while tweeting out release announcement #86

Closed
nzakas opened this issue Apr 5, 2024 · 0 comments · Fixed by #88
Closed

Error while tweeting out release announcement #86

nzakas opened this issue Apr 5, 2024 · 0 comments · Fixed by #88

Comments

@nzakas
Copy link
Member

nzakas commented Apr 5, 2024

The tweet announcement for the last release failed with the following error:

 npm WARN exec The following package was not found and will be installed: @humanwhocodes/[email protected]

node:internal/process/esm_loader:34
      internalBinding('errors').triggerUncaughtException(
                                ^
Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'esmock' imported from /home/runner/work/create-config/create-config/
    at packageResolve (node:internal/modules/esm/resolve:854:9)
    at moduleResolve (node:internal/modules/esm/resolve:927:18)
    at defaultResolve (node:internal/modules/esm/resolve:1157:11)
    at nextResolve (node:internal/modules/esm/hooks:866:28)
    at Hooks.resolve (node:internal/modules/esm/hooks:304:30)
    at ModuleLoader.resolve (node:internal/modules/esm/loader:352:35)
    at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:234:38)
    at ModuleLoader.import (node:internal/modules/esm/loader:322:34)
    at Hooks.register (node:internal/modules/esm/hooks:165:51)
    at initializeHooks (node:internal/modules/esm/utils:283:17) {
  code: 'ERR_MODULE_NOT_FOUND'
}

Node.js v20.12.0
aladdin-add added a commit that referenced this issue Apr 7, 2024
another way is to remove `node-options=--loader=esmock` in `.npmrc`.
adding the env in npm scripts instead.

fixes #86
@nzakas nzakas closed this as completed in #88 Apr 9, 2024
nzakas pushed a commit that referenced this issue Apr 9, 2024
another way is to remove `node-options=--loader=esmock` in `.npmrc`.
adding the env in npm scripts instead.

fixes #86
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant