Comments (15)
please try to the remove the double quotes in the README.md file
from vuepress.
Do not use echo command on win10, create the mardown file directly.
from vuepress.
VuePress dev server listening at http://localhost:8080/
× 「wdm」: Hash: 841239360a93a2459297
Version: webpack 4.5.0
Time: 15381ms
Built at: 2018-4-15 11:10:23
Asset Size Chunks Chunk Names
assets/img/search.83621669.svg 216 bytes [emitted]
assets/js/app.js 1.75 MiB app [emitted] app
assets/js/0.js 750 bytes 0 [emitted]
index.html 303 bytes [emitted]
Entrypoint app = assets/js/app.js
[../../../../AppData/Roaming/npm/node_modules/vuepress/lib/app/.temp/polyfill.js] C:/Users/blow/AppData/Roaming/npm/node_modules/vuepress/lib/app/.temp/polyfill.js 86 bytes {app} [built]
[../../../../AppData/Roaming/npm/node_modules/vuepress/lib/app/.temp/routes.js] C:/Users/blow/AppData/Roaming/npm/node_modules/vuepress/lib/app/.temp/routes.js 359 bytes {app} [built]
[../../../../AppData/Roaming/npm/node_modules/vuepress/lib/app/.temp/siteData.js] C:/Users/blow/AppData/Roaming/npm/node_modules/vuepress/lib/app/.temp/siteData.js 146 bytes {app} [built]
[../../../../AppData/Roaming/npm/node_modules/vuepress/lib/app/app.js] C:/Users/blow/AppData/Roaming/npm/node_modules/vuepress/lib/app/app.js 1.68 KiB {app} [built]
[../../../../AppData/Roaming/npm/node_modules/vuepress/lib/app/clientEntry.js] C:/Users/blow/AppData/Roaming/npm/node_modules/vuepress/lib/app/clientEntry.js 1.88 KiB {app} [built]
[../../../../AppData/Roaming/npm/node_modules/vuepress/node_modules/object-assign/index.js] C:/Users/blow/AppData/Roaming/npm/node_modules/vuepress/node_modules/object-assign/index.js 2.06 KiB {app} [built]
[../../../../AppData/Roaming/npm/node_modules/vuepress/node_modules/register-service-worker/index.js] C:/Users/blow/AppData/Roaming/npm/node_modules/vuepress/node_modules/register-service-worker/index.js 3.32 KiB {app} [built]
[../../../../AppData/Roaming/npm/node_modules/vuepress/node_modules/url/url.js] C:/Users/blow/AppData/Roaming/npm/node_modules/vuepress/node_modules/url/url.js 22.8 KiB {app} [built]
[../../../../node_modules/loglevelnext/dist/loglevelnext.js] C:/Users/blow/node_modules/loglevelnext/dist/loglevelnext.js 18.9 KiB {app} [built]
[../../../../node_modules/webpack-hot-client/client/hot.js] C:/Users/blow/node_modules/webpack-hot-client/client/hot.js 4.91 KiB {app} [built]
[../../../../node_modules/webpack-hot-client/client/index.js?8e59b3c5-b07b-4bba-b350-2b456f37072e] C:/Users/blow/node_modules/webpack-hot-client/client?8e59b3c5-b07b-4bba-b350-2b456f37072e 1.86 KiB {app} [built]
[../../../../node_modules/webpack-hot-client/client/log.js] C:/Users/blow/node_modules/webpack-hot-client/client/log.js 2.4 KiB {app} [built]
[../../../../node_modules/webpack-hot-client/client/socket.js] C:/Users/blow/node_modules/webpack-hot-client/client/socket.js 1.39 KiB {app} [built]
[0] multi C:/Users/blow/AppData/Roaming/npm/node_modules/vuepress/lib/app/clientEntry.js 28 bytes {app} [built]
[1] multi webpack-hot-client/client?8e59b3c5-b07b-4bba-b350-2b456f37072e C:/Users/blow/AppData/Roaming/npm/node_modules/vuepress/lib/app/clientEntry.js 40 bytes {app} [built]
+ 115 hidden modules
ERROR in ./README.md
Module build failed: TypeError: Cannot read property 'join' of undefined
at Object.module.exports (C:\Users\blow\AppData\Roaming\npm\node_modules\vuepress\lib\webpack\markdownLoader.js:81:17)
@ C:/Users/blow/AppData/Roaming/npm/node_modules/vuepress/lib/app/.temp/routes.js 10:8-85
@ C:/Users/blow/AppData/Roaming/npm/node_modules/vuepress/lib/app/app.js
@ C:/Users/blow/AppData/Roaming/npm/node_modules/vuepress/lib/app/clientEntry.js
@ multi C:/Users/blow/AppData/Roaming/npm/node_modules/vuepress/lib/app/clientEntry.js
Child html-webpack-plugin for "index.html":
Asset Size Chunks Chunk Names
index.html 1.38 MiB 0
Entrypoint undefined = index.html
[../../../../AppData/Roaming/npm/node_modules/vuepress/node_modules/html-webpack-plugin/lib/loader.js!../../../../AppData/Roaming/npm/node_modules/vuepress/lib/app/index.dev.html] C:/Users/blow/AppData/Roaming/npm/node_modules/vuepress/node_modules/html-webpack-plugin/lib/loader.js!C:/Users/blow/AppData/Roaming/npm/node_modules/vuepress/lib/app/index.dev.html 447 bytes {0} [built]
[../../../../AppData/Roaming/npm/node_modules/vuepress/node_modules/lodash/lodash.js] C:/Users/blow/AppData/Roaming/npm/node_modules/vuepress/node_modules/lodash/lodash.js 527 KiB {0} [built]
[../../../../AppData/Roaming/npm/node_modules/vuepress/node_modules/webpack/buildin/module.js] (webpack)/buildin/module.js 519 bytes {0} [built]
from vuepress.
Would you please provide us with the source markdown file?
from vuepress.
The source markdwon file is created by echo "# Hello VuePress" > README.md
on Win10 Powershell
from vuepress.
Can you provide the node version?
from vuepress.
8.9.3
from vuepress.
removing double quotes work!
from vuepress.
I was having this problem too, and there were never any double quotes in the README.md file. Like the OP I created the file using Windows Power Shell and the echo
command provided at https://vuepress.vuejs.org/guide/getting-started.html What I did to get things to work is not rely on the echo command, and instead create the file directly inside Visual Studio Code, and copy/paste (or type) # Hello VuePress!"
into it.
from vuepress.
same problem in win10!there are no any bouble quotes in md file.But on Mac, it works well.
from vuepress.
change the markdown file encoding to utf-8
from vuepress.
Looks like echo
on Windows creates the file in non utf-8 encoding 🤔
from vuepress.
it seems that the echo command doesn't need double quotes at all
echo # Hello VuePress > README.md
from vuepress.
Same error for already existing markdown file, but they're already in UTF-8 format (reworking a Metalsmith site) 🤔
from vuepress.
just noticed something strange when having a very simple file with just one line:
does not work = ####### Hello
does work again = ###### Hello
from vuepress.
Related Issues (20)
- copy code 无法在微信H5中使用
- 迁移@vuepress/client到vuepress/client导致三方插件未适配新版本的全部无法使用
- Emoji link has been changed.
- The auto-sidebar config can not generate multi first-level headings but only one.
- VuePress compilation error HOT 4
- The home page repeat render twice HOT 2
- How can I get md data in my vue components?
- module.experts support footer includes
- The documentation should start with a tutorial that covers most use cases
- 我需要自定义 webSocketURL HOT 2
- [mobile bug] Search bar causes content bleed
- [bug] Incorrect next and previous anchoring HOT 2
- Google analytics plugin is not working with Google Analytics 4 HOT 1
- The deployed web didn't change at all and suddenly couldn't be built
- Cant use tooltip help
- SyntaxError: The requested module 'node:events' does not provide an export named 'addAbortListener' HOT 5
- Using vuepress1.9.10 in an existing project in vue2.6.6, the console reports an error: Cannot create property 'top' on boolean 'true'
- Cannot build after configured alias vue to vue/dist/vue.esm-bundler.js
- HelloGitHub Badge
- DOMException: Failed to execute 'querySelector' on 'Document': '.vp=sidebar xxx' is not a valid selector
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vuepress.