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

throw new ERR_INVALID_FILE_URL_PATH('must be absolute') #18

Open
saraElsanan opened this issue Nov 24, 2024 · 2 comments
Open

throw new ERR_INVALID_FILE_URL_PATH('must be absolute') #18

saraElsanan opened this issue Nov 24, 2024 · 2 comments

Comments

@saraElsanan
Copy link

saraElsanan commented Nov 24, 2024

I installed the new Cli
and then i tried to creat a new theme or even login or using the help , i always get this error
PS. We use NVM to mange multiple Node versions , so i tested on v14 , v16 , v18 , v20 and still the same issue in every vesrion
plusI tested on 4 different machines and i still have the same issue

any help please

 themes-cli new my-awesome-theme 
node:internal/url:1450
    throw new ERR_INVALID_FILE_URL_PATH('must be absolute');
    ^

TypeError [ERR_INVALID_FILE_URL_PATH]: File URL path must be absolute
    at new NodeError (node:internal/errors:405:5)
    at getPathFromURLWin32 (node:internal/url:1450:11)
    at fileURLToPath (node:internal/url:1480:22)
    at 9553 (C:\Users\Sara\AppData\Roaming\nvm\v18.20.3\node_modules\@zidsa\themes-cli\dist\zid-theme.js:2:322609)
    at a (C:\Users\Sara\AppData\Roaming\nvm\v18.20.3\node_modules\@zidsa\themes-cli\dist\zid-theme.js:2:597286)
    at 6970 (C:\Users\Sara\AppData\Roaming\nvm\v18.20.3\node_modules\@zidsa\themes-cli\dist\zid-theme.js:2:264511)
    at a (C:\Users\Sara\AppData\Roaming\nvm\v18.20.3\node_modules\@zidsa\themes-cli\dist\zid-theme.js:2:597286)
    at 7933 (C:\Users\Sara\AppData\Roaming\nvm\v18.20.3\node_modules\@zidsa\themes-cli\dist\zid-theme.js:2:261630)
    at a (C:\Users\Sara\AppData\Roaming\nvm\v18.20.3\node_modules\@zidsa\themes-cli\dist\zid-theme.js:2:597286)
    at 8186 (C:\Users\Sara\AppData\Roaming\nvm\v18.20.3\node_modules\@zidsa\themes-cli\dist\zid-theme.js:2:246224) {
  code: 'ERR_INVALID_FILE_URL_PATH'
}

Node.js v18.20.3
@saraElsanan
Copy link
Author

is there any update in this issue ?

@anas-js
Copy link

anas-js commented Dec 27, 2024

i have same error

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

2 participants