ionic3-seed-protractor icon indicating copy to clipboard operation
ionic3-seed-protractor copied to clipboard

Fresh clone not starting

Open W1nstar opened this issue 6 years ago • 2 comments

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?

W1nstar avatar Jul 11 '18 12:07 W1nstar

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

fmsouza avatar Jul 11 '18 19:07 fmsouza

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

W1nstar avatar Jul 12 '18 06:07 W1nstar