typescript icon indicating copy to clipboard operation
typescript copied to clipboard

nuxt-ts cannot build nuxt app

Open smoonsf opened this issue 7 years ago • 9 comments

Describe the bug after run command nuxt-ts, process hung and is not responding.

To Reproduce Steps to reproduce the behavior:

  1. Clone repository 'https://github.com/smoonsf/nuxt-ts-big'
  2. Run 'yarn && yarn run dev'
  3. See error

Expected behavior nuxt-ts should build dev server well.

Additional context I just tried to build minimal project but i cannot findout why this is not going well...

smoonsf avatar Nov 28 '19 11:11 smoonsf

I have the same issue from today

dschewchenko avatar Nov 28 '19 12:11 dschewchenko

maybe it is related issue with this.. https://github.com/TypeStrong/ts-node/issues/918

smoonsf avatar Nov 28 '19 12:11 smoonsf

maybe it is related issue with this.. TypeStrong/ts-node#918

Yes. I have fixed version to 8.5.2 and all works fine

dschewchenko avatar Nov 28 '19 12:11 dschewchenko

Definitely a ts-node issue. Fixing to 8.5.2 also resolved the issue for me.

Mann-o avatar Nov 28 '19 13:11 Mann-o

It was working before so I guess ts-node published a broken version in the meanwhile ? As I didn't publish new runtime version since a while.

kevinmarrec avatar Nov 28 '19 13:11 kevinmarrec

It was working before so I guess ts-node published a broken version in the meanwhile ? As I didn't publish new runtime version since a while.

It's new patch version of ts-node. You just can to fix version in runtime module :)

dschewchenko avatar Nov 28 '19 13:11 dschewchenko

@kevinmarrec Yes, this isn't a @nuxtjs/typescript issue, it's a ts-node issue.

Mann-o avatar Nov 28 '19 13:11 Mann-o

Alright I'll close this issue (and probably also #216 ) when publishing runtime with last ts-node version, this way it will ensure no one has the buggy ts-node version.

kevinmarrec avatar Nov 28 '19 14:11 kevinmarrec

Released new runtime version with last ts-node version.

kevinmarrec avatar Nov 30 '19 11:11 kevinmarrec