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

create script fails and is looking for a package.json again #24

Closed
JasonEtco opened this issue Jan 29, 2019 · 3 comments
Closed

create script fails and is looking for a package.json again #24

JasonEtco opened this issue Jan 29, 2019 · 3 comments
Labels
kind: bug Something isn't working

Comments

@JasonEtco
Copy link
Collaborator

Current Behavior

~/dev/tsdx-test
$ npx tsdx create mylib
/Users/jasonetco/dev/tsdx-test/package.json: ENOENT: no such file or directory, open '/Users/jasonetco/dev/tsdx-test/package.json'

~/dev/tsdx-test
$ npm i -g tsdx
...
+ tsdx@0.2.5
added 940 packages from 512 contributors in 24.628s

~/dev/tsdx-test took 25s 254ms
$ tsdx create mylib
✖ Failed to create mylib
Error: ENOENT: no such file or directory, stat '/Users/jasonetco/.nvm/versions/node/v10.13.0/lib/node_modules/tsdx/template'

Possibly relates to #2

Your environment

Software Version(s)
TSDX v0.0.25
@JasonEtco JasonEtco added the kind: bug Something isn't working label Jan 29, 2019
@swyxio
Copy link
Collaborator

swyxio commented Jan 30, 2019

came here to report this too. my error looks slightly different:

npx tsdx create mylib
✖ Failed to create mylib
Error: ENOENT: no such file or directory, stat '/Users/swyx/.npm/_npx/57519/lib/node_modules/tsdx/template'

@jaredpalmer
Copy link
Owner

Doh I forgot to include the template directory in the package.json when j merged the typescript PR

@jaredpalmer
Copy link
Owner

try 0.3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants