cannot find package 'vue-template-es2015-compiler'
See original GitHub issueDescribe the bug
when upgrade to vue 2.7.10, project is not working as expected.
error is Cannot find package 'vue-template-es2015-compiler' imported from /home/projects/vitejs-vite-vt4gdf/node_modules/local-pkg/index.mjs
Reproduction
https://stackblitz.com/edit/vitejs-vite-vt4gdf?file=vite.config.ts
System Info
System:
OS: Linux 5.0 undefined
CPU: (4) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
Memory: 0 Bytes / 0 Bytes
Shell: 1.0 - /bin/jsh
Binaries:
Node: 16.14.2 - /usr/local/bin/node
Yarn: 1.22.10 - /usr/local/bin/yarn
npm: 7.17.0 - /usr/local/bin/npm
Used Package Manager
npm
Validations
- Follow our Code of Conduct
- Read the Contributing Guide.
- Check that there isn’t already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
- The provided reproduction is a minimal reproducible of the bug.
Issue Analytics
- State:
- Created a year ago
- Comments:6
Top Results From Across the Web
vue-template-es2015-compiler - npm
This is an internal package used by vue-loader and vueify . It processes the raw render functions generated by vue-template-compiler to:.
Read more >upgrade to vue3 Cannot find module 'vue-template-compiler ...
resolveWebpackConfig (/myproject/node_modules/@vue/cli-service/lib/PluginAPI.js:138:25) error Command failed with exit code 1. i tried changing ...
Read more >vue-template-es2015-compiler - npm package - Snyk
Post compiler for Vue template render functions to support ES2015+ features For more information about how to use this package see README.
Read more >Cannot find module '@vue/compiler-sfc/package.json'
When upgrading to vue 3 with : yarn add vue@next I get this error: “Cannot find module '@vue/compiler-sfc/package.json” (base) ...
Read more >报错: Error: Cannot find module 'vue-template-compiler'
报错: Error: Cannot find module 'vue-template-compiler'最近听说公司要更换新技术vue3+ts+element,本来的后台都是用vue2.x+js+element来写的, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Hyphon I’ll update the README later, also checking if it is required, if so I’ll create a new 2.7 compiler
thank u 😃