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

Invalid host defined options #81

Closed
tyteen4a03 opened this issue Oct 2, 2023 · 2 comments
Closed

Invalid host defined options #81

tyteen4a03 opened this issue Oct 2, 2023 · 2 comments
Labels

Comments

@tyteen4a03
Copy link

For some reason I'm getting this error when trying to run nx g @theunderscorer/nx-semantic-release:install --verbose:

✔ Would you want to enforce conventional commits? (Y/n) · true
✔ What is the remote repository url? (example: https://github.com/TheUnderScorer/nx-semantic-release) · https://github.com/tyteen4a03/myrepo
✔ Would you want to create github releases? (Y/n) · true
✔ Would you want to create changelog file? (Y/n) · true
✔ Would you want to create npm releases? (Y/n) · false

 >  NX   Invalid host defined options


TypeError: Invalid host defined options
    at Object.<anonymous> (/Users/tyteen4a03/Documents/myrepo/node_modules/prettier/index.cjs:600:23)
    at Module._compile (/Users/tyteen4a03/.config/yarn/global/node_modules/v8-compile-cache/v8-compile-cache.js:192:30)
    at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
    at Module.load (node:internal/modules/cjs/loader:1119:32)
    at Module._load (node:internal/modules/cjs/loader:960:12)
    at Module.require (node:internal/modules/cjs/loader:1143:19)
    at Mod.require (/Users/tyteen4a03/Documents/myrepo/node_modules/nx/bin/init-local.js:207:36)
    at require (/Users/tyteen4a03/.config/yarn/global/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
    at /Users/tyteen4a03/Documents/myrepo/node_modules/@theunderscorer/nx-semantic-release/node_modules/@nx/devkit/src/generators/format-files.js:18:59
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
@TheUnderScorer
Copy link
Owner

LOL, this is a weird error 😄. It seems to be caused by prettier, as per this issue. Could you try solutions that were mentioned in it?

Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 3 days.

@github-actions github-actions bot added the Stale label Dec 29, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jan 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants