-
Notifications
You must be signed in to change notification settings - Fork 28
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
The "path" argument must be of type string #7
Comments
Hi! (sorry just noticed I have to follow my own repo or something - I did not get a notification)
This is the right configuration, so I am unsure why it breaks for you in L53 (this is where it joins those path strings to extract the folder). I am using Node18 on Windows, what's your environment?
Edit: Latest pipeline is green, so the Unix build on Node16 also works as it should. Edit2: And you could try removing the quotes in the |
Update: #8 will derive the folder name from the layout title & geometry! |
@DeepSky8 found your mistake after reading your issue again - here is the solution: The filename has to be Maybe I can get rid of the ¹Windows Explorer might not let you do the renaming to "just a filename extension", I'd recommend using VSCode. |
I think I'm failing to update the .env file correctly.
I copied the text in the provided .env.dist file into a new file I named 'process.env', and confirmed that it is a file of type .env. I've updated it with my information, as follows:
--
When I run
npm run get -- 0LXoN
I receive the following update and error:
Downloaded layout "0LXoN" to ./layout_src (from https://oryx.zsa.io/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBNTAxUUE9PSIsImV4cCI6bnVsbCwicHVyIjoiYmxvYl9pZCJ9fQ==--bb15af0be4346b3ef05dc6d4b34036ec6d80b9ad/moonlander_qwerty-js_0LXoN_Jyz49.zip).
TypeError: The "path" argument must be of type string. Received undefined
at new NodeError (node:internal/errors:400:5)
at validateString (node:internal/validators:163:11)
at join (node:path:429:7)
at C:\Users\Joel\qmk_firmware\ergodox-macro-hax\src\oryx-downloader.ts:53:29
Could you offer some insight what I'm failing to do correctly?
Thanks!
The text was updated successfully, but these errors were encountered: