admin管理员组文章数量:1403455
I am trying to upgrade my typescript version from 3.7.2
to 4.4.4
. The reason for the upgrade is because I want to use winston 3.7.2
which uses logform 2.5.x
which requires typescript version >= 4.4
.
This is my tsconfig.json
. I've tried modifying it in various ways, such as trying
different values for target
, lib
, moduleResolution
, baseUrl
, and paths
.
{
"compilerOptions": {
"target": "ES2017",
"module": "commonjs",
"lib": ["es6", "dom"],
"allowJs": true,
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"isolatedModules": true,
"noImplicitReturns": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"removeComments": true,
"moduleResolution": "node",
"resolveJsonModule": true
},
"exclude": ["node_modules", "dist"],
"include": ["src/**/*", "tests/**/*"]
}
本文标签:
版权声明:本文标题:javascript - Error, exports in common package not found when upgrading typescript from 3.7.2 to 4.4.4 - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744337627a2601285.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论