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

Bad URL Protocol C: when running on Windows. #358

Open
foxt opened this issue Aug 17, 2021 · 0 comments
Open

Bad URL Protocol C: when running on Windows. #358

foxt opened this issue Aug 17, 2021 · 0 comments

Comments

@foxt
Copy link
Contributor

foxt commented Aug 17, 2021

Describe the bug
Images fail to load when running under Windows.

Error: Bad URL protocol: c:
    at C:\Users\me\rblxRP\node_modules\centra\model\CentraRequest.js:170:15
    at new Promise (<anonymous>)
    at CentraRequest.send (C:\Users\me\rblxRP\node_modules\centra\model\CentraRequest.js:93:10)
    at Object.phin [as default] (C:\Users\me\rblxRP\node_modules\phin\lib\phin.js:58:24)
    at C:\Users\me\rblxRP\node_modules\@nodegui\react-nodegui\dist\components\Image\RNImage.js:94:45
    at Generator.next (<anonymous>)
    at C:\Users\me\rblxRP\node_modules\@nodegui\react-nodegui\dist\components\Image\RNImage.js:8:71
    at new Promise (<anonymous>)
    at __awaiter (C:\Users\me\rblxRP\node_modules\@nodegui\react-nodegui\dist\components\Image\RNImage.js:4:12)
    at getLoadedPixmap (C:\Users\me\rblxRP\node_modules\@nodegui\react-nodegui\dist\components\Image\RNImage.js:91:12)

To Reproduce

(<Image src={resolve(__dirname, "..","assets","logo.png")}></Image>)

Expected behavior
The image loads like it does on other platforms.

Desktop (please complete the following information):

  • OS: [e.g. Mac, Linux or Windows] Windows
  • NodeGUI version 0.35.0
  • React NodeGUI version 0.12.0
  • OS Version Windows 10 1809

Additional context
I am not using Webpack or any other packer.

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