Skip to content

Getting "path must be a string or Buffer" error on Ubuntu #25

@aviramga

Description

@aviramga

Hi,

Im getting the following error when trying to build my nextjs app with the inline svg plugin:
"Module build failed: TypeError: /var/www/path/path/path/component.js: path must be a string or Buffer"

When I try the same thing in a Mac everything works fine.... only under Ubuntu do I get this error.

Any ideas?

Thanks!

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