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

server启动后html一改动就异常 #16

Open
wzsxyz opened this issue Oct 13, 2015 · 1 comment
Open

server启动后html一改动就异常 #16

wzsxyz opened this issue Oct 13, 2015 · 1 comment

Comments

@wzsxyz
Copy link

wzsxyz commented Oct 13, 2015

如题,没法玩
"output": [
"./app//."
],

html文件在app目录下,server启动后,只要html有改动,立即异常:
changed: app\test1.html
path.js:200
throw new TypeError('Arguments to path.join must be strings');
^
TypeError: Arguments to path.join must be strings
at f (path.js:200:13)
at Object.filter (native)
at win32.join (path.js:205:38)
at copyFile (C:\Program Files\nodejs\node_modules\spm\node_modules\spm-webpa
ck\lib\SPMPlugins.js:110:16)
at copyFiles (C:\Program Files\nodejs\node_modules\spm\node_modules\spm-webp
ack\lib\SPMPlugins.js:99:5)
at copy (C:\Program Files\nodejs\node_modules\spm\node_modules\spm-webpack\l
ib\SPMPlugins.js:43:7)
at EventEmitter. (C:\Program Files\nodejs\node_modules\spm\node_m
odules\spm-webpack\lib\SPMPlugins.js:37:11)
at EventEmitter.emit (events.js:110:17)
at EventEmitter. (C:\Program Files\nodejs\node_modules\spm\node_m
odules\chokidar\index.js:136:15)
at EventEmitter.FSWatcher._emit (C:\Program Files\nodejs\node_modules\spm\no
de_modules\chokidar\index.js:152:5)

@soda-x
Copy link
Contributor

soda-x commented Oct 20, 2015

看报错应该是 什么地方 设置路径存在问题.

目前所知道的是 在windows 平台下 图片路径可能存在异常 .

因为 windows下 路径是 '' 而 mac '/'

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