Skip to content

yarn install not respecting space in file path #9196

Open
@jyothisjoy123

Description

@jyothisjoy123

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions