I was working on https://github.com/Zettlr/Zettlr project and found an installation error, that I believe is from Yarn.
I issued the command yarn install after cloning the project, and found the project installation failed as mentioned in Zettlr/Zettlr#5704 upon inspecting the log file, i found something interesting..
clang++: error: no such file or directory: 'projects/Zettlr/node_modules/nodehun/node_modules/node-addon-api'
Its true that such a path does not exist. My file path was /Users/username/my projects/Zettlr.
As seen, the string was split when that path included a space.
I moved the project to /Users/username/projects/Zettlr and now yarn install works fine.
How can control the arguments that is passed into the clang++ compiler to ensure that the file path names are not trimmed.
I was working on https://github.com/Zettlr/Zettlr project and found an installation error, that I believe is from Yarn.
I issued the command
yarn installafter cloning the project, and found the project installation failed as mentioned in Zettlr/Zettlr#5704 upon inspecting the log file, i found something interesting..Its true that such a path does not exist. My file path was
/Users/username/my projects/Zettlr.As seen, the string was split when that path included a space.
I moved the project to
/Users/username/projects/Zettlrand nowyarn installworks fine.How can control the arguments that is passed into the clang++ compiler to ensure that the file path names are not trimmed.