flattennpmmodules.ps1 is looking for ./node_modules/electron-windows-store/node_modules/flatten/bin/flatten but for me, there is no flatten under this path. Instead npm put it in the top-level node_modules.
Guess this is an artifact from times when npm didn't flatten the modules itself? flattennpmmodules.ps1 should probably check both paths:
flattennpmmodules.ps1
is looking for./node_modules/electron-windows-store/node_modules/flatten/bin/flatten
but for me, there is noflatten
under this path. Insteadnpm
put it in the top-levelnode_modules
.Guess this is an artifact from times when
npm
didn't flatten the modules itself?flattennpmmodules.ps1
should probably check both paths:./node_modules/electron-windows-store/node_modules/flatten/bin/flatten
./node_modules/flatten/bin/flatten
I'd file a PR but I'm not familiar with PowerShell :|