The files and folders appear to be in the wrong location.
文件和文件夹位置似乎不对。
Actual behavior
After installing Hexo, run the command: hexo init myhexo, directory as following:
It is strange is that file _config.landscape.yml appears, and the folder themes is empty, but there is a folder hexo-theme-landscape in the folder node_modules, which should be the default theme of hexo.
I try to install a new theme: npm i hexo-theme-stellar, the directory structure is still as shown above, the folder themes is still empty, and a new folder hexo-theme-stellar appears in the folder node_modules.
I think hexo-theme-landscape and hexo-theme-stellar should be inside the folder themes, and the location of the _config.landscape.yml file is also wrong.
Check List
hexo version
to check)Expected behavior
The files and folders appear to be in the wrong location.
文件和文件夹位置似乎不对。
Actual behavior
After installing Hexo, run the command: hexo init myhexo, directory as following:
It is strange is that file _config.landscape.yml appears, and the folder themes is empty, but there is a folder hexo-theme-landscape in the folder node_modules, which should be the default theme of hexo.
I try to install a new theme: npm i hexo-theme-stellar, the directory structure is still as shown above, the folder themes is still empty, and a new folder hexo-theme-stellar appears in the folder node_modules.
I think hexo-theme-landscape and hexo-theme-stellar should be inside the folder themes, and the location of the _config.landscape.yml file is also wrong.
Why?Does anyone else have similar issues?
安装好 Hexo 后,运行命令: hexo init myhexo, 查看目录如上图。
有点奇怪是出现了文件 _config.landscape.yml,而且文件夹 themes 是空的,而在 文件夹 node_modules 内有文件夹 hexo-theme-landscape,这应该是 hexo 缺省的主题。
如果试图安装新的主题, npm i hexo-theme-stellar,那么目录结构还是如上图,文件夹 themes 还是空的,而在文件夹 node_modules 内出现了新的文件夹 hexo-theme-stellar。
我认为 hexo-theme-landscape 和 hexo-theme-stellar 应该在文件夹 themes 里面才对,而且 _config.landscape.yml 文件的位置也不对。
为和会这样?其他人也有类似问题吗?
How to reproduce?
Is the problem still there under
Safe mode
?yes
Your Node.js & npm version
Your Hexo and Plugin version
Your
package.json
Your site's
_config.yml
(Optional)No response
Others
No response