-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
needs reproductionneeds reproducible example to illustrate the issueneeds reproducible example to illustrate the issue
Description
Capacitor Version
When I try to initialize capacitor on my vue js project for latest version of capacitor I get this error :
`PS E:\Projects\DopeDev\Dope Chat\dope-chat> npx cap init
node:internal/modules/cjs/loader:1228
throw err;
^
Error: Cannot find module 'tslib'
Require stack:
- E:\Projects\node_modules@capacitor\cli\dist\index.js
- E:\Projects\node_modules@capacitor\cli\bin\capacitor
at Function._resolveFilename (node:internal/modules/cjs/loader:1225:15)
at Function._load (node:internal/modules/cjs/loader:1055:27)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:220:24)
at Module.require (node:internal/modules/cjs/loader:1311:12)
at require (node:internal/modules/helpers:136:16)
at Object. (E:\Projects\node_modules@capacitor\cli\dist\index.js:4:17)
at Module._compile (node:internal/modules/cjs/loader:1554:14)
at Object..js (node:internal/modules/cjs/loader:1706:10)
at Module.load (node:internal/modules/cjs/loader:1289:32) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'E:\Projects\node_modules\@capacitor\cli\dist\index.js',
'E:\Projects\node_modules\@capacitor\cli\bin\capacitor'
]
}
Node.js v22.14.0
PS E:\Projects> `
How can I fix this ?
Other API Details
Platforms Affected
- iOS
- Android
- Web
Current Behavior
Not even getting fixed with any of these commands :
npm install tslib
npm install --save-dev tslib
How can I fix this ?
Expected Behavior
It to work obviously
Project Reproduction
Cant
Additional Information
No response
Metadata
Metadata
Assignees
Labels
needs reproductionneeds reproducible example to illustrate the issueneeds reproducible example to illustrate the issue