Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't build #3

Closed
BojanKogoj opened this issue Oct 13, 2017 · 2 comments
Closed

Doesn't build #3

BojanKogoj opened this issue Oct 13, 2017 · 2 comments

Comments

@BojanKogoj
Copy link

Followed build instructions, got an error

➜  Pinboard-Pin git:(master) ✗ npm run build

> pinboard-pin@0.1.4 build /.../projects/Pinboard-Pin
> ng build --aot

fallbackLoader option has been deprecated - replace with "fallback"
loader option has been deprecated - replace with "use"
fallbackLoader option has been deprecated - replace with "fallback"
loader option has been deprecated - replace with "use"
fallbackLoader option has been deprecated - replace with "fallback"
loader option has been deprecated - replace with "use"
fallbackLoader option has been deprecated - replace with "fallback"
loader option has been deprecated - replace with "use"
Hash: 51c3b0eb06e7f39f4fe2
Time: 8447ms
chunk    {0} styles.bundle.css, styles.bundle.map, styles.bundle.map (styles) 1.88 kB {2} [initial] [rendered]
chunk    {1} main.bundle.js, main.bundle.map (main) 28 bytes [initial] [rendered]
chunk    {2} inline.bundle.js, inline.bundle.map (inline) 0 bytes [entry] [rendered]

ERROR in /.../projects/Pinboard-Pin/src/$$_gendir/app/pinpage/pinpage.component.ngfactory.ts (1366,142): Property 'url' does not exist on type '{ [key: string]: AbstractControl; }'.

ERROR in /.../projects/Pinboard-Pin/src/$$_gendir/app/pinpage/pinpage.component.ngfactory.ts (1366,205): Property 'url' does not exist on type '{ [key: string]: AbstractControl; }'.

ERROR in /.../projects/Pinboard-Pin/src/$$_gendir/app/login/login.component.ngfactory.ts (418,130): Property 'token' does not exist on type '{ [key: string]: AbstractControl; }'.

ERROR in /.../projects/Pinboard-Pin/src/$$_gendir/app/login/login.component.ngfactory.ts (418,196): Property 'token' does not exist on type '{ [key: string]: AbstractControl; }'.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! pinboard-pin@0.1.4 build: `ng build --aot`
npm ERR! Exit status 1
@Cito
Copy link
Owner

Cito commented Oct 14, 2017

I have just updated the master branch to the latest Angular version. I'm pretty sure this will solve your issue. You should remove node_modules and reinstall everything with "npm install".

@Cito
Copy link
Owner

Cito commented Nov 3, 2017

The master branch has now been updated again, to the lastest Angular version 5.0.0 and Angular-CLI 1.5.0. And again, best to remove node_modules and reinstall everything with "npm install".

@Cito Cito closed this as completed Nov 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants