samushi/modern-node-starter

Failed install

Opened this issue ยท 1 comments

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

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