Skip to content

npm run build for TS adapter causes Permission denied error for the opencli command #446

@yandong1109

Description

@yandong1109

I placed the newly developed custom TS adapter in the path:/.npm-global/lib/node_modules/@jackwener/opencli/src/clis/mysite
Following the documentation instructions, I executed npm run build in the directory:
/.npm-global/lib/node_modules/@jackwener/opencli
After running the build command, executing opencli list throws the following error:
~$: opencli list
-bash: ~/.npm-global/bin/opencli: Permission denied
Is this a bug, or did I use it incorrectly? Besides main.js losing its executable permissions, could there be more files that have also lost their original permissions?

Any guidance would be greatly appreciated! Thank you!

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