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
copy-production-deps: failed: Error: #assignTargetDirs reached root, report this as bug Error: #assignTargetDirs reached root, report this as bug
at resolve (/home/zagorski/zz/copy-production-deps/lib/copy-production-deps.js:246:23)
at getResolved (/home/zagorski/zz/copy-production-deps/lib/copy-production-deps.js:255:17)
at assignTargetDirs (/home/zagorski/zz/copy-production-deps/lib/copy-production-deps.js:278:9)
at Object.copyProductionDeps (/home/zagorski/zz/copy-production-deps/lib/copy-production-deps.js:379:28)
at /home/zagorski/zz/copy-production-deps/lib/cli.js:99:38
at asyncCommand (/home/zagorski/zz/copy-production-deps/lib/cli.js:32:15)
at Object.handler (/home/zagorski/zz/copy-production-deps/lib/cli.js:85:18)
at Object.runCommand (/home/zagorski/zz/copy-production-deps/node_modules/yargs/lib/command.js:240:40)
at Object.parseArgs [as _parseArgs] (/home/zagorski/zz/copy-production-deps/node_modules/yargs/yargs.js:1164:39)
at Object.get [as argv] (/home/zagorski/zz/copy-production-deps/node_modules/yargs/yargs.js:1088:21)
This caused by assignTargetDirs not supporting namespaced packages like @nuxt/fuubar. Current implementation used very naive dirname(dirname(...) "method" to advance up into parent node_modules while searching for better location for package.
Trying to run
copy-production-deps
(v0.1.6) on this repo: https://github.com/yshrsmz/nuxt-serverless-test yields following errorFollowup of #4
The text was updated successfully, but these errors were encountered: