fmsouza / ionic3-seed-protractor

Ionic 3 + Karma + Protractor + Appium
Apache License 2.0
20 stars 7 forks source link

Fresh clone not starting #4

Open W1nstar opened 6 years ago

W1nstar commented 6 years ago

I'm interested in a seed like this one. Just followed instructions, installed ionic & cordova, cloned the project and ran npm install. Any subsequent command (start, run android...) fails the same way. It seems like it can't transpile the tests:

[14:38:19]  typescript: c:/proyectos/MobileA/src/pages/home/home.e2e.ts, line: 7
            Cannot find name 'it'.

   L7:      it('should have a title saying Home', () => {
   L8:        browser.getTitle().then(title => {

[14:38:19]  typescript: c:/proyectos/MobileA/src/pages/home/home.e2e.ts, line: 9
            Cannot find name 'expect'.

   L8:  browser.getTitle().then(title => {
   L9:    expect(title).toEqual('Ionic');
  L10:  });

And it continues for a long list. Do I need to install something else?

fmsouza commented 6 years ago

Running npm install should be enought. What are the versions of your Node.js, Ionic cli and Cordova cli?

W1nstar commented 6 years ago

Thanks for helping! These are my versions. Let me know if you need something more:

λ node -v v8.11.1

λ cordova -v 8.0.0

λ ionic -v 3.20.0