Skip to content

路由引入vue文件ts-loader报错 #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
baixiaoji opened this issue Sep 15, 2018 · 0 comments
Closed

路由引入vue文件ts-loader报错 #5

baixiaoji opened this issue Sep 15, 2018 · 0 comments

Comments

@baixiaoji
Copy link
Owner

baixiaoji commented Sep 15, 2018

Module build failed (from ./node_modules/ts-loader/index.js):
Error: Could not find file: '/Users/future/test-place/aaa/src/views/login/login.vue'.
    at getValidSourceFile (/Users/future/test-place/aaa/node_modules/typescript/lib/typescript.js:111612:23)
    at Object.getEmitOutput (/Users/future/test-place/aaa/node_modules/typescript/lib/typescript.js:111982:30)
    at Object.getEmitOutput (/Users/future/test-place/aaa/node_modules/ts-loader/dist/instances.js:190:41)
    at getEmit (/Users/future/test-place/aaa/node_modules/ts-loader/dist/index.js:198:37)
    at successLoader (/Users/future/test-place/aaa/node_modules/ts-loader/dist/index.js:34:11)
    at Object.loader (/Users/future/test-place/aaa/node_modules/ts-loader/dist/index.js:21:12)

定位原因,vue-loader在检验的时候出现问题
TypeStrong/ts-loader#505

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

No branches or pull requests

1 participant