samushi / modern-node-starter

Quick and Easy NodeJS with Typescript Starter
0 stars 0 forks source link

Failed install #1

Open colwilson opened 2 years ago

colwilson commented 2 years ago

node -v && npm -v v16.13.1 8.1.2

modern-node-starter setup --dir svg-7

? This command will update all the packages listed to the latest version. Yes ? It is used to clean up duplicate packages in npm. Yes ? Install & configure Commitlint Yes [ 1 / 3 ] 🔍 copying project... [ 2 / 3 ] 🚚 fetching node_modules... [ 3 / 3 ] 🔗 linking node_modules... ────────────────────────────────────────── ✖ Error: Command failed: npm install @commitlint/{cli,config-conventional} husky -D npm ERR! code ENOENT npm ERR! syscall open npm ERR! path /home/col/dev/svg-7/@commitlint/{cli,config-conventional}/package.json npm ERR! errno -2 npm ERR! enoent ENOENT: no such file or directory, open '/home/col/dev/svg-7/@commitlint/{cli,config-conventional}/package.json' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent

npm ERR! A complete log of this run can be found in: npm ERR! /home/col/.npm/_logs/2022-05-21T08_52_46_011Z-debug.log

samushi commented 2 years ago

it looks like husky is not being installed, are you using Linux?