unfold / heroku-buildpack-pnpm

Run PNPM install on Heroku
MIT License
38 stars 39 forks source link

Husky not found #4

Closed kimmikirino closed 2 years ago

kimmikirino commented 2 years ago

Hi,

I'm trying to use this buildpack, but it only works (builds) if I move everything from devDependencies to dependencies in package.json.

My errors : husky: not found when I move husky to dependencies, then I have tsc not found, and so on. Looks like it installs only the dep and not the devDep.

Any idea or some workarounds? Thanks in advance

kimmikirino commented 2 years ago

Hey I just figure it out how to workaround

I commented the NODE_ENV var here -> https://github.com/unfold/heroku-buildpack-pnpm/blob/main/lib/environment.sh#L26 and worked.