Skip to content

EACCES: permission denied #1

@moodstubos

Description

@moodstubos

Thanks for this project!

It seems that svg-to-ttf-flutter-icons is trying to write to the packet folder. The arguments --input and --ttf have no effect.

mo@Desktop:/mnt/e/pro/new$ svg-to-ttf-flutter-icons generate
Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/svg-to-ttf-flutter-icons/icons'
    at Object.mkdirSync (fs.js:921:3)
    at copy (/usr/local/lib/node_modules/svg-to-ttf-flutter-icons/src/copy.js:9:8)
    at app (/usr/local/lib/node_modules/svg-to-ttf-flutter-icons/src/app.js:26:5)
    at Command.<anonymous> (/usr/local/lib/node_modules/svg-to-ttf-flutter-icons/index.js:21:19)
    at Command.listener [as _actionHandler] (/usr/local/lib/node_modules/svg-to-ttf-flutter-icons/node_modules/commander/lib/command.js:482:17)
    at /usr/local/lib/node_modules/svg-to-ttf-flutter-icons/node_modules/commander/lib/command.js:1283:65
    at Command._chainOrCall (/usr/local/lib/node_modules/svg-to-ttf-flutter-icons/node_modules/commander/lib/command.js:1177:12)
    at Command._parseCommand (/usr/local/lib/node_modules/svg-to-ttf-flutter-icons/node_modules/commander/lib/command.js:1283:27)
    at /usr/local/lib/node_modules/svg-to-ttf-flutter-icons/node_modules/commander/lib/command.js:1081:27
    at Command._chainOrCall (/usr/local/lib/node_modules/svg-to-ttf-flutter-icons/node_modules/commander/lib/command.js:1177:12)

Version: 1.0.4
OS: Ubuntu 22.04.3 LTS
Node: v12.22.9

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions