TypeStrong / TypeStrong/ts-loader
node8.11.1 reported an error, reported incompatibility
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 3.5k
- Forks
- 439
- Avg merge
- 17h 17m
- Merged PRs (30d)
- 2
Description
ERROR Failed to compile with 1 errors 16:28:37
error in ./src/views/modules/generator/HelloWorld.vue
Module build failed: TypeError: loaderContext.getOptions is not a function
at getLoaderOptions (E:\Desktop\structure_report_byHMRRC_VUE\node_modules\ts-loader\dist\index.js:91:41)
at Object.loader (E:\Desktop\structure_report_byHMRRC_VUE\node_modules\ts-loader\dist\index.js:14:21)
@ ./src/views/modules/generator/HelloWorld.vue 8:0-136
@ ./src/views ^./.*.vue$
@ ./src/router/import-development.js
@ ./src/router/index.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://127.0.0.1:8001 webpack/hot/dev-server babel-polyfill ./src/main.js
The project given to me by my mentor can only be started with node 8.11.1, but the ts-loader reports incompatibility, so which version should I download?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the reported failure in node_modules/ts-loader/dist/index.js and the Node 8.11.1 environment. Check the ts-loader compatibility requirements for that Node and webpack setup; done means identifying a supported version or confirming the incompatibility with a reproducible configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript, webpack
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100