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

🐛 [Bug]: 项目无法启动 #133

Closed
GaoNeng-wWw opened this issue Apr 14, 2024 · 1 comment
Closed

🐛 [Bug]: 项目无法启动 #133

GaoNeng-wWw opened this issue Apr 14, 2024 · 1 comment

Comments

@GaoNeng-wWw
Copy link
Collaborator

Version

/

node-version

20.12.1

Link to minimal reproduction

No response

Step to reproduce

  1. npm install
  2. npm run init
  3. npm run dev

What is expected

@opentiny/tiny-plugin-lint: D:\code\tiny-cli\packages\plugins\lint\node_modules\append-transform\index.js:1
@opentiny/tiny-plugin-lint: TypeError [ERR_INVALID_ARG_TYPE]: The "mod" argument must be an instance of Module. Received an instance of Module
@opentiny/tiny-plugin-lint: at makeRequireFunction (node:internal/modules/helpers:134:11)
@opentiny/tiny-plugin-lint: at Module._compile (node:internal/modules/cjs/loader:1358:19)
@opentiny/tiny-plugin-lint: at Module.replacementCompile (D:\code\tiny-cli\packages\plugins\lint\node_modules\append-transform\index.js:58:13)
@opentiny/tiny-plugin-lint: at Generator.next ()
@opentiny/tiny-plugin-lint: at Module._extensions..js (node:internal/modules/cjs/loader:1427:10)
@opentiny/tiny-plugin-lint: at D:\code\tiny-cli\packages\plugins\lint\node_modules\append-transform\index.js:62:4
@opentiny/tiny-plugin-lint: at Object. (D:\code\tiny-cli\packages\plugins\lint\node_modules\append-transform\index.js:62:4) {
@opentiny/tiny-plugin-lint: code: 'ERR_INVALID_ARG_TYPE'
@opentiny/tiny-plugin-lint: }
@opentiny/tiny-plugin-lint: Node.js v20.12.1
@opentiny/tiny-toolkit-pro: ERROR: "test:unit -- --watch" exited with 1.
@opentiny/tiny-toolkit-docs: ERROR: "test:unit -- --watch" exited with 1.
lerna ERR! npm run watch exited 1 in '@opentiny/tiny-toolkit-pro'
lerna WARN complete Waiting for 8 child processes to exit. CTRL-C to exit immediately

What is actually happening

应当能正常启动

Any additional comments (optional)

No response

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Title: 🐛 [Bug]: The project cannot be started

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