You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 3, 2019. It is now read-only.
I trying to execute first example, but error occurred on require('pacote'):
Error: Cannot find module 'mkdirp'
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object.<anonymous> (/home/anatoly/fun/t/node_modules/pacote/extract.js:7:29)
...
It happens because mkdirp is dev dependnency of pacote. The same will happens with rimraf.
Is it correct that mkdirp and rimraf are dev dependencies but used in production part of package?
Pacote: v7.0.2
Node: v4.8.4
Npm: v2.15.11
The text was updated successfully, but these errors were encountered:
This only hurts individuals on npm2, as both packages are transitive
dependencies of many explicit dependencies already.
53899c7 added runtime require of mkdirp
189cdd2 added runtime require of rimraf
Fixes: #128
This only hurts individuals on npm2, as both packages are transitive
dependencies of many explicit dependencies already.
53899c7 added runtime require of mkdirp
189cdd2 added runtime require of rimraf
Fixes: #128
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi!
I trying to execute first example, but error occurred on
require('pacote')
:Error related to this line:
pacote/extract.js
Line 7 in 1757b2b
It happens because
mkdirp
is dev dependnency ofpacote
. The same will happens withrimraf
.Is it correct that
mkdirp
andrimraf
are dev dependencies but used in production part of package?Pacote: v7.0.2
Node: v4.8.4
Npm: v2.15.11
The text was updated successfully, but these errors were encountered: