Skip to content

If command 'tns plugin create .. ' failed , directory with plugin repository name must be deleted #3962

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
miroslavaivanova opened this issue Oct 1, 2018 · 0 comments
Assignees
Milestone

Comments

@miroslavaivanova
Copy link
Contributor

Tell us about the problem

Directory with plugin repository name will be created even though the command hasn't passed

Which platform(s) does your issue occur on?

iOS/Android/Both

Please provide the following version numbers that your issue occurs with:

  • CLI: next(5.0.0-2018-09-28)

Please tell us how to recreate the issue in as much detail as possible.

use command:
tns plugin create nativescript-ui-listview --template https://github.com/NativeScript/nativescript-plugin-seed/

You will see exception:

 module.js:557
    throw err;
    ^

Error: Cannot find module '/Users/mivanova/MyDocuments/plugin3/nativescript-ui-listview/src/scripts/postclone'
    at Function.Module._resolveFilename (module.js:555:15)
    at Function.Module._load (module.js:482:25)
    at Function.Module.runMain (module.js:701:10)
    at startup (bootstrap_node.js:194:16)
    at bootstrap_node.js:618:3

but the folder nativescript-ui-listview is created

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants