Error when running build for the first time
$ npm run build
[email protected] build /Documents/my-module npm run compile
[email protected] compile /Documents/pallas tsc -p .
error TS18001: A path in an 'extends' option must be relative or rooted, but 'node_modules/google-ts-style/tsconfig-google.json' is not.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] compile: tsc -p .
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] compile script.
What version of g-t-s?
0.1.2
I was able to work around by changing the generated tsconfig.json from
"extends": "node_modules/google-ts-style/tsconfig-google.json"
to
"extends": "./node_modules/google-ts-style/tsconfig-google.json"
Thanks, Should be easy to fix here: https://github.com/google/ts-style/blob/master/src/init.ts#L149. Wanna submit a PR?
Yup
I believe this is fixed now. Reopen if you're still seeing issues. The module has been renamed to gts now.