framework7io / framework7-vue

Deprecated! Build full featured iOS & Android apps using Framework7 & Vue
http://framework7.io/vue/
MIT License
674 stars 154 forks source link

npm run dev error #3

Closed Danzondo closed 7 years ago

Danzondo commented 7 years ago

When I run 'npm run dev' I get the following error:

C:\f7vue\node_modules\cross-env\dist\index.js:58 var envVars = Object.assign({}, process.env); ^ TypeError: Object function Object() { [native code] } has no method 'assign' at getCommandArgsAndEnvVars (C:\f7vue\node_modules\cross-env\dist\index.js:58:24) at crossEnv (C:\f7vue\node_modules\cross-env\dist\index.js:22:35) at Object. (C:\f7vue\node_modules\cross-env\bin\cross-env.js:3:19) at Module._compile (module.js:456:26) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Function.Module.runMain (module.js:497:10) at startup (node.js:119:16) at node.js:906:3

npm ERR! framework7-vue@0.5.0 dev: cross-env NODE_ENV=development webpack-dev-server --content-base kitchen-sink/ --open --inline --hot npm ERR! Exit status 8

nolimits4web commented 7 years ago

What is your node and npm versions? Try upgrading node to 6.x+

Danzondo commented 7 years ago

thanks, that fixed the error