Skip to content
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

Nativescript 8 - postclone: "path" argument null #182

Open
andreav opened this issue Apr 16, 2021 · 3 comments
Open

Nativescript 8 - postclone: "path" argument null #182

andreav opened this issue Apr 16, 2021 · 3 comments

Comments

@andreav
Copy link

andreav commented Apr 16, 2021

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
Copy link

djmaze commented Sep 29, 2021

I am getting the following output instead:

Creating 'TypeScript' application from latest published template...
No matching version found for tns-template-blank-ts@^8.0.0.

Seems that this has not been updated for 8.0 yet (which is a pity).

@darrellvermaak
Copy link

I am receiving the same error as above
Creating 'TypeScript' application from latest published template...
No matching version found for tns-template-blank-ts@^8.0.0.
Is this going to be fixed or is this now abandonware?

@defdis
Copy link

defdis commented Jan 21, 2023

same error

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

No branches or pull requests

4 participants