question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

cannot find package 'vue-template-es2015-compiler'

See original GitHub issue

Describe 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:closed
  • Created a year ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
userquincommented, Nov 16, 2022

@Hyphon I’ll update the README later, also checking if it is required, if so I’ll create a new 2.7 compiler

0reactions
Hyphoncommented, Nov 18, 2022

@Hyphon #251

thank u 😃

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found