-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] unable to publish when using publishConfig option - ERR_INVALID_ARG_TYPE #2834
Comments
We had the same issue. The workaround works for now, thanks @waitem |
Having the same issue here, an other workaround (if you don't want to modify all your publish config) is to modify line 51 of flat-options.js to
|
This workaround does create a local directory |
I just encountered this bug, and the |
experienced the same in |
Hi everybody. I can confirm this issue too. Proposed workaround (adding In this particular case I can't remove Did not downgrade to I'm glad to see the pull request over this comment. Keep up the good work. $ uname -srv
Linux 5.4.0-66-generic #74~18.04.2-Ubuntu SMP Fri Feb 5 11:17:31 UTC 2021
$ npm --version
7.6.3
$ node --version
v12.21.0 I suggest future readers |
Hi again. Just noticed the workaround has another side-effect: It will publish with
Check |
A huge thank you to @kenrick95 for figuring this out and submitting a PR that will resolve it: #2865 Will keep this open after we ship that PR (which will hopefully be this week) so those affected can confirm that it fixes their issue. |
When not handled, when there are multiple entries in this.npm.config.list, it causes crash as described in #2834 The change here merge everything in this.npm.config.list, because as I observed, the default config is present only at the last entry. Fix: #2834 Co-authored-by: @wraithgar PR-URL: #2865 Credit: @kenrick95 Close: #2865 Reviewed-by: @isaacs, @wraithgar
When not handled, when there are multiple entries in this.npm.config.list, it causes crash as described in #2834 The change here merge everything in this.npm.config.list, because as I observed, the default config is present only at the last entry. Fix: #2834 Co-authored-by: @wraithgar PR-URL: #2865 Credit: @kenrick95 Close: #2865 Reviewed-by: @isaacs, @wraithgar
…is in configuration so I am working around it as well
npm issue when publishing packages --> npm/cli#2834
The Workaround worked for me too 👍 |
### Patch Changes - fix: npm publish: npm/cli#2834
### Patch Changes - fix: npm publish: npm/cli#2834
### Patch Changes - fix: npm publish: npm/cli#2834 - Updated dependencies [undefined] - @ctx-core/dom@8.2.14
### Patch Changes - fix: npm publish: npm/cli#2834
### Patch Changes - fix: npm publish: npm/cli#2834 - Updated dependencies [undefined] - @ctx-core/array@20.2.2 - @ctx-core/object@17.4.2 - @ctx-core/sass@9.2.13 - @ctx-core/store@24.1.15
### Patch Changes - fix: npm publish: npm/cli#2834
### Patch Changes - fix: npm publish: npm/cli#2834
### Patch Changes - fix: npm publish: npm/cli#2834 - Updated dependencies [undefined] - @ctx-core/object@17.4.2
### Patch Changes - fix: npm publish: npm/cli#2834
### Patch Changes - fix: npm publish: npm/cli#2834 - Updated dependencies [undefined] - @ctx-core/atob@7.0.7 - @ctx-core/env@10.0.33 - @ctx-core/object@17.4.2 - @ctx-core/store@24.1.15
### Patch Changes - fix: npm publish: npm/cli#2834
### Patch Changes - fix: npm publish: npm/cli#2834
### Patch Changes - fix: npm publish: npm/cli#2834 - Updated dependencies [undefined] - @ctx-core/dom@8.2.14 - @ctx-core/function@17.4.3 - @ctx-core/object@17.4.2 - @ctx-core/store@24.1.15
### Patch Changes - fix: npm publish: npm/cli#2834 - Updated dependencies [undefined] - @ctx-core/array@20.2.2 - @ctx-core/function@17.4.3 - @ctx-core/queue@3.0.7 - @ctx-core/string@6.1.17
### Patch Changes - fix: npm publish: npm/cli#2834
### Patch Changes - fix: npm publish: npm/cli#2834
### Patch Changes - fix: npm publish: npm/cli#2834 - Updated dependencies [undefined] - @ctx-core/array@20.2.2
### Patch Changes - fix: npm publish: npm/cli#2834 - Updated dependencies [undefined] - @ctx-core/array@20.2.2 - @ctx-core/object@17.4.2
This is needed to counter the current issue with publishConfig npm/cli#2834
I can confirm that this issue was happening on my end as well on |
I also confirm this issue occurs as of right now, using I've removed the |
## 13.2.20 ### Patch Changes - @ctx-core/env: ^17.4.18 -> ^17.4.19 - tsx: ^4.1.3 -> ^4.1.4 - Updated dependencies - @ctx-core/env@17.4.20 - @ctx-core/object@31.0.1 ## 13.2.19 ### Patch Changes - Updated dependencies - Updated dependencies - Updated dependencies - - @ctx-core/object@31.0.0 - - @ctx-core/env@17.4.18 - @ctx-core/object@31.0.0 - @ctx-core/env@17.4.18 ## 13.2.18 - @ctx-core/env: ^17.4.15 -> ^17.4.16 - Updated dependencies - - @ctx-core/object@30.4.8 - @ctx-core/object@30.4.8 ## 13.2.16 - Updated dependencies - Updated dependencies - Updated dependencies - - @ctx-core/env@17.4.15 - @ctx-core/env@17.4.15 ## 13.2.15 - Updated dependencies - Updated dependencies - Updated dependencies - - @ctx-core/env@17.4.14 - @ctx-core/env@17.4.14 ## 13.2.14 - Updated dependencies - Updated dependencies - Updated dependencies - - @ctx-core/env@17.4.13 - @ctx-core/env@17.4.13 ## 13.2.12 - Updated dependencies - Updated dependencies - Updated dependencies - - @ctx-core/env@17.4.12 - @ctx-core/env@17.4.12 ## 13.2.11 - @ctx-core/object: ^30.4.2 -> ^30.4.3 - Updated dependencies - - @ctx-core/env@17.4.11 - @ctx-core/env@17.4.11 ## 13.2.10 - Updated dependencies - Updated dependencies - Updated dependencies - - @ctx-core/env@17.4.10 - @ctx-core/env@17.4.10 ## 13.2.9 - tsx: ^4.1.2 -> ^4.1.3 - Updated dependencies - Updated dependencies - - @ctx-core/object@30.4.1 - - @ctx-core/env@17.4.9 - @ctx-core/object@30.4.1 - @ctx-core/env@17.4.9 ## 13.2.8 - @ctx-core/object: ^30.3.1 -> ^30.4.0 - Updated dependencies - - @ctx-core/env@17.4.8 - @ctx-core/env@17.4.8 ## 13.2.7 - Updated dependencies - Updated dependencies - Updated dependencies - - @ctx-core/env@17.4.7 - @ctx-core/env@17.4.7 ## 13.2.6 - @ctx-core/object: ^30.2.0 -> ^30.3.0 - Updated dependencies - Updated dependencies - - @ctx-core/env@17.4.6 - @ctx-core/env@17.4.6 ## 13.2.5 - @ctx-core/object: ^30.1.3 -> ^30.2.0 - Updated dependencies - Updated dependencies - - @ctx-core/env@17.4.5 - @ctx-core/env@17.4.5 ## 13.2.4 - package.json: files: + \*.js - Updated dependencies - - @ctx-core/env@17.4.3 - - @ctx-core/object@30.1.3 - @ctx-core/env@17.4.3 - @ctx-core/object@30.1.3 ## 13.2.2 - fix: missing tsconfig.json - Updated dependencies - - @ctx-core/env@17.4.2 - - @ctx-core/object@30.1.2 - @ctx-core/env@17.4.2 - @ctx-core/object@30.1.2 ## 13.2.1 - Updated dependencies - Updated dependencies - Updated dependencies - - @ctx-core/object@30.1.1 - - @ctx-core/env@17.4.1 - @ctx-core/object@30.1.1 - @ctx-core/env@17.4.1 ## 13.2.0 - Updated dependencies - Updated dependencies - Updated dependencies - - @ctx-core/env@17.4.0 - - @ctx-core/object@30.1.0 - @ctx-core/env@17.4.0 - @ctx-core/object@30.1.0 ## 13.1.235 ### Patch Changes - Updated dependencies - - @ctx-core/object@30.0.0 - - @ctx-core/env@17.3.19 - @ctx-core/object@30.0.0 - @ctx-core/env@17.3.19 ## 13.1.234 - @ctx-core/object: ^29.0.0 -> ^29.1.0 - Updated dependencies - - @ctx-core/env@17.3.18 - @ctx-core/env@17.3.18 ## 13.1.233 - Updated dependencies - Updated dependencies - Updated dependencies - - @ctx-core/object@29.0.0 - - @ctx-core/env@17.3.16 - @ctx-core/object@29.0.0 - @ctx-core/env@17.3.16 ## 13.1.230 - @aws-sdk/client-s3: ^3.440.0 -> ^3.441.0 - @ctx-core/object: ^28.2.1 -> ^28.2.2 - Updated dependencies - - @ctx-core/env@17.3.15 - @ctx-core/env@17.3.15 ## 13.1.229 - @aws-sdk/client-s3: ^3.429.0 -> ^3.431.0 - tsx: ^3.13.0 -> ^3.14.0 - Updated dependencies - - @ctx-core/env@17.3.10 - - @ctx-core/object@28.2.1 - @ctx-core/env@17.3.10 - @ctx-core/object@28.2.1 ## 13.1.219 - @ctx-core/object: ^28.1.0 -> ^28.2.0 - Updated dependencies - - @ctx-core/env@17.3.9 - @ctx-core/env@17.3.9 ## 13.1.215 - @ctx-core/object: ^28.0.7 -> ^28.1.0 - Updated dependencies - Updated dependencies - - @ctx-core/env@17.3.8 - @ctx-core/env@17.3.8 ## 13.1.213 - version bump - Updated dependencies - - @ctx-core/env@17.3.5 - - @ctx-core/object@28.0.7 - @ctx-core/env@17.3.5 - @ctx-core/object@28.0.7 ## 13.1.200 - @ctx-core/object: ^28.0.4 -> ^28.0.5 - @ctx-core/env: ^17.2.128 -> ^17.3.0 - Updated dependencies - - @ctx-core/env@17.3.1 - @ctx-core/env@17.3.1 ## 13.1.195 - @aws-sdk/client-s3: ^3.360.0 -> ^3.362.0 - Updated dependencies - - @ctx-core/env@17.2.119 - @ctx-core/env@17.2.119 ## 13.1.166 - @ctx-core/object: ^28.0.2 -> ^28.0.3 - Updated dependencies - Updated dependencies - - @ctx-core/env@17.2.117 - @ctx-core/env@17.2.117 ## 13.1.161 - @ctx-core/object: ^28.0.1 -> ^28.0.2 - Updated dependencies - Updated dependencies - - @ctx-core/env@17.2.114 - @ctx-core/env@17.2.114 ## 13.1.158 - @aws-sdk/client-s3: ^3.353.0 -> ^3.354.0 - Updated dependencies - - @ctx-core/env@17.2.113 - @ctx-core/env@17.2.113 ## 13.1.157 - @ctx-core/env: ^17.2.109 -> ^17.2.110 - Updated dependencies - - @ctx-core/env@17.2.111 - @ctx-core/env@17.2.111 ## 13.1.155 - @ctx-core/object: ^28.0.0 -> ^28.0.1 - Updated dependencies - - @ctx-core/env@17.2.107 - @ctx-core/env@17.2.107 ## 13.1.148 ### Patch Changes - Updated dependencies - - @ctx-core/object@28.0.0 - - @ctx-core/env@17.2.106 - @ctx-core/object@28.0.0 - @ctx-core/env@17.2.106 ## 13.1.145 - @ctx-core/object: ^27.8.1 -> ^27.9.0 - Updated dependencies - - @ctx-core/env@17.2.105 - @ctx-core/env@17.2.105 ## 13.1.144 - @ctx-core/object: ^27.8.0 -> ^27.8.1 - Updated dependencies - - @ctx-core/env@17.2.104 - @ctx-core/env@17.2.104 ## 13.1.143 - @ctx-core/object: ^27.6.0 -> ^27.8.0 - Updated dependencies - - @ctx-core/env@17.2.103 - @ctx-core/env@17.2.103 ## 13.1.142 - @ctx-core/object: ^27.5.0 -> ^27.6.0 - Updated dependencies - - @ctx-core/env@17.2.102 - @ctx-core/env@17.2.102 ## 13.1.141 - @ctx-core/object: ^27.4.26 -> ^27.5.0 - Updated dependencies - - @ctx-core/env@17.2.99 - @ctx-core/env@17.2.99 ## 13.1.137 - @ctx-core/env: ^17.2.91 -> ^17.2.92 - @ctx-core/object: ^27.4.25 -> ^27.4.26 - Updated dependencies - - @ctx-core/env@17.2.93 - @ctx-core/env@17.2.93 ## 13.1.127 - @ctx-core/object: ^27.4.24 -> ^27.4.25 - Updated dependencies - Updated dependencies - - @ctx-core/env@17.2.87 - @ctx-core/env@17.2.87 ## 13.1.115 - @ctx-core/monorepo: ^20.3.3 -> ^20.3.4 - Updated dependencies - - @ctx-core/env@17.2.83 - - @ctx-core/object@27.4.23 - @ctx-core/env@17.2.83 - @ctx-core/object@27.4.23 ## 13.1.106 - Updated dependencies - Updated dependencies - Updated dependencies - - @ctx-core/env@17.2.82 - - @ctx-core/object@27.4.22 - @ctx-core/env@17.2.82 - @ctx-core/object@27.4.22 ## 13.1.105 - Updated dependencies - Updated dependencies - Updated dependencies - - @ctx-core/env@17.2.81 - - @ctx-core/object@27.4.21 - @ctx-core/env@17.2.81 - @ctx-core/object@27.4.21 ## 13.1.104 - Updated dependencies - Updated dependencies - Updated dependencies - - @ctx-core/env@17.2.80 - - @ctx-core/object@27.4.20 - @ctx-core/env@17.2.80 - @ctx-core/object@27.4.20 ## 13.1.103 - Updated dependencies - Updated dependencies - Updated dependencies - - @ctx-core/env@17.2.79 - - @ctx-core/object@27.4.19 - @ctx-core/env@17.2.79 - @ctx-core/object@27.4.19 ## 13.1.102 - Updated dependencies - Updated dependencies - Updated dependencies - - @ctx-core/env@17.2.78 - - @ctx-core/object@27.4.18 - @ctx-core/env@17.2.78 - @ctx-core/object@27.4.18 ## 13.1.101 - Updated dependencies - Updated dependencies - Updated dependencies - - @ctx-core/env@17.2.77 - - @ctx-core/object@27.4.17 - @ctx-core/env@17.2.77 - @ctx-core/object@27.4.17 ## 13.1.86 - @ctx-core/object: ^27.4.0 -> ^27.4.1 - Updated dependencies - - @ctx-core/env@17.2.53 - @ctx-core/env@17.2.53 ## 13.1.72 - @ctx-core/object: ^27.3.4 -> ^27.4.0 - Updated dependencies - - @ctx-core/env@17.2.52 - @ctx-core/env@17.2.52 ## 13.1.71 - @aws-sdk/client-s3: ^3.301.0 -> ^3.303.0 - Updated dependencies - - @ctx-core/env@17.2.48 - - @ctx-core/object@27.3.2 - @ctx-core/env@17.2.48 - @ctx-core/object@27.3.2 ## 13.1.65 - @ctx-core/env: ^17.2.43 -> ^17.2.44 - Updated dependencies - - @ctx-core/env@17.2.45 - @ctx-core/env@17.2.45 ## 13.1.62 - @ctx-core/object: ^27.3.0 -> ^27.3.1 - Updated dependencies - - @ctx-core/env@17.2.42 - @ctx-core/env@17.2.42 ## 13.1.56 - @ctx-core/object: ^27.2.0 -> ^27.3.0 - Updated dependencies - - @ctx-core/env@17.2.41 - @ctx-core/env@17.2.41 ## 13.1.55 - @ctx-core/object: ^27.1.7 -> ^27.2.0 - Updated dependencies - - @ctx-core/env@17.2.40 - @ctx-core/env@17.2.40 ## 13.1.53 - @ctx-core/object: ^27.1.3 -> ^27.1.4 - Updated dependencies - - @ctx-core/env@17.2.29 - @ctx-core/env@17.2.29 ## 13.1.34 - @ctx-core/object: ^27.1.2 -> ^27.1.3 - Updated dependencies - - @ctx-core/env@17.2.28 - @ctx-core/env@17.2.28 ## 13.1.33 - @ctx-core/object: ^27.0.0 -> ^27.1.0 - Updated dependencies - Updated dependencies - - @ctx-core/env@17.2.23 - @ctx-core/env@17.2.23 ## 13.1.28 ### Patch Changes - Updated dependencies - - @ctx-core/object@27.0.0 - - @ctx-core/env@17.2.21 - @ctx-core/object@27.0.0 - @ctx-core/env@17.2.21 ## 13.1.26 - @ctx-core/env: ^17.2.18 -> ^17.2.19 - Updated dependencies - - @ctx-core/env@17.2.20 - @ctx-core/env@17.2.20 ## 13.1.23 - import*meta_env*() instead of process.env - Updated dependencies - - @ctx-core/env@17.2.18 - @ctx-core/env@17.2.18 ## 13.1.22 - Updated dependencies - Updated dependencies - Updated dependencies - - @ctx-core/object@26.0.0 - - @ctx-core/env@17.2.17 - @ctx-core/object@26.0.0 - @ctx-core/env@17.2.17 ## 13.1.21 - @ctx-core/object: ^25.2.0 -> ^25.2.1 - Updated dependencies - - @ctx-core/env@17.2.16 - @ctx-core/env@17.2.16 ## 13.1.20 - @ctx-core/object: ^25.1.0 -> ^25.2.0 - Updated dependencies - - @ctx-core/env@17.2.15 - @ctx-core/env@17.2.15 ## 13.1.19 - @ctx-core/object: ^25.0.1 -> ^25.1.0 - Updated dependencies - - @ctx-core/env@17.2.14 - @ctx-core/env@17.2.14 ## 13.1.17 - @ctx-core/object: ^25.0.0 -> ^25.0.1 - Updated dependencies - - @ctx-core/env@17.2.12 - @ctx-core/env@17.2.12 ## 13.1.15 - Updated dependencies - Updated dependencies - Updated dependencies - - @ctx-core/object@25.0.0 - - @ctx-core/env@17.2.11 - @ctx-core/object@25.0.0 - @ctx-core/env@17.2.11 ## 13.1.13 ### Patch Changes - Updated dependencies - - @ctx-core/env@17.0.0 - @ctx-core/env@17.0.0 ## 13.0.149 - @ctx-core/object: ^24.1.3 -> ^24.1.4 - Updated dependencies - - @ctx-core/env@16.1.43 - @ctx-core/env@16.1.43 ## 13.0.140 - @ctx-core/object: ^24.1.2 -> ^24.1.3 - Updated dependencies - - @ctx-core/env@16.1.42 - @ctx-core/env@16.1.42 ## 13.0.139 - @ctx-core/object: ^24.1.1 -> ^24.1.2 - Updated dependencies - - @ctx-core/env@16.1.38 - @ctx-core/env@16.1.38 ## 13.0.134 - tsconfig.json: - importsNotUsedAsValues - Updated dependencies - - @ctx-core/env@16.1.37 - - @ctx-core/object@24.1.1 - @ctx-core/env@16.1.37 - @ctx-core/object@24.1.1 ## 13.0.133 - @ctx-core/object: ^24.0.0 -> ^24.0.1 - Updated dependencies - - @ctx-core/env@16.1.35 - @ctx-core/env@16.1.35 ## 13.0.126 - Updated dependencies - Updated dependencies - Updated dependencies - - @ctx-core/object@24.0.0 - - @ctx-core/env@16.1.34 - @ctx-core/object@24.0.0 - @ctx-core/env@16.1.34 ## 13.0.124 - @ctx-core/object: ^23.0.1 -> ^23.1.0 - Updated dependencies - - @ctx-core/env@16.1.32 - @ctx-core/env@16.1.32 ## 13.0.120 - @ctx-core/object: ^23.0.0 -> ^23.0.1 - Updated dependencies - - @ctx-core/env@16.1.31 - @ctx-core/env@16.1.31 ## 13.0.119 ### Patch Changes - Updated dependencies - - @ctx-core/object@23.0.0 - - @ctx-core/env@16.1.30 - @ctx-core/object@23.0.0 - @ctx-core/env@16.1.30 ## 13.0.118 - @ctx-core/object: ^22.9.1 -> ^22.10.0 - Updated dependencies - - @ctx-core/env@16.1.29 - @ctx-core/env@16.1.29 ## 13.0.117 - @ctx-core/object: ^22.9.0 -> ^22.9.1 - Updated dependencies - - @ctx-core/env@16.1.28 - @ctx-core/env@16.1.28 ## 13.0.116 - @ctx-core/object: ^22.8.2 -> ^22.9.0 - Updated dependencies - - @ctx-core/env@16.1.27 - @ctx-core/env@16.1.27 ## 13.0.115 - @ctx-core/object: ^22.8.0 -> ^22.8.2 - Updated dependencies - - @ctx-core/env@16.1.26 - @ctx-core/env@16.1.26 ## 13.0.114 - @ctx-core/object: ^22.6.0 -> ^22.7.0 - Updated dependencies - Updated dependencies - - @ctx-core/env@16.1.25 - - @ctx-core/object@22.8.0 - @ctx-core/env@16.1.25 - @ctx-core/object@22.8.0 ## 13.0.113 - @ctx-core/object: ^22.5.0 -> ^22.6.0 - Updated dependencies - - @ctx-core/env@16.1.24 - @ctx-core/env@16.1.24 ## 13.0.112 - @ctx-core/object: ^22.4.1 -> ^22.5.0 - Updated dependencies - - @ctx-core/env@16.1.23 - @ctx-core/env@16.1.23 ## 13.0.111 - @aws-sdk/client-s3: ^3.224.0 -> ^3.226.0 - Updated dependencies - - @ctx-core/env@16.1.20 - @ctx-core/env@16.1.20 ## 13.0.100 - tsx: ^3.8.2 -> ^3.9.0 - Updated dependencies - - @ctx-core/env@16.1.9 - - @ctx-core/object@22.2.7 - @ctx-core/env@16.1.9 - @ctx-core/object@22.2.7 ## 13.0.64 - @ctx-core/object: 22.2.0 - Updated dependencies - - @ctx-core/env@16.0.26 - @ctx-core/env@16.0.26 ## 13.0.34 - update dependencies - Updated dependencies - - @ctx-core/env@16.0.21 - @ctx-core/env@16.0.21 ## 13.0.21 - @ctx-core/function: 20.7.1 - Updated dependencies - - @ctx-core/env@16.0.20 - - @ctx-core/object@22.1.8 - @ctx-core/env@16.0.20 - @ctx-core/object@22.1.8 ## 13.0.20 - @ctx-core/array: 26.2.0 - Updated dependencies - - @ctx-core/env@16.0.19 - - @ctx-core/object@22.1.7 - @ctx-core/env@16.0.19 - @ctx-core/object@22.1.7 ## 13.0.19 - fix: @ctx-core/\* dependencies - Updated dependencies - - @ctx-core/env@16.0.17 - - @ctx-core/object@22.1.5 - @ctx-core/env@16.0.17 - @ctx-core/object@22.1.5 ## 13.0.15 - package.json: exports: update - Updated dependencies - - @ctx-core/env@16.0.16 - - @ctx-core/object@22.1.4 - @ctx-core/env@16.0.16 - @ctx-core/object@22.1.4 ## 13.0.14 - @aws-sdk/client-s3: ^3.58.0 -> ^3.67.0 - Updated dependencies - - @ctx-core/env@16.0.14 - @ctx-core/env@16.0.14 ## 13.0.12 - update dependencies - Updated dependencies - - @ctx-core/env@16.0.12 - @ctx-core/env@16.0.12 ## 13.0.9 - update dependencies - Updated dependencies - - @ctx-core/env@16.0.5 - @ctx-core/env@16.0.5 ## 13.0.3 - update dependencies - Updated dependencies - - @ctx-core/env@16.0.3 - @ctx-core/env@16.0.3 ## 13.0.1 ### Patch Changes - Updated dependencies - - @ctx-core/env@16.0.0 - @ctx-core/env@16.0.0 ## 12.1.1 ### Minor Changes -- - - getObject_b,getObject_maybe_b,listObjects_b,putObject_b,s3_client_b - - getObject_b,getObject_maybe_b,listObjects_b,putObject_b,s3_client_b ## 12.0.1 - update dependencies - Updated dependencies - - @ctx-core/env@15.0.17 - @ctx-core/env@15.0.17 ## 11.0.61 - update dependencies - Updated dependencies - - @ctx-core/env@15.0.16 - @ctx-core/env@15.0.16 ## 11.0.60 - sideEffects = false - Updated dependencies - - @ctx-core/env@15.0.10 - @ctx-core/env@15.0.10 ## 11.0.57 - @swc/core: ^1.2.125 -> ^1.2.127 - Updated dependencies - Updated dependencies - - @ctx-core/env@15.0.9 - @ctx-core/env@15.0.9 ## 11.0.56 - version bump - Updated dependencies - - @ctx-core/env@15.0.8 - @ctx-core/env@15.0.8 ## 11.0.55 - .js + .d.ts instead of .ts - Updated dependencies - - @ctx-core/env@15.0.7 - @ctx-core/env@15.0.7 ## 11.0.54 ### Patch Changes - Updated dependencies - - @ctx-core/env@15.0.0 - @ctx-core/env@15.0.0 ## 11.0.53 - fix: error TS6059: \* is not under 'rootDir': package.json: types: ./dist/index.d.ts - Updated dependencies - - @ctx-core/env@14.0.9 - @ctx-core/env@14.0.9 ## 11.0.52 - tsconfig.json: "target": "ES2021" - Updated dependencies - - @ctx-core/env@14.0.8 - @ctx-core/env@14.0.8 ## 11.0.51 - package.json: "types": "./src/index.ts": better editing experience - Updated dependencies - - @ctx-core/env@14.0.7 - @ctx-core/env@14.0.7 ## 11.0.50 - fix: build - Updated dependencies - - @ctx-core/env@14.0.6 - @ctx-core/env@14.0.6 ## 11.0.49 - \*.d.ts export - Updated dependencies - - @ctx-core/env@14.0.5 - @ctx-core/env@14.0.5 ## 11.0.48 - fix: tsconfig.json: "rootDir": "." - Updated dependencies - - @ctx-core/env@14.0.4 - @ctx-core/env@14.0.4 ## 11.0.47 - fix: package.json: exports - Updated dependencies - - @ctx-core/env@14.0.3 - @ctx-core/env@14.0.3 ## 11.0.46 - package.json: svelte: ./dist/index.js - Updated dependencies - - @ctx-core/env@14.0.2 - @ctx-core/env@14.0.2 ## 11.0.45 - package.json: - module - Updated dependencies - Updated dependencies - - @ctx-core/env@14.0.0 - @ctx-core/env@14.0.0 ## 11.0.44 - package.json: - "main": explicitly not support cjs - Updated dependencies - - @ctx-core/env@13.0.54 - @ctx-core/env@13.0.54 ## 11.0.43 - @swc/core: ^1.2.117 -> ^1.2.118 - Updated dependencies - - @ctx-core/env@13.0.52 - @ctx-core/env@13.0.52 ## 11.0.42 - @swc/core: ^1.2.116 -> ^1.2.117 - Updated dependencies - - @ctx-core/env@13.0.51 - @ctx-core/env@13.0.51 ## 11.0.41 - @swc/core: ^1.2.113 -> ^1.2.116 - @aws-sdk/client-s3: ^3.42.0 -> ^3.44.0 - Updated dependencies - - @ctx-core/env@13.0.50 - @ctx-core/env@13.0.50 ## 11.0.40 - @swc/core: ^1.2.111 -> ^1.2.113 - Updated dependencies - Updated dependencies - - @ctx-core/env@13.0.49 - @ctx-core/env@13.0.49 ## 11.0.39 - @swc/core: ^1.2.110 -> ^1.2.111 - Updated dependencies - Updated dependencies - - @ctx-core/env@13.0.48 - @ctx-core/env@13.0.48 ## 11.0.38 - @swc/core: ^1.2.108 -> ^1.2.110 - Updated dependencies - Updated dependencies - - @ctx-core/env@13.0.47 - @ctx-core/env@13.0.47 ## 11.0.37 - @aws-sdk/client-s3: ^3.40.1 -> ^3.41.0 - @swc/core: ^1.2.107 -> ^1.2.108 - Updated dependencies - - @ctx-core/env@13.0.46 - @ctx-core/env@13.0.46 ## 11.0.35 - compile using swc - Updated dependencies - - @ctx-core/env@13.0.45 - @ctx-core/env@13.0.45 ## 11.0.34 - @aws-sdk/client-s3: ^3.36.0 -> ^3.39.0 - Updated dependencies [undefined] - Updated dependencies [undefined] - - @ctx-core/env@13.0.43 - @ctx-core/env@13.0.43 ## 11.0.32 - update dependencies - Updated dependencies [undefined] - - @ctx-core/env@13.0.38 - @ctx-core/env@13.0.38 ## 11.0.26 - typescript: ^4.4.2 -> ^4.4.3 - Updated dependencies [undefined] - - @ctx-core/env@13.0.37 - @ctx-core/env@13.0.37 ## 11.0.25 - typescript: ^4.3.5 -> ^4.4.2 - Updated dependencies [undefined] - - @ctx-core/env@13.0.33 - @ctx-core/env@13.0.33 ## 11.0.21 - update dependencies - Updated dependencies [undefined] - - @ctx-core/env@13.0.27 - @ctx-core/env@13.0.27 ## 11.0.19 - update dependencies - Updated dependencies [undefined] - - @ctx-core/env@13.0.23 - @ctx-core/env@13.0.23 ## 11.0.15 - @aws-sdk/client-s3: ^3.22.0 -> ^3.23.0 - Updated dependencies [undefined] - - @ctx-core/env@13.0.20 - @ctx-core/env@13.0.20 ## 11.0.14 - fix: "exports": "./package.json": "./package.json" - Updated dependencies [undefined] - - @ctx-core/env@13.0.14 - @ctx-core/env@13.0.14 ## 11.0.12 - exports: + "package.json": "./package.json" - Updated dependencies [undefined] - - @ctx-core/env@13.0.13 - @ctx-core/env@13.0.13 ## 11.0.11 - fix: sourceMappingURL: "mapRoot": "" - Updated dependencies [undefined] - - @ctx-core/env@13.0.12 - @ctx-core/env@13.0.12 ## 11.0.9 - tsconfig.json: "target": "es2019" - Updated dependencies [undefined] - - @ctx-core/env@13.0.11 - @ctx-core/env@13.0.11 ## 11.0.8 - fix: cjs: load as a Promise - Updated dependencies [undefined] - - @ctx-core/env@13.0.10 - @ctx-core/env@13.0.10 ## 11.0.7 - "main": "./dist/index.cjs" - Updated dependencies [undefined] - - @ctx-core/env@13.0.9 - @ctx-core/env@13.0.9 ## 11.0.6 - fix: index.cjs: module.exports = require('./index.js') - Updated dependencies [undefined] - - @ctx-core/env@13.0.8 - @ctx-core/env@13.0.8 ## 11.0.5 - back to esm module with cjs using esm npm package to load library - Updated dependencies [undefined] - - @ctx-core/env@13.0.7 - @ctx-core/env@13.0.7 ## 11.0.4 - support cjs & esm: + "exports" - Updated dependencies [undefined] - - @ctx-core/env@13.0.5 - @ctx-core/env@13.0.5 ## 11.0.3 - fix: "type": "module" - Updated dependencies [undefined] - - @ctx-core/env@13.0.2 - @ctx-core/env@13.0.2 ## 11.0.1 - fix: "type": "module" - Updated dependencies [2a6971f80] - Updated dependencies [undefined] - - @ctx-core/env@13.0.1 - @ctx-core/env@13.0.1 ## 11.0.0 ### Patch Changes - Updated dependencies [undefined] - - @ctx-core/env@13.0.0 - @ctx-core/env@13.0.0 ## 10.0.17 - typescript: ^4.3.4 -> ^4.3.5 - Updated dependencies [undefined] - - @ctx-core/env@12.0.23 - @ctx-core/env@12.0.23 ## 10.0.14 - dist directory - Updated dependencies [undefined] - - @ctx-core/env@12.0.19 - @ctx-core/env@12.0.19 ## 10.0.12 - update dependencies - Updated dependencies [undefined] - - @ctx-core/env@12.0.18 - @ctx-core/env@12.0.18 ## 10.0.11 - tsconfig.json: "lib": ["dom", "ESNext"] - Updated dependencies [undefined] - - @ctx-core/env@12.0.14 - @ctx-core/env@12.0.14 ## 10.0.9 - "prepublishOnly": "npm run clean && npm run compile" - Updated dependencies [undefined] - - @ctx-core/env@12.0.11 - @ctx-core/env@12.0.11 ## 10.0.8 - fix: deploying \*.js files - Updated dependencies [undefined] - - @ctx-core/env@12.0.10 - @ctx-core/env@12.0.10 ## 10.0.7 - "prepare": "npm run clean && npm run compile" - Updated dependencies [undefined] - - @ctx-core/env@12.0.9 - @ctx-core/env@12.0.9 ## 10.0.6 - npm run prepare instead of npm run prepublishOnly - Updated dependencies [undefined] - - @ctx-core/env@12.0.8 - @ctx-core/env@12.0.8 ## 10.0.5 - fix: npm run clean - Updated dependencies [undefined] - - @ctx-core/env@12.0.7 - @ctx-core/env@12.0.7 ## 10.0.4 - typescript: ^4.3.3 -> ^4.3.4 - Updated dependencies [undefined] - - @ctx-core/env@12.0.6 - @ctx-core/env@12.0.6 ## 10.0.3 - version bump - Updated dependencies [undefined] - - @ctx-core/env@12.0.4 - @ctx-core/env@12.0.4 ## 10.0.1 - typescript: ^4.3.2 -> ^4.3.3 - Updated dependencies [undefined] - - @ctx-core/env@12.0.3 - @ctx-core/env@12.0.3 ## 10.0.0 ### Patch Changes - Updated dependencies [undefined] - - @ctx-core/env@12.0.0 - @ctx-core/env@12.0.0 ## 9.0.5 - update dependencies - Updated dependencies [undefined] - - @ctx-core/env@11.0.21 - @ctx-core/env@11.0.21 ## 9.0.4 - version bump: run build - Updated dependencies [undefined] - - @ctx-core/env@11.0.16 - @ctx-core/env@11.0.16 ## 9.0.2 - fix: build: clean up old build files in dist - Updated dependencies [undefined] - - @ctx-core/env@11.0.15 - @ctx-core/env@11.0.15 ## 9.0.1 - Updated dependencies [undefined] - Updated dependencies [undefined] - - @ctx-core/env@11.0.0 - @ctx-core/env@11.0.0 ## 8.3.2 - update dependencies - Updated dependencies [undefined] - - @ctx-core/env@10.4.1 - @ctx-core/env@10.4.1 ## 8.3.1 ### Patch Changes - Updated dependencies [undefined] - - @ctx-core/env@10.4.0 - @ctx-core/env@10.4.0 ## 8.2.1 - .gitignore: - \*.js - Updated dependencies [undefined] - - @ctx-core/env@10.3.1 - @ctx-core/env@10.3.1 ## 8.2.0 ### Patch Changes - Updated dependencies [undefined] - - @ctx-core/env@10.3.0 - @ctx-core/env@10.3.0 ## 8.1.4 - types: ./src/index.d.ts: address error TS2742 issue - Updated dependencies [undefined] - - @ctx-core/env@10.2.3 - @ctx-core/env@10.2.3 ## 8.1.3 - .npmignore: + ~ - Updated dependencies [undefined] - - @ctx-core/env@10.1.2 - @ctx-core/env@10.1.2 ## 8.1.1 - fix: target: 2018: nodejs compatability - Updated dependencies [undefined] - - @ctx-core/env@10.1.1 - @ctx-core/env@10.1.1 ## 8.1.0 ### Patch Changes - Updated dependencies [undefined] - - @ctx-core/env@10.1.0 - @ctx-core/env@10.1.0 ## 8.0.51 - update dependencies - Updated dependencies [undefined] - - @ctx-core/env@10.0.81 - @ctx-core/env@10.0.81 ## 8.0.50 - update dependencies - Updated dependencies [undefined] - - @ctx-core/env@10.0.76 - @ctx-core/env@10.0.76 ## 8.0.48 - update dependencies - Updated dependencies [undefined] - - @ctx-core/env@10.0.62 - @ctx-core/env@10.0.62 ## 8.0.47 - update dependencies - Updated dependencies [undefined] - - @ctx-core/env@10.0.59 - @ctx-core/env@10.0.59 ## 8.0.46 - update dependencies - Updated dependencies [undefined] - - @ctx-core/env@10.0.57 - @ctx-core/env@10.0.57 ## 8.0.45 - update dependencies - Updated dependencies [undefined] - - @ctx-core/env@10.0.46 - @ctx-core/env@10.0.46 ## 8.0.44 - @ctx-core/object: 17.5.6 - Updated dependencies [undefined] - - @ctx-core/env@10.0.40 - @ctx-core/env@10.0.40 ## 8.0.41 - update dependencies - Updated dependencies [undefined] - - @ctx-core/env@10.0.37 - @ctx-core/env@10.0.37 ## 8.0.40 - typescript: ^4.2.3 -> ^4.2.4 - Updated dependencies [undefined] - - @ctx-core/env@10.0.36 - @ctx-core/env@10.0.36 ## 8.0.39 ### Patch Changes - Updated dependencies [undefined] - - @ctx-core/env@10.0.35 - @ctx-core/env@10.0.35 ## 8.0.38 - version bump - Updated dependencies [undefined] - - @ctx-core/env@10.0.34 - @ctx-core/env@10.0.34 ## 8.0.37 - fix: npm publish: npm/cli#2834 - Updated dependencies [undefined] - - @ctx-core/env@10.0.33 - @ctx-core/env@10.0.33 ## 8.0.36 - fix: npm run compile: tsc -b . - Updated dependencies [undefined] - - @ctx-core/env@10.0.32 - @ctx-core/env@10.0.32 ## 8.0.35 - typescript: ^4.2.2 -> ^4.2.3 - Updated dependencies [undefined] - - @ctx-core/env@10.0.28 - @ctx-core/env@10.0.28 ## 8.0.29 ### Patch Changes - Updated dependencies [undefined] - - @ctx-core/env@10.0.22 - @ctx-core/env@10.0.22 ## 8.0.23 - @aws-sdk/client-s3: ^3.6.1 -> ^3.7.0 - Updated dependencies [undefined] - - @ctx-core/env@10.0.21 - @ctx-core/env@10.0.21 ## 8.0.22 ### Patch Changes - Updated dependencies [undefined] - - @ctx-core/env@10.0.20 - @ctx-core/env@10.0.20 ## 8.0.21 - version bump - Updated dependencies [undefined] - - @ctx-core/env@10.0.19 - @ctx-core/env@10.0.19 ## 8.0.20 - typescript: ^4.1.5 -> ^4.2.2 - Updated dependencies [undefined] - - @ctx-core/env@10.0.17 - @ctx-core/env@10.0.17 ## 8.0.18 ### Patch Changes - Updated dependencies [undefined] - - @ctx-core/env@10.0.14 - @ctx-core/env@10.0.14 ## 8.0.13 - typescript: ^4.1.4 -> ^4.1.5 - Updated dependencies [undefined] - - @ctx-core/env@10.0.13 - @ctx-core/env@10.0.13 ## 8.0.12 - typescript: ^4.1.3 -> ^4.1.4 - Updated dependencies [undefined] - - @ctx-core/env@10.0.12 - @ctx-core/env@10.0.12 ## 8.0.11 ### Patch Changes - Updated dependencies [undefined] - - @ctx-core/env@10.0.11 - @ctx-core/env@10.0.11 ## 8.0.10 ### Patch Changes - Updated dependencies [undefined] - - @ctx-core/env@10.0.0 - @ctx-core/env@10.0.0 ## 7.1.17 - @aws-sdk/client-s3: ^3.4.0 -> ^3.4.1 - Updated dependencies [undefined] - - @ctx-core/env@9.3.13 - @ctx-core/env@9.3.13 ## 7.1.13 ### Patch Changes - Updated dependencies [undefined] - - @ctx-core/env@9.3.12 - @ctx-core/env@9.3.12 ## 7.1.12 ### Patch Changes - Updated dependencies [undefined] - - @ctx-core/env@9.3.2 - @ctx-core/env@9.3.2 ## 7.1.0 ### Patch Changes - Updated dependencies [undefined] - - @ctx-core/env@9.3.1 - @ctx-core/env@9.3.1 ## 7.0.57 ### Patch Changes - Updated dependencies [undefined] - - @ctx-core/env@9.3.0 - @ctx-core/env@9.3.0 ## 7.0.56 ### Patch Changes - Updated dependencies [undefined] - - @ctx-core/env@9.1.22 - @ctx-core/env@9.1.22 ## 7.0.55 ### Patch Changes -- - - .rush - - .rush - Updated dependencies [undefined] - - @ctx-core/env@9.1.13 - @ctx-core/env@9.1.13 ## 7.0.46 ### Patch Changes - Updated dependencies [undefined] - - @ctx-core/env@9.1.6 - @ctx-core/env@9.1.6 ## 7.0.39 - typescript: ^4.1.2 -> ^4.1.3 - Updated dependencies [undefined] - - @ctx-core/env@9.1.4 - @ctx-core/env@9.1.4 ## 7.0.37 ### Patch Changes - Updated dependencies [undefined] - - @ctx-core/env@9.1.2 - @ctx-core/env@9.1.2 ## 7.0.35 ### Patch Changes - Updated dependencies [undefined] - - @ctx-core/env@9.1.1 - @ctx-core/env@9.1.1 ## 7.0.34 - Updated dependencies [undefined] - Updated dependencies [undefined] - - @ctx-core/env@9.1.0 - @ctx-core/env@9.1.0 ## 7.0.33 ### Patch Changes - Updated dependencies [undefined] - - @ctx-core/env@9.0.32 - @ctx-core/env@9.0.32 ## 7.0.30 - typescript: ^4.0.5 -> ^4.1.2 - Updated dependencies [undefined] - - @ctx-core/env@9.0.29 - @ctx-core/env@9.0.29 ## 7.0.28 ### Patch Changes - Updated dependencies [undefined] - - @ctx-core/env@9.0.27 - @ctx-core/env@9.0.27 ## 7.0.26 ### Patch Changes - Updated dependencies [undefined] - - @ctx-core/env@9.0.26 - @ctx-core/env@9.0.26 ## 7.0.25 - typescript: ^4.0.3 -> ^4.0.5 - Updated dependencies [undefined] - - @ctx-core/env@9.0.25 - @ctx-core/env@9.0.25 ## 7.0.24 ### Patch Changes - Updated dependencies [undefined] - - @ctx-core/env@9.0.24 - @ctx-core/env@9.0.24 ## 7.0.23 ### Patch Changes - Updated dependencies [undefined] - - @ctx-core/env@9.0.22 - @ctx-core/env@9.0.22 ## 7.0.21 ### Patch Changes - Updated dependencies [undefined] - - @ctx-core/env@9.0.19 - @ctx-core/env@9.0.19 ## 7.0.18 ### Patch Changes - Updated dependencies [undefined] - - @ctx-core/env@9.0.18 - @ctx-core/env@9.0.18 ## 7.0.17 ### Patch Changes - Updated dependencies [undefined] - - @ctx-core/env@9.0.15 - @ctx-core/env@9.0.15 ## 7.0.14 ### Patch Changes - Updated dependencies [undefined] - - @ctx-core/env@9.0.13 - @ctx-core/env@9.0.13 ## 7.0.12 ### Patch Changes - Updated dependencies [undefined] - - @ctx-core/env@9.0.4 - @ctx-core/env@9.0.4 ## 7.0.3 - fix: install issues: using explicit workspace: versioning - Updated dependencies [undefined] - - @ctx-core/env@9.0.1 - @ctx-core/env@9.0.1 ## 7.0.0 ### Patch Changes - Updated dependencies [undefined] - - @ctx-core/env@9.0.0 - @ctx-core/env@9.0.0 ## 6.0.4 - fix: npm run compile: path to tsc - Updated dependencies [undefined] - - @ctx-core/env@8.4.1 - @ctx-core/env@8.4.1 ## 6.0.3 - typescript updates - Updated dependencies [undefined] - Updated dependencies [undefined] - - @ctx-core/env@8.4.0 - @ctx-core/env@8.4.0
Current Behavior:
When running
npm publish
the following error appears:The debug trace shows:
Expected Behavior:
npm publish to continue working as it did in version 6
Steps To Reproduce:
Ubuntu 20.04
Node 14.16.0
npm 7.6.1
The package is configured to be published to github as per: github instrutions
package.json includes:
npm publish
Environment:
Ubuntu 20.04
Node 14.16.0
npm 7.6.1
Possible cause
The issue seems to be related to changes made to the
flatten()
method in utils/flat-options.jsThis is being called with the
publishConfig
which only contains aregistry
property.However flatten (line 50), tries to use
join()
to create a path from the non-existent'cache
property, hence the error (I believe).Looking at the changes, it seems that v6 used to read the npm config for the
cache
value.Workaround
My temporary workaround for this is to add a cache property to the publishConfig section, using the default cache value:
As others have noted, this workaround has the side-effect of creating a
~/.npm
directory in the root of the project. My solution to this was then simply to add~/.npm
to.gitgnore
I guess that you could name this cache directory whatever you like. I used the default value simply to make publish work again. Note that my suggestion is purely a workaround and doesn't resolve the actual issue. Although I could see in the v7 code where the change has been made that is causing this issue, unfortunately I was unable to understand why that change was made.
The text was updated successfully, but these errors were encountered: