DEV Community

Discussion on: Deno might not kill Node, but something else

Collapse
 
mzaini30 profile image
Zen

/package.json and /node_modules are required. You cannot simply use global filesystem's.

You can use PNPM

Collapse
 
patarapolw profile image
Pacharapol Withayasakpunt • Edited

The problem is not size, but ease of use. Why do I always need /package.json? Why cannot be exactly single file?

As well as, this is still required.

# echo 'shamefully-hoist=true' >> .npmrc (or ~/.npmrc)
# As you can see, global store doesn't always have first class support.
pnpm i
Collapse
 
mzaini30 profile image
Zen

It's not bug. It's feature 😂