Skip to content
This repository has been archived by the owner on Dec 13, 2019. It is now read-only.

quasar build/dev fails to find router entry file when using TypeScript #164

Open
dnasir opened this issue Aug 7, 2018 · 0 comments
Open

Comments

@dnasir
Copy link

dnasir commented Aug 7, 2018

Software version

OS: Windows 10
Node: 8.11.2
NPM: 6.3.0

Any other software related to your bug:

quasar-cli: 0.17.7
typescript: 3.0.1

What did you get as the error?

ENOENT: no such file or directory, open 'C:\projects\test-app\src\router\index.js'

What were you expecting?

For the build/serve to complete successfully.

What steps did you take, to get the error?

My project is fully written in TypeScript. I had a fully working build with the previous version of the CLI. I updated it today, and ran into this bug.

As a solution, I manually pointed Quasar to the router entry file, as demonstrated below:

sourceFiles: {
  router: 'src/router/index.ts',
},

This solved my problem.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant