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

There is a problem with path resolution containing Chinese characters #2944

Open
5 tasks done
EnochGao opened this issue Sep 11, 2024 · 9 comments
Open
5 tasks done

Comments

@EnochGao
Copy link
Contributor

Describe the bug

The problem of throwing a path when building ,correlation issue

Reproduction

https://github.com/EnochGao/nx-test/tree/module-federation/enhanced

Used Package Manager

npm

System Info

System:
    OS: Linux 6.8 Ubuntu 24.04.1 LTS 24.04.1 LTS (Noble Numbat)
    CPU: (8) x64 Intel(R) Core(TM) i7-9700F CPU @ 3.00GHz
    Memory: 11.12 GB / 31.17 GB
    Container: Yes
    Shell: 5.2.21 - /bin/bash
  Binaries:
    Node: 20.14.0 - ~/.nvm/versions/node/v20.14.0/bin/node
    Yarn: 1.22.22 - ~/.nvm/versions/node/v20.14.0/bin/yarn
    npm: 10.7.0 - ~/.nvm/versions/node/v20.14.0/bin/npm
    pnpm: 9.9.0 - ~/.nvm/versions/node/v20.14.0/bin/pnpm

Validations

@EnochGao
Copy link
Contributor Author

image

@EnochGao EnochGao changed the title There seems to be some problems with Ubuntu 24.04.1 LTS Chinese environment There seems to be some problems with Ubuntu 24.04.1 LTS environment Sep 19, 2024
@EnochGao
Copy link
Contributor Author

image

@EnochGao
Copy link
Contributor Author

I find it has something to do with the Chinese path

right:  /home/enochgao/nx-test

error:  /home/enochgao/桌面/my-projects/nx-test

@EnochGao
Copy link
Contributor Author

There seems to be a problem with the btoa package dependencies

@EnochGao EnochGao changed the title There seems to be some problems with Ubuntu 24.04.1 LTS environment There some path resolution problems with Ubuntu 24.04.1 LTS in Chinese environment Sep 19, 2024
@2heal1
Copy link
Member

2heal1 commented Sep 20, 2024

please do not place project into the path which has Chinese

@EnochGao
Copy link
Contributor Author

please do not place project into the path which has Chinese

emm..

@EnochGao
Copy link
Contributor Author

It is unwise to support only English paths. Could you check it? There is a problem with Chinese path resolution. @ScriptedAlchemy

@EnochGao EnochGao changed the title There some path resolution problems with Ubuntu 24.04.1 LTS in Chinese environment There is a problem with path resolution containing Chinese characters Sep 26, 2024
@ScriptedAlchemy
Copy link
Member

Try replacing btoa if you have a fix, send a pr.

@ScriptedAlchemy
Copy link
Member

This seems to be a problem with base64, not our implementation of it.

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

3 participants