vuejs-templates / webpack

A full-featured Webpack + vue-loader setup with hot reload, linting, testing & css extraction.
MIT License
9.7k stars 4.38k forks source link

Parsing error: The keyword 'export' is reserved #125

Closed zwl1619 closed 8 years ago

zwl1619 commented 8 years ago

执行第4步,有些警告:

$ npm install
npm WARN deprecated npmconf@2.1.2: this package has been reintegrated into npm and is now out of date with respect to npm
npm WARN deprecated jade@0.26.3: Jade has been renamed to pug, please install the latest version of pug instead of jade
npm WARN deprecated graceful-fs@2.0.3: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.

> chromedriver@2.21.2 install D:\wnmp\www\laravel-entrust\public\my-project\node_modules\chromedriver
> node install.js

Downloading http://chromedriver.storage.googleapis.com/2.21/chromedriver_win32.zip
Saving to C:\Users\dell\AppData\Local\Temp\chromedriver\chromedriver_win32.zip
Receiving...
Received 781K...
Received 1566K...
Received 2354K...
Received 2537K total.
Extracting zip contents
Copying to target path D:\wnmp\www\laravel-entrust\public\my-project\node_modules\chromedriver\lib\chromedriver
Done. ChromeDriver binary available at D:\wnmp\www\laravel-entrust\public\my-project\node_modules\chromedriver\lib\chromedriver\chromedriver.exe

> phantomjs-prebuilt@2.1.7 install D:\wnmp\www\laravel-entrust\public\my-project\node_modules\phantomjs-prebuilt
> node install.js

PhantomJS not found on PATH
Downloading https://github.com/Medium/phantomjs/releases/download/v2.1.1//phantomjs-2.1.1-windows.zip
Saving to C:\Users\dell\AppData\Local\Temp\phantomjs\phantomjs-2.1.1-windows.zip
Receiving...

Received 17767K total.
Extracting zip contents
Removing D:\wnmp\www\laravel-entrust\public\my-project\node_modules\phantomjs-prebuilt\lib\phantom
Copying extracted folder C:\Users\dell\AppData\Local\Temp\phantomjs\phantomjs-2.1.1-windows.zip-extract-1463413476526\phantomjs-2.1.1-windows -> D:\wnmp\www\laravel-entrust\public\my-project\node_modules\phantomjs-prebuilt\lib\phantom
Writing location.js file
Done. Phantomjs binary available at D:\wnmp\www\laravel-entrust\public\my-project\node_modules\phantomjs-prebuilt\lib\phantom\bin\phantomjs.exe

> spawn-sync@1.0.15 postinstall D:\wnmp\www\laravel-entrust\public\my-project\node_modules\spawn-sync
> node postinstall

my-project@1.0.0 D:\wnmp\www\laravel-entrust\public\my-project
+-- babel-core@6.8.0
| +-- babel-code-frame@6.8.0
| | `-- js-tokens@1.0.3
| +-- babel-generator@6.8.0
| | +-- detect-indent@3.0.1
| | | `-- minimist@1.2.0
| | +-- is-integer@1.0.6
| | | `-- is-finite@1.0.1
| | |   `-- number-is-nan@1.0.0
| | +-- repeating@1.1.3
| | +-- source-map@0.5.6
| | `-- trim-right@1.0.1
| +-- babel-helpers@6.8.0
| +-- babel-messages@6.8.0
| +-- babel-register@6.8.0
| | +-- home-or-tmp@1.0.0
| | | +-- os-tmpdir@1.0.1
| | | `-- user-home@1.1.1
| | `-- source-map-support@0.2.10
| |   `-- source-map@0.1.32
| +-- babel-template@6.8.0
| +-- babel-traverse@6.8.0
| | +-- globals@8.18.0
| | `-- invariant@2.2.1
| |   `-- loose-envify@1.2.0
| +-- babel-types@6.8.1
| | `-- to-fast-properties@1.0.2
| +-- babylon@6.8.0
| +-- convert-source-map@1.2.0
| +-- debug@2.2.0
| | `-- ms@0.7.1
| +-- json5@0.4.0
| +-- lodash@3.10.1
| +-- minimatch@2.0.10
| | `-- brace-expansion@1.1.4
| |   +-- balanced-match@0.4.1
| |   `-- concat-map@0.0.1
| +-- path-exists@1.0.0
| +-- path-is-absolute@1.0.0
| +-- private@0.1.6
| +-- shebang-regex@1.0.0
| +-- slash@1.0.0
| `-- source-map@0.5.6
+-- babel-loader@6.2.4
| +-- loader-utils@0.2.15
| | +-- big.js@3.1.3
| | +-- emojis-list@2.0.1
| | `-- json5@0.5.0
| +-- mkdirp@0.5.1
| | `-- minimist@0.0.8
| `-- object-assign@4.1.0
+-- babel-plugin-transform-runtime@6.8.0
+-- babel-preset-es2015@6.6.0
| +-- babel-plugin-check-es2015-constants@6.8.0
| +-- babel-plugin-transform-es2015-arrow-functions@6.8.0
| +-- babel-plugin-transform-es2015-block-scoped-functions@6.8.0
| +-- babel-plugin-transform-es2015-block-scoping@6.8.0
| +-- babel-plugin-transform-es2015-classes@6.8.0
| | +-- babel-helper-define-map@6.8.0
| | +-- babel-helper-function-name@6.8.0
| | +-- babel-helper-optimise-call-expression@6.8.0
| | `-- babel-helper-replace-supers@6.8.0
| +-- babel-plugin-transform-es2015-computed-properties@6.8.0
| +-- babel-plugin-transform-es2015-destructuring@6.8.0
| +-- babel-plugin-transform-es2015-duplicate-keys@6.8.0
| +-- babel-plugin-transform-es2015-for-of@6.8.0
| +-- babel-plugin-transform-es2015-function-name@6.8.0
| +-- babel-plugin-transform-es2015-literals@6.8.0
| +-- babel-plugin-transform-es2015-modules-commonjs@6.8.0
| | `-- babel-plugin-transform-strict-mode@6.8.0
| +-- babel-plugin-transform-es2015-object-super@6.8.0
| +-- babel-plugin-transform-es2015-parameters@6.8.0
| | +-- babel-helper-call-delegate@6.8.0
| | | `-- babel-helper-hoist-variables@6.8.0
| | `-- babel-helper-get-function-arity@6.8.0
| +-- babel-plugin-transform-es2015-shorthand-properties@6.8.0
| +-- babel-plugin-transform-es2015-spread@6.8.0
| +-- babel-plugin-transform-es2015-sticky-regex@6.8.0
| | `-- babel-helper-regex@6.8.0
| +-- babel-plugin-transform-es2015-template-literals@6.8.0
| +-- babel-plugin-transform-es2015-typeof-symbol@6.8.0
| +-- babel-plugin-transform-es2015-unicode-regex@6.8.0
| | `-- regexpu-core@1.0.0
| |   +-- regenerate@1.2.1
| |   +-- regjsgen@0.2.0
| |   `-- regjsparser@0.1.5
| |     `-- jsesc@0.5.0
| `-- babel-plugin-transform-regenerator@6.8.0
|   `-- babel-plugin-syntax-async-functions@6.8.0
+-- babel-preset-stage-2@6.5.0
| +-- babel-plugin-syntax-trailing-function-commas@6.8.0
| +-- babel-plugin-transform-object-rest-spread@6.8.0
| | `-- babel-plugin-syntax-object-rest-spread@6.8.0
| `-- babel-preset-stage-3@6.5.0
|   +-- babel-plugin-transform-async-to-generator@6.8.0
|   | `-- babel-helper-remap-async-to-generator@6.8.0
|   `-- babel-plugin-transform-exponentiation-operator@6.8.0
|     +-- babel-helper-builder-binary-assignment-operator-visitor@6.8.0
|     | `-- babel-helper-explode-assignable-expression@6.8.0
|     `-- babel-plugin-syntax-exponentiation-operator@6.8.0
+-- babel-runtime@6.6.1
| `-- core-js@2.4.0
+-- chai@3.5.0
| +-- assertion-error@1.0.1
| +-- deep-eql@0.1.3
| | `-- type-detect@0.1.1
| `-- type-detect@1.0.0
+-- chromedriver@2.21.2
| +-- adm-zip@0.4.7
| +-- kew@0.5.0
| +-- npmconf@2.1.2
| | +-- config-chain@1.1.10
| | | `-- proto-list@1.2.4
| | +-- inherits@2.0.1
| | +-- ini@1.3.4
| | +-- nopt@3.0.6
| | +-- once@1.3.3
| | | `-- wrappy@1.0.1
| | +-- osenv@0.1.3
| | +-- semver@4.3.6
| | `-- uid-number@0.0.5
| `-- rimraf@2.5.2
+-- connect-history-api-fallback@1.2.0
+-- cross-spawn@2.2.3
| +-- cross-spawn-async@2.2.2
| | `-- lru-cache@4.0.1
| |   +-- pseudomap@1.0.2
| |   `-- yallist@2.0.0
| `-- spawn-sync@1.0.15
|   `-- os-shim@0.1.3
+-- css-loader@0.23.1
| +-- css-selector-tokenizer@0.5.4
| | `-- cssesc@0.1.0
| +-- cssnano@3.5.2
| | +-- decamelize@1.2.0
| | +-- defined@1.0.0
| | +-- indexes-of@1.0.1
| | +-- postcss-calc@5.2.1
| | | +-- postcss-message-helpers@2.0.0
| | | `-- reduce-css-calc@1.2.3
| | |   +-- balanced-match@0.1.0
| | |   `-- reduce-function-call@1.0.1
| | |     `-- balanced-match@0.1.0
| | +-- postcss-colormin@2.2.0
| | | `-- colormin@1.1.0
| | |   +-- color@0.11.1
| | |   | +-- color-convert@0.5.3
| | |   | `-- color-string@0.3.0
| | |   |   `-- color-name@1.1.1
| | |   `-- css-color-names@0.0.3
| | +-- postcss-convert-values@2.3.4
| | +-- postcss-discard-comments@2.0.4
| | +-- postcss-discard-duplicates@2.0.1
| | +-- postcss-discard-empty@2.1.0
| | +-- postcss-discard-unused@2.2.1
| | | `-- uniqs@2.0.0
| | +-- postcss-filter-plugins@2.0.0
| | | `-- uniqid@1.0.0
| | +-- postcss-merge-idents@2.1.6
| | | `-- has-own@1.0.0
| | +-- postcss-merge-longhand@2.0.1
| | +-- postcss-merge-rules@2.0.8
| | +-- postcss-minify-font-values@1.0.5
| | +-- postcss-minify-gradients@1.0.1
| | +-- postcss-minify-params@1.0.4
| | | `-- alphanum-sort@1.0.2
| | +-- postcss-minify-selectors@2.0.5
| | | `-- postcss-selector-parser@2.0.0
| | +-- postcss-normalize-charset@1.1.0
| | +-- postcss-normalize-url@3.0.7
| | | +-- is-absolute-url@2.0.0
| | | `-- normalize-url@1.5.2
| | |   +-- prepend-http@1.0.4
| | |   +-- query-string@4.1.0
| | |   | `-- strict-uri-encode@1.1.0
| | |   `-- sort-keys@1.1.1
| | |     `-- is-plain-obj@1.1.0
| | +-- postcss-ordered-values@2.1.1
| | +-- postcss-reduce-idents@2.3.0
| | +-- postcss-reduce-transforms@1.0.3
| | +-- postcss-svgo@2.1.3
| | | +-- is-svg@2.0.1
| | | | `-- html-comment-regex@1.1.0
| | | `-- svgo@0.6.6
| | |   +-- coa@1.0.1
| | |   +-- csso@2.0.0
| | |   | +-- clap@1.1.1
| | |   | `-- source-map@0.5.6
| | |   +-- sax@1.2.1
| | |   `-- whet.extend@0.9.9
| | +-- postcss-unique-selectors@2.0.2
| | +-- postcss-value-parser@3.3.0
| | `-- postcss-zindex@2.1.1
| +-- lodash.camelcase@3.0.1
| | `-- lodash._createcompounder@3.0.0
| |   +-- lodash.deburr@3.2.0
| |   `-- lodash.words@3.2.0
| +-- postcss@5.0.21
| | +-- js-base64@2.1.9
| | +-- source-map@0.5.6
| | `-- supports-color@3.1.2
| +-- postcss-modules-extract-imports@1.0.1
| +-- postcss-modules-local-by-default@1.0.1
| +-- postcss-modules-scope@1.0.1
| +-- postcss-modules-values@1.1.3
| | `-- icss-replace-symbols@1.0.2
| `-- source-list-map@0.1.6
+-- eslint@2.10.1
| +-- chalk@1.1.3
| | +-- ansi-styles@2.2.1
| | +-- escape-string-regexp@1.0.5
| | +-- has-ansi@2.0.0
| | `-- supports-color@2.0.0
| +-- concat-stream@1.5.1
| | +-- readable-stream@2.0.6
| | | +-- core-util-is@1.0.2
| | | +-- process-nextick-args@1.0.7
| | | `-- util-deprecate@1.0.2
| | `-- typedarray@0.0.6
| +-- doctrine@1.2.1
| | +-- esutils@1.1.6
| | `-- isarray@1.0.0
| +-- es6-map@0.1.3
| | +-- d@0.1.1
| | +-- es5-ext@0.10.11
| | +-- es6-iterator@2.0.0
| | +-- es6-set@0.1.4
| | +-- es6-symbol@3.0.2
| | `-- event-emitter@0.3.4
| +-- escope@3.6.0
| | +-- es6-weak-map@2.0.1
| | `-- esrecurse@4.1.0
| |   `-- estraverse@4.1.1
| +-- espree@3.1.4
| | `-- acorn-jsx@3.0.1
| +-- estraverse@4.2.0
| +-- esutils@2.0.2
| +-- file-entry-cache@1.2.4
| | `-- flat-cache@1.0.10
| |   +-- del@2.2.0
| |   | +-- globby@4.0.0
| |   | | +-- array-union@1.0.1
| |   | | | `-- array-uniq@1.0.2
| |   | | `-- glob@6.0.4
| |   | +-- is-path-cwd@1.0.0
| |   | +-- is-path-in-cwd@1.0.0
| |   | | `-- is-path-inside@1.0.0
| |   | `-- pify@2.3.0
| |   +-- read-json-sync@1.1.1
| |   `-- write@0.2.1
| +-- glob@7.0.3
| | `-- inflight@1.0.4
| +-- globals@9.6.0
| +-- ignore@3.1.2
| +-- imurmurhash@0.1.4
| +-- inquirer@0.12.0
| | +-- ansi-escapes@1.4.0
| | +-- ansi-regex@2.0.0
| | +-- cli-width@2.1.0
| | +-- figures@1.6.0
| | +-- lodash@4.12.0
| | +-- readline2@1.0.1
| | | +-- code-point-at@1.0.0
| | | +-- is-fullwidth-code-point@1.0.0
| | | `-- mute-stream@0.0.5
| | +-- run-async@0.1.0
| | +-- rx-lite@3.1.2
| | +-- string-width@1.0.1
| | `-- through@2.3.8
| +-- is-my-json-valid@2.13.1
| | +-- generate-function@2.0.0
| | +-- generate-object-property@1.2.0
| | | `-- is-property@1.0.2
| | +-- jsonpointer@2.0.0
| | `-- xtend@4.0.1
| +-- is-resolvable@1.0.0
| | `-- tryit@1.0.2
| +-- js-yaml@3.6.1
| | +-- argparse@1.0.7
| | | `-- sprintf-js@1.0.3
| | `-- esprima@2.7.2
| +-- json-stable-stringify@1.0.1
| | `-- jsonify@0.0.0
| +-- lodash@4.12.0
| +-- optionator@0.8.1
| | +-- deep-is@0.1.3
| | +-- fast-levenshtein@1.1.3
| | +-- levn@0.3.0
| | +-- prelude-ls@1.1.2
| | +-- type-check@0.3.2
| | `-- wordwrap@1.0.0
| +-- path-is-inside@1.0.1
| +-- pluralize@1.2.1
| +-- progress@1.1.8
| +-- require-uncached@1.0.2
| | +-- caller-path@0.1.0
| | | `-- callsites@0.2.0
| | `-- resolve-from@1.0.1
| +-- strip-json-comments@1.0.4
| +-- table@3.7.8
| | +-- lodash@4.12.0
| | +-- slice-ansi@0.0.4
| | +-- tv4@1.2.7
| | `-- xregexp@3.1.1
| +-- text-table@0.2.0
| `-- user-home@2.0.0
|   `-- os-homedir@1.0.1
+-- eslint-friendly-formatter@1.2.2
| `-- extend@3.0.0
+-- eslint-loader@1.3.0
+-- eslint-plugin-html@1.4.0
| `-- htmlparser2@3.9.0
|   +-- domelementtype@1.3.0
|   +-- domhandler@2.3.0
|   +-- domutils@1.5.1
|   | `-- dom-serializer@0.1.0
|   |   `-- domelementtype@1.1.3
|   `-- entities@1.1.1
+-- eventsource-polyfill@0.9.6
+-- express@4.13.4
| +-- accepts@1.2.13
| | +-- mime-types@2.1.11
| | | `-- mime-db@1.23.0
| | `-- negotiator@0.5.3
| +-- array-flatten@1.1.1
| +-- content-disposition@0.5.1
| +-- content-type@1.0.2
| +-- cookie@0.1.5
| +-- cookie-signature@1.0.6
| +-- depd@1.1.0
| +-- escape-html@1.0.3
| +-- etag@1.7.0
| +-- finalhandler@0.4.1
| | `-- unpipe@1.0.0
| +-- fresh@0.3.0
| +-- merge-descriptors@1.0.1
| +-- methods@1.1.2
| +-- on-finished@2.3.0
| | `-- ee-first@1.1.1
| +-- parseurl@1.3.1
| +-- path-to-regexp@0.1.7
| +-- proxy-addr@1.0.10
| | +-- forwarded@0.1.0
| | `-- ipaddr.js@1.0.5
| +-- qs@4.0.0
| +-- range-parser@1.0.3
| +-- send@0.13.1
| | +-- destroy@1.0.4
| | +-- http-errors@1.3.1
| | `-- statuses@1.2.1
| +-- serve-static@1.10.2
| +-- type-is@1.6.12
| | `-- media-typer@0.3.0
| +-- utils-merge@1.0.0
| `-- vary@1.0.1
+-- extract-text-webpack-plugin@1.0.1
| +-- async@1.5.2
| `-- webpack-sources@0.1.2
|   `-- source-map@0.5.6
+-- file-loader@0.8.5
+-- function-bind@1.1.0
+-- html-webpack-plugin@2.17.0
| +-- bluebird@3.3.5
| +-- html-minifier@2.1.3
| | +-- change-case@2.3.1
| | | +-- camel-case@1.2.2
| | | +-- constant-case@1.1.2
| | | +-- dot-case@1.1.2
| | | +-- is-lower-case@1.1.3
| | | +-- is-upper-case@1.1.2
| | | +-- lower-case@1.1.3
| | | +-- lower-case-first@1.0.2
| | | +-- param-case@1.1.2
| | | +-- pascal-case@1.1.2
| | | +-- path-case@1.1.2
| | | +-- sentence-case@1.1.3
| | | +-- snake-case@1.1.2
| | | +-- swap-case@1.1.2
| | | +-- title-case@1.1.2
| | | +-- upper-case@1.1.3
| | | `-- upper-case-first@1.1.2
| | +-- clean-css@3.4.12
| | | +-- commander@2.8.1
| | | `-- source-map@0.4.4
| | +-- commander@2.9.0
| | | `-- graceful-readlink@1.0.1
| | +-- he@1.1.0
| | +-- ncname@1.0.0
| | | `-- xml-char-classes@1.0.0
| | `-- relateurl@0.2.6
| +-- lodash@4.12.0
| +-- pretty-error@2.0.0
| | +-- renderkid@2.0.0
| | | +-- css-select@1.2.0
| | | | +-- boolbase@1.0.0
| | | | +-- css-what@2.1.0
| | | | `-- nth-check@1.0.1
| | | +-- dom-converter@0.1.4
| | | | `-- utila@0.3.3
| | | +-- htmlparser2@3.3.0
| | | | +-- domhandler@2.1.0
| | | | +-- domutils@1.1.6
| | | | `-- readable-stream@1.0.34
| | | |   `-- isarray@0.0.1
| | | `-- utila@0.3.3
| | `-- utila@0.4.0
| `-- toposort@0.2.12
+-- http-proxy-middleware@0.12.0
| +-- http-proxy@1.13.3
| | +-- eventemitter3@1.2.0
| | `-- requires-port@1.0.0
| +-- is-glob@2.0.1
| | `-- is-extglob@1.0.0
| `-- micromatch@2.3.8
|   +-- arr-diff@2.0.0
|   | `-- arr-flatten@1.0.1
|   +-- array-unique@0.2.1
|   +-- braces@1.8.4
|   | +-- expand-range@1.8.2
|   | | `-- fill-range@2.2.3
|   | |   +-- is-number@2.1.0
|   | |   +-- isobject@2.1.0
|   | |   +-- randomatic@1.1.5
|   | |   `-- repeat-string@1.5.4
|   | +-- preserve@0.2.0
|   | `-- repeat-element@1.1.2
|   +-- expand-brackets@0.1.5
|   | `-- is-posix-bracket@0.1.1
|   +-- extglob@0.3.2
|   +-- filename-regex@2.0.0
|   +-- kind-of@3.0.3
|   | `-- is-buffer@1.1.3
|   +-- normalize-path@2.0.1
|   +-- object.omit@2.0.0
|   | +-- for-own@0.1.4
|   | | `-- for-in@0.1.5
|   | `-- is-extendable@0.1.1
|   +-- parse-glob@3.0.4
|   | +-- glob-base@0.3.0
|   | `-- is-dotfile@1.0.2
|   `-- regex-cache@0.4.3
|     +-- is-equal-shallow@0.1.3
|     `-- is-primitive@2.0.0
+-- inject-loader@2.0.1
+-- isparta-loader@2.0.0
| `-- isparta@4.0.0
|   +-- escodegen@1.8.0
|   | +-- esprima@2.7.2
|   | +-- estraverse@1.9.3
|   | `-- source-map@0.2.0
|   +-- esprima@2.7.2
|   +-- nomnomnomnom@2.0.1
|   | +-- chalk@0.4.0
|   | | +-- ansi-styles@1.0.0
|   | | +-- has-color@0.1.7
|   | | `-- strip-ansi@0.1.1
|   | `-- underscore@1.6.0
|   `-- source-map@0.5.6
+-- json-loader@0.5.4
+-- karma@0.13.22
| +-- batch@0.5.3
| +-- bluebird@2.10.2
| +-- body-parser@1.15.1
| | +-- bytes@2.3.0
| | +-- http-errors@1.4.0
| | +-- iconv-lite@0.4.13
| | +-- qs@6.1.0
| | `-- raw-body@2.1.6
| +-- chokidar@1.5.0
| | +-- anymatch@1.3.0
| | | `-- arrify@1.0.1
| | +-- async-each@1.0.0
| | +-- glob-parent@2.0.0
| | +-- is-binary-path@1.0.1
| | | `-- binary-extensions@1.4.0
| | `-- readdirp@2.0.0
| +-- colors@1.1.2
| +-- connect@3.4.1
| +-- di@0.0.1
| +-- dom-serialize@2.2.1
| | +-- custom-event@1.0.0
| | +-- ent@2.2.0
| | `-- void-elements@2.0.1
| +-- expand-braces@0.1.2
| | +-- array-slice@0.2.3
| | `-- braces@0.1.5
| |   `-- expand-range@0.1.1
| |     +-- is-number@0.1.1
| |     `-- repeat-string@0.2.2
| +-- graceful-fs@4.1.4
| +-- isbinaryfile@3.0.0
| +-- log4js@0.6.36
| | `-- readable-stream@1.0.34
| |   `-- isarray@0.0.1
| +-- mime@1.3.4
| +-- minimatch@3.0.0
| +-- optimist@0.6.1
| | +-- minimist@0.0.10
| | `-- wordwrap@0.0.3
| +-- socket.io@1.4.6
| | +-- engine.io@1.6.9
| | | +-- accepts@1.1.4
| | | | +-- mime-types@2.0.14
| | | | | `-- mime-db@1.12.0
| | | | `-- negotiator@0.4.9
| | | +-- base64id@0.1.0
| | | +-- engine.io-parser@1.2.4
| | | | +-- after@0.8.1
| | | | +-- arraybuffer.slice@0.0.6
| | | | +-- base64-arraybuffer@0.1.2
| | | | +-- blob@0.0.4
| | | | +-- has-binary@0.1.6
| | | | | `-- isarray@0.0.1
| | | | `-- utf8@2.1.0
| | | `-- ws@1.0.1
| | |   +-- options@0.0.6
| | |   `-- ultron@1.0.2
| | +-- has-binary@0.1.7
| | | `-- isarray@0.0.1
| | +-- socket.io-adapter@0.4.0
| | | `-- socket.io-parser@2.2.2
| | |   +-- debug@0.7.4
| | |   +-- isarray@0.0.1
| | |   `-- json3@3.2.6
| | +-- socket.io-client@1.4.6
| | | +-- backo2@1.0.2
| | | +-- component-bind@1.0.0
| | | +-- component-emitter@1.2.0
| | | +-- engine.io-client@1.6.9
| | | | +-- component-inherit@0.0.3
| | | | +-- has-cors@1.1.0
| | | | +-- parsejson@0.0.1
| | | | +-- parseqs@0.0.2
| | | | +-- xmlhttprequest-ssl@1.5.1
| | | | `-- yeast@0.1.2
| | | +-- indexof@0.0.1
| | | +-- object-component@0.0.3
| | | +-- parseuri@0.0.4
| | | | `-- better-assert@1.0.2
| | | |   `-- callsite@1.0.0
| | | `-- to-array@0.1.4
| | `-- socket.io-parser@2.2.6
| |   +-- benchmark@1.0.0
| |   +-- component-emitter@1.1.2
| |   +-- isarray@0.0.1
| |   `-- json3@3.3.2
| +-- source-map@0.5.6
| `-- useragent@2.1.9
|   `-- lru-cache@2.2.4
+-- karma-coverage@0.5.5
| +-- dateformat@1.0.12
| | +-- get-stdin@4.0.1
| | `-- meow@3.7.0
| |   +-- camelcase-keys@2.1.0
| |   | `-- camelcase@2.1.1
| |   +-- loud-rejection@1.3.0
| |   | +-- array-find-index@1.0.1
| |   | `-- signal-exit@2.1.2
| |   +-- map-obj@1.0.1
| |   +-- normalize-package-data@2.3.5
| |   | +-- hosted-git-info@2.1.4
| |   | +-- is-builtin-module@1.0.0
| |   | | `-- builtin-modules@1.1.1
| |   | `-- validate-npm-package-license@3.0.1
| |   |   +-- spdx-correct@1.0.2
| |   |   | `-- spdx-license-ids@1.2.1
| |   |   `-- spdx-expression-parse@1.0.2
| |   |     `-- spdx-exceptions@1.0.4
| |   +-- read-pkg-up@1.0.1
| |   | +-- find-up@1.1.2
| |   | | `-- path-exists@2.1.0
| |   | `-- read-pkg@1.1.0
| |   |   +-- load-json-file@1.1.0
| |   |   | +-- parse-json@2.2.0
| |   |   | | `-- error-ex@1.3.0
| |   |   | |   `-- is-arrayish@0.2.1
| |   |   | `-- strip-bom@2.0.0
| |   |   |   `-- is-utf8@0.2.1
| |   |   `-- path-type@1.1.0
| |   +-- redent@1.0.0
| |   | +-- indent-string@2.1.0
| |   | | `-- repeating@2.0.1
| |   | `-- strip-indent@1.0.1
| |   `-- trim-newlines@1.0.0
| +-- istanbul@0.4.3
| | +-- abbrev@1.0.7
| | +-- esprima@2.7.2
| | +-- fileset@0.2.1
| | | `-- glob@5.0.15
| | +-- handlebars@4.0.5
| | | `-- source-map@0.4.4
| | +-- resolve@1.1.7
| | `-- supports-color@3.1.2
| +-- minimatch@3.0.0
| `-- source-map@0.5.6
+-- karma-mocha@0.2.2
+-- karma-phantomjs-launcher@1.0.0
| `-- lodash@4.12.0
+-- karma-sinon-chai@1.2.0
+-- karma-sourcemap-loader@0.3.7
+-- karma-spec-reporter@0.0.24
| `-- colors@0.6.2
+-- karma-webpack@1.7.0
| +-- async@0.9.2
| `-- source-map@0.1.43
|   `-- amdefine@1.0.0
+-- lolex@1.4.0
+-- mocha@2.4.5
| +-- commander@2.3.0
| +-- diff@1.4.0
| +-- escape-string-regexp@1.0.2
| +-- glob@3.2.3
| | +-- graceful-fs@2.0.3
| | `-- minimatch@0.2.14
| |   `-- lru-cache@2.7.3
| +-- growl@1.8.1
| +-- jade@0.26.3
| | +-- commander@0.6.1
| | `-- mkdirp@0.3.0
| `-- supports-color@1.2.0
+-- nightwatch@0.8.18
| +-- chai-nightwatch@0.1.1
| | `-- assertion-error@1.0.0
| +-- ejs@0.8.8
| +-- lodash.clone@3.0.3
| | +-- lodash._baseclone@3.3.0
| | | `-- lodash._baseassign@3.2.0
| | +-- lodash._bindcallback@3.0.1
| | `-- lodash._isiterateecall@3.0.9
| +-- lodash.defaultsdeep@4.4.0
| | +-- lodash._baseclone@4.5.7
| | +-- lodash._root@3.0.1
| | +-- lodash.isplainobject@4.0.4
| | +-- lodash.keysin@4.1.4
| | +-- lodash.mergewith@4.4.0
| | | `-- lodash._baseclone@4.5.7
| | `-- lodash.rest@4.0.3
| +-- minimatch@0.2.14
| | +-- lru-cache@2.7.3
| | `-- sigmund@1.0.1
| +-- mkpath@1.0.0
| +-- mocha-nightwatch@2.2.7
| | +-- commander@2.3.0
| | +-- debug@2.0.0
| | | `-- ms@0.6.2
| | +-- escape-string-regexp@1.0.2
| | +-- glob@3.2.3
| | | +-- graceful-fs@2.0.3
| | | `-- minimatch@0.2.14
| | |   `-- lru-cache@2.7.3
| | +-- lodash.create@3.1.1
| | | `-- lodash._basecreate@3.0.3
| | +-- mkdirp@0.5.0
| | | `-- minimist@0.0.8
| | `-- supports-color@1.2.0
| +-- proxy-agent@2.0.0
| | +-- agent-base@2.0.1
| | | `-- semver@5.0.3
| | +-- http-proxy-agent@1.0.0
| | +-- https-proxy-agent@1.0.0
| | +-- lru-cache@2.6.5
| | +-- pac-proxy-agent@1.0.0
| | | +-- get-uri@1.1.0
| | | | +-- data-uri-to-buffer@0.0.4
| | | | +-- file-uri-to-path@0.0.2
| | | | `-- ftp@0.3.10
| | | |   +-- readable-stream@1.1.14
| | | |   | `-- isarray@0.0.1
| | | |   `-- xregexp@2.0.0
| | | +-- pac-resolver@1.2.6
| | | | +-- co@3.0.6
| | | | +-- degenerator@1.0.2
| | | | | +-- ast-types@0.3.38
| | | | | +-- escodegen@1.3.3
| | | | | | +-- esprima@1.1.1
| | | | | | +-- estraverse@1.5.1
| | | | | | +-- esutils@1.0.0
| | | | | | `-- source-map@0.1.43
| | | | | `-- esprima@2.3.0
| | | | +-- netmask@1.0.5
| | | | +-- regenerator@0.8.46
| | | | | +-- commoner@0.10.4
| | | | | | +-- detective@4.3.1
| | | | | | | `-- acorn@1.2.2
| | | | | | `-- glob@5.0.15
| | | | | +-- defs@1.1.1
| | | | | | +-- alter@0.2.0
| | | | | | | `-- stable@0.1.5
| | | | | | +-- ast-traverse@0.1.1
| | | | | | +-- breakable@1.0.0
| | | | | | +-- esprima-fb@15001.1001.0-dev-harmony-fb
| | | | | | +-- simple-fmt@0.1.0
| | | | | | +-- simple-is@0.2.0
| | | | | | +-- stringmap@0.2.2
| | | | | | +-- stringset@0.2.1
| | | | | | +-- tryor@0.1.2
| | | | | | `-- yargs@3.27.0
| | | | | |   +-- os-locale@1.4.0
| | | | | |   | `-- lcid@1.0.0
| | | | | |   |   `-- invert-kv@1.0.0
| | | | | |   +-- window-size@0.1.4
| | | | | |   `-- y18n@3.2.1
| | | | | +-- esprima-fb@15001.1001.0-dev-harmony-fb
| | | | | +-- recast@0.10.33
| | | | | | +-- ast-types@0.8.12
| | | | | | +-- esprima-fb@15001.1001.0-dev-harmony-fb
| | | | | | `-- source-map@0.5.6
| | | | | `-- regenerator-runtime@0.9.5
| | | | `-- thunkify@2.1.2
| | | `-- stream-to-buffer@0.1.0
| | |   `-- stream-to@0.2.2
| | `-- socks-proxy-agent@2.0.0
| |   `-- socks@1.1.9
| |     +-- ip@1.1.3
| |     `-- smart-buffer@1.0.9
| `-- q@1.4.1
+-- ora@0.2.1
| +-- cli-cursor@1.0.2
| | `-- restore-cursor@1.0.1
| |   +-- exit-hook@1.1.1
| |   `-- onetime@1.1.0
| `-- cli-spinners@0.1.2
+-- phantomjs-prebuilt@2.1.7
| +-- extract-zip@1.5.0
| | +-- concat-stream@1.5.0
| | +-- debug@0.7.4
| | +-- mkdirp@0.5.0
| | | `-- minimist@0.0.8
| | `-- yauzl@2.4.1
| |   `-- fd-slicer@1.0.1
| |     `-- pend@1.2.0
| +-- fs-extra@0.26.7
| | +-- jsonfile@2.3.1
| | `-- klaw@1.2.0
| +-- hasha@2.2.0
| | +-- is-stream@1.1.0
| | `-- pinkie-promise@2.0.1
| |   `-- pinkie@2.0.4
| +-- kew@0.7.0
| +-- request@2.67.0
| | +-- aws-sign2@0.6.0
| | +-- bl@1.0.3
| | +-- caseless@0.11.0
| | +-- combined-stream@1.0.5
| | | `-- delayed-stream@1.0.0
| | +-- forever-agent@0.6.1
| | +-- form-data@1.0.0-rc4
| | +-- har-validator@2.0.6
| | +-- hawk@3.1.3
| | | +-- boom@2.10.1
| | | +-- cryptiles@2.0.5
| | | +-- hoek@2.16.3
| | | `-- sntp@1.0.9
| | +-- http-signature@1.1.1
| | | +-- assert-plus@0.2.0
| | | +-- jsprim@1.2.2
| | | | +-- extsprintf@1.0.2
| | | | +-- json-schema@0.2.2
| | | | `-- verror@1.3.6
| | | `-- sshpk@1.8.3
| | |   +-- asn1@0.2.3
| | |   +-- assert-plus@1.0.0
| | |   +-- dashdash@1.13.1
| | |   | `-- assert-plus@1.0.0
| | |   +-- ecc-jsbn@0.1.1
| | |   +-- getpass@0.1.6
| | |   | `-- assert-plus@1.0.0
| | |   +-- jodid25519@1.0.2
| | |   +-- jsbn@0.1.0
| | |   `-- tweetnacl@0.13.3
| | +-- is-typedarray@1.0.0
| | +-- isstream@0.1.2
| | +-- json-stringify-safe@5.0.1
| | +-- node-uuid@1.4.7
| | +-- oauth-sign@0.8.2
| | +-- qs@5.2.0
| | +-- stringstream@0.0.5
| | +-- tough-cookie@2.2.2
| | `-- tunnel-agent@0.4.3
| +-- request-progress@2.0.1
| | `-- throttleit@1.0.0
| `-- which@1.2.8
|   +-- is-absolute@0.1.7
|   | `-- is-relative@0.1.3
|   `-- isexe@1.1.2
+-- selenium-server@2.53.0
+-- shelljs@0.6.0
+-- sinon@1.17.4
| +-- formatio@1.1.1
| +-- lolex@1.3.2
| +-- samsam@1.1.2
| `-- util@0.10.3
+-- sinon-chai@2.8.0
+-- url-loader@0.5.7
| `-- mime@1.2.11
+-- vue@1.0.24
| `-- envify@3.4.0
|   `-- jstransform@10.1.0
|     +-- base62@0.1.1
|     +-- esprima-fb@13001.1001.0-dev-harmony-fb
|     `-- source-map@0.1.31
+-- vue-hot-reload-api@1.3.2
+-- vue-html-loader@1.2.2
| +-- es6-templates@0.2.2
| | `-- recast@0.9.18
| |   +-- ast-types@0.6.16
| |   +-- esprima-fb@10001.1.0-dev-harmony-fb
| |   `-- source-map@0.1.43
| +-- fastparse@1.1.1
| `-- html-minifier@1.5.0
|   `-- he@1.0.0
+-- vue-loader@8.3.1
| +-- autoprefixer@6.3.6
| | +-- browserslist@1.3.1
| | +-- caniuse-db@1.0.30000466
| | +-- normalize-range@0.1.2
| | `-- num2fraction@1.2.2
| +-- consolidate@0.14.1
| +-- de-indent@1.0.2
| +-- hash-sum@1.0.2
| +-- lru-cache@2.7.3
| +-- parse5@2.1.5
| +-- postcss-selector-parser@1.3.3
| | +-- flatten@1.0.2
| | `-- uniq@1.0.1
| +-- source-map@0.5.6
| `-- vue-template-validator@1.1.5
+-- vue-style-loader@1.0.0
+-- webpack@1.13.0
| +-- acorn@3.1.0
| +-- clone@1.0.2
| +-- enhanced-resolve@0.9.1
| | `-- memory-fs@0.2.0
| +-- interpret@0.6.6
| +-- memory-fs@0.3.0
| | `-- errno@0.1.4
| |   `-- prr@0.0.0
| +-- node-libs-browser@0.5.3
| | +-- assert@1.3.0
| | +-- browserify-zlib@0.1.4
| | | `-- pako@0.2.8
| | +-- buffer@3.6.0
| | | +-- base64-js@0.0.8
| | | `-- ieee754@1.1.6
| | +-- console-browserify@1.1.0
| | | `-- date-now@0.1.4
| | +-- constants-browserify@0.0.1
| | +-- crypto-browserify@3.2.8
| | | +-- pbkdf2-compat@2.0.1
| | | +-- ripemd160@0.2.0
| | | `-- sha.js@2.2.6
| | +-- domain-browser@1.1.7
| | +-- events@1.1.0
| | +-- http-browserify@1.7.0
| | | `-- Base64@0.2.1
| | +-- https-browserify@0.0.0
| | +-- os-browserify@0.1.2
| | +-- path-browserify@0.0.0
| | +-- process@0.11.3
| | +-- punycode@1.4.1
| | +-- querystring-es3@0.2.1
| | +-- readable-stream@1.1.14
| | | `-- isarray@0.0.1
| | +-- stream-browserify@1.0.0
| | | `-- readable-stream@1.1.14
| | |   `-- isarray@0.0.1
| | +-- string_decoder@0.10.31
| | +-- timers-browserify@1.4.2
| | +-- tty-browserify@0.0.0
| | +-- url@0.10.3
| | | `-- punycode@1.3.2
| | `-- vm-browserify@0.0.4
| +-- supports-color@3.1.2
| | `-- has-flag@1.0.0
| +-- tapable@0.1.10
| +-- uglify-js@2.6.2
| | +-- async@0.2.10
| | +-- source-map@0.5.6
| | +-- uglify-to-browserify@1.0.2
| | `-- yargs@3.10.0
| |   +-- camelcase@1.2.1
| |   +-- cliui@2.1.0
| |   | +-- center-align@0.1.3
| |   | | +-- align-text@0.1.4
| |   | | | `-- longest@1.0.1
| |   | | `-- lazy-cache@1.0.4
| |   | +-- right-align@0.1.3
| |   | `-- wordwrap@0.0.2
| |   `-- window-size@0.1.0
| +-- watchpack@0.2.9
| | `-- async@0.9.2
| `-- webpack-core@0.6.8
|   `-- source-map@0.4.4
+-- webpack-dev-middleware@1.6.1
+-- webpack-hot-middleware@2.10.0
| +-- ansi-html@0.0.5
| +-- html-entities@1.2.0
| +-- querystring@0.2.0
| `-- strip-ansi@3.0.1
`-- webpack-merge@0.8.4
  +-- lodash.find@3.2.1
  | +-- lodash._basecallback@3.3.1
  | | +-- lodash._baseisequal@3.0.7
  | | `-- lodash.pairs@3.0.1
  | +-- lodash._baseeach@3.0.4
  | +-- lodash._basefind@3.0.0
  | +-- lodash._basefindindex@3.6.0
  | +-- lodash.isarray@3.0.4
  | `-- lodash.keys@3.1.2
  +-- lodash.isplainobject@3.2.0
  | +-- lodash._basefor@3.0.3
  | `-- lodash.keysin@3.0.8
  `-- lodash.merge@3.3.2
    +-- lodash._arraycopy@3.0.0
    +-- lodash._arrayeach@3.0.0
    +-- lodash._createassigner@3.1.1
    | `-- lodash.restparam@3.6.1
    +-- lodash._getnative@3.9.1
    +-- lodash.isarguments@3.0.8
    +-- lodash.isplainobject@3.2.0
    +-- lodash.istypedarray@3.0.6
    +-- lodash.keysin@3.0.8
    `-- lodash.toplainobject@3.0.0
      +-- lodash._basecopy@3.0.1
      `-- lodash.keysin@3.0.8

npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.0.12

然后执行第五步,不知道错误表示什么意思:

$ npm run dev

> my-project@1.0.0 dev D:\wnmp\www\laravel-entrust\public\my-project
> node build/dev-server.js

Listening at http://localhost:8080

webpack built a570ce69c6c23ce762d0 in 4492ms
Hash: a570ce69c6c23ce762d0
Version: webpack 1.13.0
Time: 4492ms
 Asset     Size  Chunks       Chunk Names
app.js  1.06 MB       0       app

ERROR in ./src/main.js

  error    Parsing error: The keyword 'import' is reserved
  D:\wnmp\www\laravel-entrust\public\my-project\src\main.js:1:1
  import Vue from 'vue'
   ^

✖ 1 problem (1 error, 0 warnings)

ERROR in ./src/App.vue

  error    Parsing error: The keyword 'import' is reserved
  D:\wnmp\www\laravel-entrust\public\my-project\src\App.vue:26:1
  import Hello from './components/Hello'
   ^

✖ 1 problem (1 error, 0 warnings)

ERROR in ./src/components/Hello.vue

  error    Parsing error: The keyword 'export' is reserved
  D:\wnmp\www\laravel-entrust\public\my-project\src\components\Hello.vue:8:1
  export default {
   ^

✖ 1 problem (1 error, 0 warnings)

Child html-webpack-plugin for "index.html":
         Asset     Size  Chunks       Chunk Names
    index.html  21.4 kB       0
webpack: bundle is now VALID.
yyx990803 commented 8 years ago

OS, Node 版本?

zwl1619 commented 8 years ago

@yyx990803

win 10 x64 Node 6.1

yyx990803 commented 8 years ago

现阶段还不建议用 Node v6,因为有些依赖在 win 上面编译可能有问题。换回 v5 试试

simplesmiler commented 8 years ago

Probably related to https://github.com/vuejs-templates/webpack/issues/116

zwl1619 commented 8 years ago

ok

chrisvfritz commented 8 years ago

@simplesmiler Yeah, this definitely looks like the same node6 problem as #116.