-
Couldn't load subscription status.
- Fork 70
Closed
Labels
kind: bugSomething isn't working properlySomething isn't working properlytopic: TS versionRelated to a change in a TS versionRelated to a change in a TS version
Description
Hi,
Moving on typescript 2.4.1 breaks transpilation.
Verbosity 3 trace (I replaced cwd)
rpt2: Typescript version: 2.4.1
rpt2: Options: {
"clean": true,
"verbosity": 3,
"abortOnError": false,
"check": true,
"cacheRoot": "{cwd}/.rpt2_cache",
"include": [
"*.ts+(|x)",
"**/*.ts+(|x)"
],
"exclude": [
"*.d.ts",
"**/*.d.ts"
],
"rollupCommonJSResolveHack": false,
"tsconfig": "tsconfig.json" // file is present
}
rpt2: options error TS2688 Cannot find type definition file for 'mocha'.
rpt2: options error TS2688 Cannot find type definition file for 'node'.
rpt2: rollupConfig: {
"entry": "./index.ts",
"dest": "umd/index.js",
"format": "umd",
"moduleName": "Santech.Core",
"plugins": [
{}
],
"external": [
""
]
}
rpt2: Ambient types:
rpt2: {cwd}/node_modules/@types/mocha/index.d.ts // file is present
rpt2: {cwd}/node_modules/@types/node/index.d.ts // file is present
rpt2: ambient types changed, redoing all semantic diagnostics
rpt2: cleaning cache: {cwd}/.rpt2_cache/214064424104a2d72baf4ffd272fdce93c6b7a9b
rpt2: transpiling '{cwd}/index.ts'
rpt2: cache: '{cwd}/.rpt2_cache/214064424104a2d72baf4ffd272fdce93c6b7a9b/code/cache/6910cdcfa786703b677dcee336da7d03c4bfbfe3'
rpt2: cache miss
rpt2: cache: '{cwd}/.rpt2_cache/214064424104a2d72baf4ffd272fdce93c6b7a9b/syntacticDiagnostics/cache/6910cdcfa786703b677dcee336da7d03c4bfbfe3'
rpt2: cache miss
rpt2: cache: '{cwd}/.rpt2_cache/214064424104a2d72baf4ffd272fdce93c6b7a9b/semanticDiagnostics/cache/6910cdcfa786703b677dcee336da7d03c4bfbfe3'
rpt2: cache miss
⚠️ rpt2: {cwd}/index.ts (1,15): semantic error TS2307 Cannot find module './lib/http'.
index.ts
⚠️ rpt2: {cwd}/index.ts (2,15): semantic error TS2307 Cannot find module './lib/jwt'.
index.ts
⚠️ rpt2: {cwd}/index.ts (3,15): semantic error TS2307 Cannot find module './lib/storage'.
index.ts
rpt2: dependency '{cwd}/lib/http.ts'
rpt2: imported by '{cwd}/index.ts'
rpt2: resolving './lib/http'
rpt2: to '{cwd}/lib/http.ts'
rpt2: transpiling '{cwd}/lib/http.ts'
rpt2: cache: '{cwd}/.rpt2_cache/214064424104a2d72baf4ffd272fdce93c6b7a9b/code/cache/ef9ea006b79a2162a89f467df12986dbc8ebff68'
rpt2: cache miss
🚨 Could not find file: '{cwd}/lib/http.ts'.
lib\http.ts
tsconfig.json
{
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"moduleResolution": "node",
"noImplicitAny": true,
"strictNullChecks": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"declaration": true,
"sourceMap": true,
"outDir": "dist",
"typeRoots": [
"./node_modules/@types"
],
"types": [
"mocha",
"node"
],
"lib": [
"dom",
"es6",
"es2016.array.include"
]
},
"files": [
"./index.ts"
],
"exclude": [
"coverage",
"dist",
"docs",
"node_modules"
]
}Moving back on typescript 2.3.4 solves the problem.
Thanks anyway for the great job
Metadata
Metadata
Assignees
Labels
kind: bugSomething isn't working properlySomething isn't working properlytopic: TS versionRelated to a change in a TS versionRelated to a change in a TS version