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
Found '/Users/paul/Projects/Api2/.nvmrc' with version <14>
Now using node v14.15.3 (npm v6.14.10)
> [email protected] build /Users/paul/Projects/Api2
> ttsc
node_modules/typescript-is/index.d.ts:1:35 - error TS2307: Cannot find module './src/transform-inline/visitor-utils' or its corresponding type declarations.
1 import {TemplateLiteralPair} from './src/transform-inline/visitor-utils';
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Found 1 error.
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] build: `ttsc`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/paul/.npm/_logs/2021-03-10T14_29_34_563Z-debug.log
There isn't a log identifying which file specifically typescript-is doesn't like from within my project 😞
The text was updated successfully, but these errors were encountered:
that's funny, i found this issue just a few minutes before you pushed this fix.
seems like it was due to the fact that an index.ts isn't compiled as part of the ts project, but instead two separate index.d.ts and index.js files. i tried to fix this but it seems to be set up this way because the function signatures need to be different to the actual functions? i wonder if there's a cleaner solution to this issue.
in the mean time i removed the offending type from visitor-utils.ts as it's now in index.d.ts. though i'm not sure if other files importing from index is a good idea either
Upgrading from
0.17.1
to0.18.0
/0.18.1
can no longer build my project underttsc
visitor-utils
node_modules
and re-install dependencies e.g. by runningnpm ci
There isn't a log identifying which file specifically
typescript-is
doesn't like from within my project 😞The text was updated successfully, but these errors were encountered: