$ ionic start myapp --v2 Creating Ionic app in folder C:\Users\乔巴\Desktop\app\myapp based on tabs proje ct Downloading: https://github.com/driftyco/ionic2-app-base/archive/master.zip Downloading: https://github.com/driftyco/ionic2-starter-tabs/archive/master.zip Installing npm packages... Error with start undefined Error Initializing app: There was an error with the spawned command: npminstall There was an error with the spawned command: npminstall Caught exception: undefined Mind letting us know? https://github.com/driftyco/ionic-cli/issues 乔巴@▒ᰮʮ▒▒▒▒ MINGW64 ~/Desktop/app $ ls myapp/ 乔巴@▒ᰮʮ▒▒▒▒ MINGW64 ~/Desktop/app $ cd myapp 乔巴@▒ᰮʮ▒▒▒▒ MINGW64 ~/Desktop/app/myapp $ ls config.xml node_modules/ README.md tsconfig.json hooks/ npm-debug.log resources/ tslint.json ionic.config.json package.json src/ www/ 乔巴@▒ᰮʮ▒▒▒▒ MINGW64 ~/Desktop/app/myapp $ ionic sever (node:8160) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version. _ _ (_) (_) _ ___ _ __ _ ___ | |/ _ \| '_ \| |/ __| | | (_) | | | | | (__ |_|\___/|_| |_|_|\___| CLI v2.1.0 Usage: ionic task args ======================= sever is not a valid task Available tasks: (use --help or -h for more info) start .......... Starts a new Ionic project in the specified PATH serve .......... Start a local development server for app dev/testing setup .......... Configure the project with a build tool (beta) generate ....... Generate pages and components platform ....... Add platform target for building an Ionic app run ............ Run an Ionic project on a connected device emulate ........ Emulate an Ionic project on a simulator or emulator build .......... Build (prepare + compile) an Ionic project for a given pla tform. plugin ......... Add a Cordova plugin resources ...... Automatically create icon and splash screen resources (bet a) Put your images in the ./resources directory, named splash or icon. Accepted file types are .png, .ai, and .psd. Icons should be 192x192 px without rounded corners. Splashscreens should be 2208x2208 px, with the image cente red in the middle. upload ......... Upload an app to your Ionic account share .......... Share an app with a client, co-worker, friend, or customer lib ............ Gets Ionic library version or updates the Ionic library io ............. Integrate your app with Ionic Cloud services security ....... Store your app's credentials for the Ionic Cloud push ........... Upload APNS and GCM credentials to Ionic Push package ........ Use Ionic Package to build your app config ......... Set configuration variables for your ionic app service ........ Add an Ionic service package and install any required plug ins add ............ Add an Ion, bower component, or addon to the project remove ......... Remove an Ion, bower component, or addon from the project list ........... List Ions, bower components, or addons in the project info ........... List information about the users runtime environment help ........... Provides help for a certain command link ........... Sets your Ionic App ID for your project hooks .......... Manage your Ionic Cordova hooks state .......... Saves or restores state of your Ionic Application using th e package.json file docs ........... Opens up the documentation for Ionic
$ node -v
v6.7.0
乔巴@▒ᰮʮ▒▒▒▒ MINGW64 ~/Desktop/app/myapp
$ ionic -v
2.1.0
命令执行后会出现这些目录,但是运行不了,该怎么解决?