forked from NathanWalker/nativescript-plugin-seed
-
-
Notifications
You must be signed in to change notification settings - Fork 55
Open
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-core-modules/package.jsonfile in your project) - Runtime(s): (look for the
"tns-android"and"tns-ios"properties in thepackage.jsonfile of your project) - Plugin(s): (look for the version numbers in the
package.jsonfile of your
project and paste your dependencies and devDependencies here)
Please, tell us how to recreate the issue in as much detail as possible.
As per the instructions:
git clone https://github.com/NativeScript/nativescript-plugin-seed nativescript-yourplugincd nativescript-yourplugin/srcnpm run postclone
But I get the following output:
% npm run postclone
> [email protected] postclone /Users/dahjelle/Downloads/mobile-test/nativescript-yourplugin/src
> npm i && node scripts/postclone.js
> @nativescript/[email protected] postinstall /Users/dahjelle/Downloads/mobile-test/nativescript-yourplugin/src/node_modules/@nativescript/core
> node cli-hooks/postinstall.js
npm notice created a lockfile as package-lock.json. You should commit this file.
added 71 packages from 76 contributors in 8.902s
2 packages are looking for funding
run `npm fund` for details
NativeScript Plugin Seed Configuration
prompt: 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
(Use `node --trace-warnings ...` to show where the warning was created)
dahjelle
prompt: What will be the name of your plugin? Use lowercase characters and dashes only. Example: yourplugin / google-maps / bluetooth: yourplugin
Using Yourplugin as the TypeScript Class name..
Will now rename some files..
prompt: Do you want to include a "TypeScript NativeScript" application linked with your plugin to make development easier (y/n)?: (y)
prompt: Do you want to include an "Angular NativeScript" application linked with your plugin to make development easier (y/n)?: (n)
Creating 'TypeScript' application from latest published template...
You 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.
The "path" argument must be of type string. Received null
TypeScript-NativeScript application created at: ../demo
Adjusting scripts..
Installing plugin to ../demo ...
Error: Command failed: cd ../demo && tns plugin add ../src
/bin/sh: line 0: cd: ../demo: No such file or directory
at ChildProcess.exithandler (child_process.js:308:12)
at ChildProcess.emit (events.js:314:20)
at maybeClose (internal/child_process.js:1047:16)
at Socket.<anonymous> (internal/child_process.js:438:11)
at Socket.emit (events.js:314:20)
at Pipe.<anonymous> (net.js:672:12) {
killed: false,
code: 1,
signal: null,
cmd: 'cd ../demo && tns plugin add ../src'
}
I'm brand-new to NativeScript — is this related to #179 ?
theGeekyLad, jfturcot and comporell
Metadata
Metadata
Assignees
Labels
No labels