Title: Running `npm run postclone` fails · Issue #180 · NativeScript/nativescript-plugin-seed · GitHub
Open Graph Title: Running `npm run postclone` fails · Issue #180 · NativeScript/nativescript-plugin-seed
X Title: Running `npm run postclone` fails · Issue #180 · NativeScript/nativescript-plugin-seed
Description: Which platform(s) does your issue occur on? installation using macOS Please, provide the following version numbers that your issue occurs with: CLI: 7.0.8 Cross-platform modules: (check the 'version' attribute in the node_modules/tns-cor...
Open Graph Description: Which platform(s) does your issue occur on? installation using macOS Please, provide the following version numbers that your issue occurs with: CLI: 7.0.8 Cross-platform modules: (check the 'versio...
X Description: Which platform(s) does your issue occur on? installation using macOS Please, provide the following version numbers that your issue occurs with: CLI: 7.0.8 Cross-platform modules: (check the 've...
Opengraph URL: https://github.com/NativeScript/nativescript-plugin-seed/issues/180
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Running `npm run postclone` fails","articleBody":"### Which platform(s) does your issue occur on?\r\n- installation using macOS\r\n\r\n### Please, provide the following version numbers that your issue occurs with:\r\n\r\n- CLI: 7.0.8\r\n- Cross-platform modules: (check the 'version' attribute in the\r\n`node_modules/tns-core-modules/package.json` file in your project)\r\n- Runtime(s): (look for the `\"tns-android\"` and `\"tns-ios\"` properties in the `package.json` file of your project)\r\n- Plugin(s): (look for the version numbers in the `package.json` file of your\r\nproject and paste your dependencies and devDependencies here)\r\n\r\n### Please, tell us how to recreate the issue in as much detail as possible. \r\n\r\nAs per the instructions: \r\n\r\n- `git clone https://github.com/NativeScript/nativescript-plugin-seed nativescript-yourplugin`\r\n- `cd nativescript-yourplugin/src`\r\n- `npm run postclone`\r\n\r\nBut I get the following output:\r\n\r\n```\r\n% npm run postclone\r\n\r\n\u003e nativescript-yourplugin@1.0.0 postclone /Users/dahjelle/Downloads/mobile-test/nativescript-yourplugin/src\r\n\u003e npm i \u0026\u0026 node scripts/postclone.js\r\n\r\n\r\n\u003e @nativescript/core@6.5.20 postinstall /Users/dahjelle/Downloads/mobile-test/nativescript-yourplugin/src/node_modules/@nativescript/core\r\n\u003e node cli-hooks/postinstall.js\r\n\r\nnpm notice created a lockfile as package-lock.json. You should commit this file.\r\nadded 71 packages from 76 contributors in 8.902s\r\n\r\n2 packages are looking for funding\r\n run `npm fund` for details\r\n\r\nNativeScript Plugin Seed Configuration\r\nprompt: What is your GitHub username (used for updating package.json)? Example: NathanWalker: (node:74431) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency\r\n(Use `node --trace-warnings ...` to show where the warning was created)\r\ndahjelle\r\nprompt: What will be the name of your plugin? Use lowercase characters and dashes only. Example: yourplugin / google-maps / bluetooth: yourplugin\r\nUsing Yourplugin as the TypeScript Class name..\r\nWill now rename some files..\r\nprompt: Do you want to include a \"TypeScript NativeScript\" application linked with your plugin to make development easier (y/n)?: (y)\r\nprompt: Do you want to include an \"Angular NativeScript\" application linked with your plugin to make development easier (y/n)?: (n)\r\nCreating 'TypeScript' application from latest published template...\r\nYou are using the deprecated nsconfig.json file. Just be aware that NativeScript 7 has an improved nativescript.config.(js|ts) file for when you're ready to upgrade this project.\r\nThe \"path\" argument must be of type string. Received null\r\nTypeScript-NativeScript application created at: ../demo\r\nAdjusting scripts..\r\nInstalling plugin to ../demo ...\r\nError: Command failed: cd ../demo \u0026\u0026 tns plugin add ../src\r\n/bin/sh: line 0: cd: ../demo: No such file or directory\r\n\r\n at ChildProcess.exithandler (child_process.js:308:12)\r\n at ChildProcess.emit (events.js:314:20)\r\n at maybeClose (internal/child_process.js:1047:16)\r\n at Socket.\u003canonymous\u003e (internal/child_process.js:438:11)\r\n at Socket.emit (events.js:314:20)\r\n at Pipe.\u003canonymous\u003e (net.js:672:12) {\r\n killed: false,\r\n code: 1,\r\n signal: null,\r\n cmd: 'cd ../demo \u0026\u0026 tns plugin add ../src'\r\n}\r\n```\r\n\r\nI'm brand-new to NativeScript — is this related to #179 ?","author":{"url":"https://github.com/dahjelle","@type":"Person","name":"dahjelle"},"datePublished":"2020-09-28T21:30:23.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/180/nativescript-plugin-seed/issues/180"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:8d2c6236-5680-fd4c-cefc-7184a2891b56 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EBDE:347CDE:6B53FE:88CCAA:697E68D8 |
| html-safe-nonce | 78e8d158fa482427277d92d6ca490c81efbbb3b147e4328a7329f3147434a349 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQkRFOjM0N0NERTo2QjUzRkU6ODhDQ0FBOjY5N0U2OEQ4IiwidmlzaXRvcl9pZCI6IjQ4ODQ5NzA4MTYzOTcwMTExNjAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 1b8170fbb21c522fd27f73c048e1b09396f6e0585d7a57e8eae7725a85211cb5 |
| hovercard-subject-tag | issue:710590921 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/NativeScript/nativescript-plugin-seed/180/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b8379394ff87c93e26e98d17720386c3829d8a90b69b6013b9c3d1f003de994e/NativeScript/nativescript-plugin-seed/issues/180 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b8379394ff87c93e26e98d17720386c3829d8a90b69b6013b9c3d1f003de994e/NativeScript/nativescript-plugin-seed/issues/180 |
| og:image:alt | Which platform(s) does your issue occur on? installation using macOS Please, provide the following version numbers that your issue occurs with: CLI: 7.0.8 Cross-platform modules: (check the 'versio... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dahjelle |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6 |
| turbo-cache-control | no-preview |
| go-import | github.com/NativeScript/nativescript-plugin-seed git https://github.com/NativeScript/nativescript-plugin-seed.git |
| octolytics-dimension-user_id | 7392261 |
| octolytics-dimension-user_login | NativeScript |
| octolytics-dimension-repository_id | 93747831 |
| octolytics-dimension-repository_nwo | NativeScript/nativescript-plugin-seed |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 53071991 |
| octolytics-dimension-repository_parent_nwo | NathanWalker/nativescript-plugin-seed |
| octolytics-dimension-repository_network_root_id | 53071991 |
| octolytics-dimension-repository_network_root_nwo | NathanWalker/nativescript-plugin-seed |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7c85641c598ad130c74f7bcc27f58575cac69551 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width