Skip to content

Conversation

@sentience
Copy link
Contributor

No description provided.

@paulrobertlloyd
Copy link
Collaborator

Hi @sentience; npm install shouldn’t be needed; using npm create indiekit [directory] will install the required dependencies as part of that initiation process (you will be asked to download and install create-indiekit if I remember correctly).

Did you try this, or did it not work?

@sentience
Copy link
Contributor Author

Doesn't work for me. This is what I get with a fresh clone:

❯ npm create indiekit indiekit
sh: create-indiekit: command not found
npm ERR! code 127
npm ERR! path /Users/kyank/code/indiekit
npm ERR! command failed
npm ERR! command sh -c -- create-indiekit indiekit

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/kyank/.npm/_logs/2022-12-26T11_26_16_970Z-debug-0.log

@paulrobertlloyd
Copy link
Collaborator

paulrobertlloyd commented Dec 26, 2022

That's odd. What versions of npm and node are installed?

@sentience
Copy link
Contributor Author

❯ node --version
v18.12.1

❯ npm --version
8.19.2

@rmdes
Copy link

rmdes commented Jun 20, 2023

I had to npm install prior to being able to do npm create indiekit (directory)

@paulrobertlloyd
Copy link
Collaborator

Interesting. I'm not sure that's how npm initialisation packages are meant to work (requiring npm install beforehand) but maybe I'm missing something. Will investigate!

@paulrobertlloyd
Copy link
Collaborator

Am finding this issue hard to replicate.

When I type the following:

npm create indiekit my-project

I get the following:

Need to install the following packages:
  [email protected]
Ok to proceed? (y) 

That package is installed, before the question flow starts. After answering the questions, the directory and files are created. I’ve deleted all npm caches and reinstalled Node.

Note, this command should be run independent of cloning any repo or any other setup. What steps did you follow? How did you install Node? What platform are you using? This one has me stumped at the moment…

@paulrobertlloyd paulrobertlloyd force-pushed the main branch 10 times, most recently from 4d63f03 to 7b33856 Compare August 25, 2024 21:38
@paulrobertlloyd paulrobertlloyd force-pushed the main branch 5 times, most recently from 09cfd93 to 25a68aa Compare October 8, 2024 19:46
@paulrobertlloyd paulrobertlloyd force-pushed the main branch 2 times, most recently from 1b91b6e to 69936a4 Compare November 15, 2024 23:40
@paulrobertlloyd paulrobertlloyd force-pushed the main branch 4 times, most recently from 3225b55 to 7934b22 Compare November 26, 2024 01:06
@paulrobertlloyd paulrobertlloyd force-pushed the main branch 2 times, most recently from f8d0cc8 to f877637 Compare December 3, 2024 21:10
@paulrobertlloyd paulrobertlloyd force-pushed the main branch 2 times, most recently from d6ec3d5 to 742898d Compare December 26, 2024 16:40
@paulrobertlloyd paulrobertlloyd force-pushed the main branch 4 times, most recently from cc2e089 to 04ad1f5 Compare April 13, 2025 00:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Core indiekit package documentation Good documentation benefits everyone question Further information is requested

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants