forked from NathanWalker/nativescript-plugin-seed
-
-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Description
Hi,
I was attempting to create a new Nativescript 8 plugin using this plugin seed. However, I get this error:
The "path" argument must be of type string. Received null
I'm on Ubuntu 20.04.
Is this the right plugin seed to use?
Following the stack I get:
NativeScript Plugin Seed Configuration
prompt: What is your GitHub username (used for updating package.json)? Example: NathanWalker: andreav
prompt: What will be the name of your plugin? Use lowercase characters and dashes only. Example: yourplugin / google-maps / bluetooth: wifi-aware
Using WifiAware 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 now 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: 1: cd: can't cd to ../demo
at ChildProcess.exithandler (node:child_process:326:12)
at ChildProcess.emit (node:events:369:20)
at maybeClose (node:internal/child_process:1067:16)
at Socket.<anonymous> (node:internal/child_process:453:11)
at Socket.emit (node:events:369:20)
at Pipe.<anonymous> (node:net:666:12) {
killed: false,
code: 2,
signal: null,
cmd: 'cd ../demo && tns plugin add ../src'
}
Thank you
djmaze
Metadata
Metadata
Assignees
Labels
No labels