### Version v1.0.1 ### node-version v16.18.0 ### Link to minimal reproduction _No response_ ### Step to reproduce 执行以下命令 ``` tiny init pro ``` 报以下错: ``` $ tiny init pro 2023-05-17 23:35:04 [core-module]: 本地尚未安装 @opentiny/tiny-toolkit-pro ,正在执行自动安装... ✖ Install fail! Error: GET https://registry.npmjs.org/@opentiny%2Ftiny-toolkit-vue-pro response 404 status Error: GET https://registry.npmjs.org/@opentiny%2Ftiny-toolkit-vue-pro response 404 status at get (/usr/local/lib/node_modules/npminstall/lib/get.js:68:17) at get.next (<anonymous>) at onFulfilled (/usr/local/lib/node_modules/npminstall/node_modules/co/index.js:65:19) at processTicksAndRejections (node:internal/process/task_queues:96:5) npminstall version: 3.28.1 npminstall args: /usr/local/bin/node /usr/local/bin/npminstall --cwd=/.tiny --stdio=inherit --registry=https://registry.npmjs.org/ --china --dependencies-tree=/code/temp/tiny-cli-demo3/package-lock.json --save-dependencies-tree 2023-05-17 23:35:08 [core-module]: @opentiny/tiny-toolkit-pro 安装报错,请确认该package是否存在! 2023-05-17 23:35:08 [core-module]: Error: 安装 失败!为了保证项目稳定性,请删除本地失败的node_modules后再重试。可执行命令: rm -rf node_modules at ChildProcess.<anonymous> (/usr/local/lib/node_modules/@opentiny/cli/node_modules/@opentiny/cli-devkit/lib/npm/index.js:228:24) at ChildProcess.emit (node:events:513:28) at Process.ChildProcess._handle.onexit (node:internal/child_process:293:12) ``` ### What is expected _No response_ ### What is actually happening _No response_ ### Any additional comments (optional) _No response_
Activity
fengyon commentedon May 19, 2023
感谢您的反馈,正在排查此问题
kagol commentedon Jun 7, 2023
@fengyon 请问这个有进展吗?我这边是 macOS 12.2 操作系统,node版本是 v16.18.0,如果还需要提供其他信息,请及时告知
kagol commentedon Jun 7, 2023
@fengyon 我尝试执行
tiny init vue-pro也是不行的,报以下错误:$ tiny init vue-pro
2023-06-07 19:39:25 [core-commands]: @opentiny/tiny-toolkit-vue-pro 套件不存在,请确认套件名称或npm源是否正确
配置的 registry 如下:
cangkui commentedon Jun 24, 2023
+1。node版本试过18.11.0和16.13.0,都是在安装完毕tiny-cli之后使用
tiny init pro时报模块@opentiny/cli-devkit不存在的问题。使用tiny init命令并且选择dev套件时,报del模块找不到的问题,并且这些模块找不到问题在使用npm i 模块名 -g安装缺失模块后仍然无法解决。cangkui commentedon Jun 24, 2023
具体报错如下:
以及
在全局安装完缺失模块后仍然报上述错误。
wjiangwang commentedon Jun 26, 2023
tiny init vue-pro命令已经废弃,套件名称为@opentiny/tiny-toolkit-pro,套件的最新版本已发布建议先执行
tiny clear命令清除缓存 ,再执行tiny init pro尝试wjiangwang commentedon Jun 26, 2023
@cangkui 套件已发布最新版本,建议先执行
tiny clear命令清除缓存 ,再执行tiny init pro命令尝试kagol commentedon Jun 26, 2023
为什么要让开发者执行这个 tiny clear 命令呢?
phoenixor commentedon May 1, 2026
都2026年了这个bug还没修复也是醉了,tiny版本1.1.1,node 24.15.0
Issues-translate-bot commentedon May 1, 2026
It’s already 2026 and this bug hasn’t been fixed yet. Tiny version 1.1.1, node 24.15.0