stickmy / vuepress-theme-yubisaki-example Goto Github PK
View Code? Open in Web Editor NEWExample for vuepress-theme-yubisaki
Example for vuepress-theme-yubisaki
When I execute the command: vuepress build docs
result in error bellow:
$ vuepress build docs
wait Extracting site metadata...
tip Apply local theme at U:\Arquivos\Web\Web\2019\farnetani-blog-yubisaki\docs\.vuepress\theme...
tip Apply theme local ...
warning Cannot read property 'Page' of undefined
tip Apply plugin container (i.e. "vuepress-plugin-container") ...
tip Apply plugin @vuepress/register-components (i.e. "@vuepress/plugin-register-components") ...
tip Apply plugin @vuepress/back-to-top (i.e. "@vuepress/plugin-back-to-top") ...
tip Apply plugin @vuepress/medium-zoom (i.e. "@vuepress/plugin-medium-zoom") ...
tip Apply plugin @vssue/vssue (i.e. "@vssue/vuepress-plugin-vssue") ...
tip Apply plugin @yubisaki/pagination (i.e. "@yubisaki/vuepress-plugin-pagination") ...
tip Apply plugin flowchart (i.e. "vuepress-plugin-flowchart") ...
tip Apply plugin @vuepress/pwa (i.e. "@vuepress/plugin-pwa") ...
tip Apply plugin @vuepress/search (i.e. "@vuepress/plugin-search") ...
tip Apply plugin @vuepress/google-analytics (i.e. "@vuepress/plugin-google-analytics") ...
[19:57:47] Compiling Client
[19:57:47] Compiling Server
[19:57:55] Compiled Server in 8s
[19:58:00] Compiled Client in 13s
wait Rendering static HTML...
Rendering page: /about/error Error rendering /about/: false
undefined
Error: Cannot find module 'vue-property-decorator'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:582:15)
at Function.Module._load (internal/modules/cjs/loader.js:508:25)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
at r (C:\Users\farne\AppData\Roaming\npm\node_modules\vuepress\node_modules\vue-server-renderer\build.dev.js:9300:16) at Object.<anonymous> (webpack:/external "vue-property-decorator":1:0)
at __webpack_require__ (webpack/bootstrap:25:0)
at Module.<anonymous> (server-bundle.js:58845:40)
at __webpack_require__ (webpack/bootstrap:25:0)
at Object.module.exports.exports.__esModule (server-bundle.js:43701:18)
at __webpack_require__ (webpack/bootstrap:25:0)
at server-bundle.js:118:18
at Object.<anonymous> (server-bundle.js:121:10)
at evaluateModule (C:\Users\farne\AppData\Roaming\npm\node_modules\vuepress\node_modules\vue-server-renderer\build.dev.js:9303:21)
at C:\Users\farne\AppData\Roaming\npm\node_modules\vuepress\node_modules\vue-server-renderer\build.dev.js:9361:18 at new Promise (<anonymous>) at C:\Users\farne\AppData\Roaming\npm\node_modules\vuepress\node_modules\vue-server-renderer\build.dev.js:9353:14 at Object.renderToString (C:\Users\farne\AppData\Roaming\npm\node_modules\vuepress\node_modules\vue-server-renderer\build.dev.js:9529:9) at Build.renderPage (C:\Users\farne\AppData\Roaming\npm\node_modules\vuepress\node_modules\@vuepress\core\lib\node\build\index.js:156:34)
at Build.render (C:\Users\farne\AppData\Roaming\npm\node_modules\vuepress\node_modules\@vuepress\core\lib\node\build\index.js:94:33)farne@DESKTOP-1CU9QC5 MINGW64 /u/Arquivos/Web/Web/2019/farnetani-blog-yubisaki (master)
There is an error in the tags in your example, when you click the tags option, and then in the tag, it does not open anything.
see: image-reference
The error is when I click in tag, see image of error:
Just download your own sample and run npm install and then run npm run and test.
Windows 10
$ node -v
v10.15.3
$ npm -v
6.9.0
When I run the command vuepress dev docs usually runs with a small error only in Tags.
But, when I try to build (vuepress build docs), I get the following error:
Error: Cannot find module 'vuepress-theme-yubisaki/package.json'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:582:15)
at Function.resolve (internal/modules/cjs/helpers.js:30:19)
at normalizeThemePath (C:\Users\farne\AppData\Roaming\npm\node_modules\vuepress\node_modules\@vuepress\core\lib\node\loadTheme.js:59:33)
at resolveTheme (C:\Users\farne\AppData\Roaming\npm\node_modules\vuepress\node_modules\@vuepress\core\lib\node\loadTheme.js:103:12)
at loadTheme (C:\Users\farne\AppData\Roaming\npm\node_modules\vuepress\node_modules\@vuepress\core\lib\node\loadTheme.js:36:17)
at App.process (C:\Users\farne\AppData\Roaming\npm\node_modules\vuepress\node_modules\@vuepress\core\lib\node\App.js:97:21)
at build (C:\Users\farne\AppData\Roaming\npm\node_modules\vuepress\node_modules\@vuepress\core\lib\index.js:20:13)
at args (C:\Users\farne\AppData\Roaming\npm\node_modules\vuepress\lib\util.js:35:12)
at CAC.cli.command.option.option.option.option.option.option.option.action (C:\Users\farne\AppData\Roaming\npm\node_modules\vuepress\lib\registerCoreCommands.js:59:25)
at CAC.runMatchedCommand (C:\Users\farne\AppData\Roaming\npm\node_modules\vuepress\node_modules\cac\dist\index.js:787:38)
at CAC.parse (C:\Users\farne\AppData\Roaming\npm\node_modules\vuepress\node_modules\cac\dist\index.js:707:18)
at CLI (C:\Users\farne\AppData\Roaming\npm\node_modules\vuepress\lib\util.js:23:7)
at process._tickCallback (internal/process/next_tick.js:68:7)
错误如下:
Error: [vuepress] Failed to load custom theme "yubisaki". File vuepress-theme-yubisaki/Layout.vue does not exist.
使用yarn install 安装的
nodejs 版本:10.15.1
vuepress版本:1.0.0-alpha.40
望解决,谢谢
通过全局安装vuepres 不提示 Error: [vuepress] Failed to load custom theme "yubisaki". File vuepress-theme-yubisaki/Layout.vue does not exist. 这个了 现在提示这个:
warning Cannot read property 'Page' of undefined
TypeError: Cannot read property 'multiple' of undefined
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.