Skip to content

无法运行 #3

@wanghaisheng

Description

@wanghaisheng
系统 MACOS

➜  vue2-health git:(master) nvm use stable
Now using node v8.9.4 (npm v5.6.0)
➜  vue2-health git:(master) npm install

> fsevents@1.1.3 install /Users/wanghaisheng/workspace/yangmao/vue2-health/node_modules/fsevents
> node install

[fsevents] Success: "/Users/wanghaisheng/workspace/yangmao/vue2-health/node_modules/fsevents/lib/binding/Release/node-v57-darwin-x64/fse.node" already installed
Pass --update-binary to reinstall or --build-from-source to recompile

> uglifyjs-webpack-plugin@0.4.6 postinstall /Users/wanghaisheng/workspace/yangmao/vue2-health/node_modules/uglifyjs-webpack-plugin
> node lib/post_install.js

added 1273 packages in 17.996s
➜  vue2-health git:(master) npm start dev

> vue2-health@1.0.0 start /Users/wanghaisheng/workspace/yangmao/vue2-health
> npm run dev "dev"


> vue2-health@1.0.0 dev /Users/wanghaisheng/workspace/yangmao/vue2-health
> webpack-dev-server --inline --progress --config build/webpack.dev.conf.js "dev"

 94% asset optimization                                                       n           
 ERROR  Failed to compile with 1 errors                                 23:37:11

This dependency was not found:

* dev in multi (webpack)-dev-server/client?http://localhost:8010 webpack/hot/dev-server dev

To install it, you can run: npm install --save dev
➜  vue2-health git:(master) npm install --save dev
npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported platform for inotify@1.4.2: wanted {"os":"linux","arch":"any"} (current: {"os":"darwin","arch":"x64"})
npm ERR! notsup Valid OS:    linux
npm ERR! notsup Valid Arch:  any
npm ERR! notsup Actual OS:   darwin
npm ERR! notsup Actual Arch: x64

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/wanghaisheng/.npm/_logs/2018-02-08T15_38_47_758Z-debug.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions