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

Unable to build printer-cli on Windows 10 #444

Open
ana-taylor opened this issue May 27, 2024 · 0 comments
Open

Unable to build printer-cli on Windows 10 #444

ana-taylor opened this issue May 27, 2024 · 0 comments

Comments

@ana-taylor
Copy link

I was unable to build printer-cli on Windows 10. Updating NX to the latest version resolved the issue.

The error message is as follows:

 >  NX   ENOENT: no such file or directory, mkdir 'C:\<redacted>\kanji.sh-main\kanji.sh-main\tmpC:\<redacted>\kanji.sh-main\kanji.sh-main\libs\printer-cli'


Error: ENOENT: no such file or directory, mkdir 'C:\<redacted>\kanji.sh-main\kanji.sh-main\tmpC:\<redacted>\kanji.sh-main\kanji.sh-main\libs\printer-cli'
    at mkdirSync (node:fs:1372:26)
    at writeJsonFile (C:\<redacted>\kanji.sh-main\kanji.sh-main\node_modules\nx\src\utils\fileutils.js:50:24)
    at generateTmpSwcrc (C:\<redacted>\kanji.sh-main\kanji.sh-main\node_modules\@nx\js\src\utils\swc\inline.js:9:32)
    at swcExecutor (C:\<redacted>\kanji.sh-main\kanji.sh-main\node_modules\@nx\js\src\executors\swc\swc.impl.js:89:73)
    at swcExecutor.next (<anonymous>)
    at getLastValueFromAsyncIterableIterator (C:\<redacted>\kanji.sh-main\kanji.sh-main\node_modules\nx\src\utils\async-iterator.js:13:27)
    at iteratorToProcessStatusCode (C:\<redacted>\kanji.sh-main\kanji.sh-main\node_modules\nx\src\command-line\run\run.js:41:94)
    at C:\<redacted>\kanji.sh-main\kanji.sh-main\node_modules\nx\src\command-line\run\run.js:154:16
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async handleErrors (C:\<redacted>\kanji.sh-main\kanji.sh-main\node_modules\nx\src\utils\params.js:9:16)

I did a bit of digging, and I think it was fixed in NX #21801. Regardless, updating NX to the latest release resolved the issue for me.

To Reproduce

Run npm run prebuild-worksheets on a Windows machine.

Desktop (please complete the following information):

  • OS: Windows 10
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

1 participant