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: Cannot find module '@slidev/parser/fs' #81

Closed
LiZheGuang opened this issue May 12, 2021 · 1 comment
Closed

Error: Cannot find module '@slidev/parser/fs' #81

LiZheGuang opened this issue May 12, 2021 · 1 comment

Comments

@LiZheGuang
Copy link

npm init slidev That's the performance、。

Error: Cannot find module '@slidev/parser/fs'
Require stack:

  • /Users/lizheguang/zheGuangCode/slidev/node_modules/@slidev/cli/dist/chunk-AMXRPYUL.js
  • /Users/lizheguang/zheGuangCode/slidev/node_modules/@slidev/cli/dist/chunk-I6I6DDEX.js
  • /Users/lizheguang/zheGuangCode/slidev/node_modules/@slidev/cli/dist/cli.js
  • /Users/lizheguang/zheGuangCode/slidev/node_modules/@slidev/cli/bin/slidev.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:957:15)
    at Function.Module._load (internal/modules/cjs/loader.js:840:27)
    at Module.require (internal/modules/cjs/loader.js:1019:19)
    at require (internal/modules/cjs/helpers.js:77:18)
    at Object. (/Users/lizheguang/zheGuangCode/slidev/node_modules/@slidev/cli/dist/chunk-AMXRPYUL.js:217:12)
    at Module._compile (internal/modules/cjs/loader.js:1133:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10)
    at Module.load (internal/modules/cjs/loader.js:977:32)
    at Function.Module._load (internal/modules/cjs/loader.js:877:14)
    at Module.require (internal/modules/cjs/loader.js:1019:19) {
    code: 'MODULE_NOT_FOUND',

node: v12.16.3

@antfu
Copy link
Member

antfu commented May 12, 2021

We only support node v14 and onward, as node v12 is out of LTS. Please upgrade, thanks.

@antfu antfu closed this as completed May 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants