Se eu tento instalar um projeto não consigo completar, se eu crio do zero, consigo, porém, quando tento usar o toPromisse, da esse erro.
Tentei tudo de novo, veja o que pode ter sido.
Last login: Fri Jul 21 20:10:44 on ttys000
You have new mail.
Williams-MacBook-Pro:~ Sieg-Mac$ cd /Users/Sieg-Mac/Downloads/
Williams-MacBook-Pro:Downloads Sieg-Mac$ cd aluracar-3
Williams-MacBook-Pro:aluracar-3 Sieg-Mac$ npm install
fsevents@1.1.2 install /Users/Sieg-Mac/Downloads/aluraCar-3/node_modules/fsevents
node install
[fsevents] Success: "/Users/Sieg-Mac/Downloads/aluraCar-3/node_modules/fsevents/lib/binding/Release/node-v48-darwin-x64/fse.node" already installed
Pass --update-binary to reinstall or --build-from-source to recompile
node-sass@3.10.1 install /Users/Sieg-Mac/Downloads/aluraCar-3/node_modules/node-sass
node scripts/install.js
Start downloading binary at https://github.com/sass/node-sass/releases/download/v3.10.1/darwin-x64-48_binding.node
Binary downloaded and installed at /Users/Sieg-Mac/Downloads/aluraCar-3/node_modules/node-sass/vendor/darwin-x64-48/binding.node
node-sass@3.10.1 postinstall /Users/Sieg-Mac/Downloads/aluraCar-3/node_modules/node-sass
node scripts/build.js
"/Users/Sieg-Mac/Downloads/aluraCar-3/node_modules/node-sass/vendor/darwin-x64-48/binding.node" exists.
testing binary.
Binary is fine; exiting.
npm notice created a lockfile as package-lock.json. You should commit this file.
added 636 packages in 27.675s
Williams-MacBook-Pro:aluracar-3 Sieg-Mac$ ionic serve --lab
? Looks like this is an Ionic Angular project, would you like to install @ionic/
cli-plugin-ionic-angular and continue? No
[WARN] You have no CLI project plugins installed. CLI functionality may be
limited.
Williams-MacBook-Pro:aluracar-3 Sieg-Mac$ ionic serve --lab
? Looks like this is an Ionic Angular project, would you like to install @ionic/
cli-plugin-ionic-angular and continue? Yes
npm install --save-dev --save-exact @ionic/cli-plugin-ionic-angular@latest
✔ Running command - done!
[INFO] Starting app-scripts server: --lab --l --port 8100 --p 8100
--livereload-port 35729 --r 35729 --address 0.0.0.0 - Ctrl+C to cancel
TypeError: AppScripts.serve is not a function
Williams-MacBook-Pro:aluracar-3 Sieg-Mac$ start ionic start aluraCar blank --v2
-bash: start: command not found
Williams-MacBook-Pro:aluracar-3 Sieg-Mac$ ionic start aluraCar-3 blank --v2
? You are already in an Ionic project directory. Do you really want to start ano
ther project here? Yes
[ERROR] Sorry! The --v1 and --v2 flags have been removed.
Use the --type option. (ionic start --help)
For Ionic Angular projects, try ionic start aluraCar-3 blank
--type=ionic-angular
Williams-MacBook-Pro:aluracar-3 Sieg-Mac$ ionic start aluraCar-3 blank
? You are already in an Ionic project directory. Do you really want to start ano
ther project here? Yes
✔ Creating directory ./aluraCar-3 - done!
[INFO] Fetching app base
(https://github.com/ionic-team/ionic2-app-base/archive/master.tar.gz)
✔ Downloading - done!
[INFO] Fetching starter template blank
(https://github.com/ionic-team/ionic2-starter-blank/archive/master.tar.gz)
✔ Downloading - done!
✔ Updating package.json with app details - done!
✔ Creating configuration file ionic.config.json - done!
[INFO] Installing dependencies may take several minutes!
npm install
✔ Running command - done!
npm install --save-dev --save-exact @ionic/cli-plugin-ionic-angular@latest
✔ Running command - done!
git init
✔ Running command - done!
git add -A
✔ Running command - done!
git commit -m "Initial commit" --no-gpg-sign
✔ Running command - done!
♬ ♫ ♬ ♫ Your Ionic app is ready to go! ♬ ♫ ♬ ♫
Run your app in the browser (great for initial development):
ionic serve
Run on a device or simulator:
ionic cordova run ios
Test and share your app on a device with the Ionic View app:
http://view.ionic.io
? Link this app to your Ionic Dashboard to use tools like Ionic View? No
Go to your newly created project: cd ./aluraCar-3
Williams-MacBook-Pro:aluracar-3 Sieg-Mac$ ionic serve --lab
[INFO] Starting app-scripts server: --lab --l --port 8100 --p 8100
--livereload-port 35729 --r 35729 --address 0.0.0.0 - Ctrl+C to cancel
TypeError: AppScripts.serve is not a function
Pode ter sido no final, não sei.