Skip to content
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

Error when upgrading to 2.0.0 #3919

Closed
Stanzilla opened this issue Mar 1, 2024 · 2 comments
Closed

Error when upgrading to 2.0.0 #3919

Stanzilla opened this issue Mar 1, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Stanzilla
Copy link

> vue-tsc --noEmit && vite build && electron-builder "--publish=never"

node:internal/modules/cjs/loader:1147
  throw err;
  ^

Error: Cannot find module '../index.js'
Require stack:
- /home/runner/work/WeakAuras-Companion/WeakAuras-Companion/node_modules/vue-tsc/bin/vue-tsc.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15)
    at Module._load (node:internal/modules/cjs/loader:985:27)
    at Module.require (node:internal/modules/cjs/loader:1235:19)
    at require (node:internal/modules/helpers:176:18)
    at Object.<anonymous> (/home/runner/work/WeakAuras-Companion/WeakAuras-Companion/node_modules/vue-tsc/bin/vue-tsc.js:3:1)
    at Module._compile (node:internal/modules/cjs/loader:1376:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1435:[10](https://github.com/WeakAuras/WeakAuras-Companion/actions/runs/8117655749/job/22190328028?pr=2377#step:8:11))
    at Module.load (node:internal/modules/cjs/loader:1207:32)
    at Module._load (node:internal/modules/cjs/loader:1023:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/home/runner/work/WeakAuras-Companion/WeakAuras-Companion/node_modules/vue-tsc/bin/vue-tsc.js'
  ]
}

Node.js v20.[11](https://github.com/WeakAuras/WeakAuras-Companion/actions/runs/8117655749/job/22190328028?pr=2377#step:8:12).1
 ELIFECYCLE  Command failed with exit code 1.
 ```

See https://github.com/WeakAuras/WeakAuras-Companion/pull/2377
@toniengelhardt
Copy link

toniengelhardt commented Mar 1, 2024

Same for just vue-tsc --noEmit.

@ferreira-tb
Copy link

Same here.

vue-tsc.js requires ../index.js, but no such file exists. Maybe it was a mistake when publishing the new version?

@johnsoncodehk johnsoncodehk added the bug Something isn't working label Mar 1, 2024
so1ve pushed a commit to so1ve/language-tools that referenced this issue Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants