components icon indicating copy to clipboard operation
components copied to clipboard

production build fails

Open mxii opened this issue 9 years ago • 4 comments

Bug, feature request, or proposal:

Error message:

ERROR in Error encountered resolving symbol values statically. Calling function 'style', function calls are not supported. Consider replacing the function or lambda with a reference to an exported function, resolving symbol MdInputContainer in D:/GFR/SVN/zeiterfassung/trunk/webclient/node_modules/@angular/material/typings/index.d.ts, resolving symbol MdInputContainer in D:/GFR/SVN/zeiterfassung/trunk/webclient/node_modules/@angular/material/typings/index.d.ts, resolving symbol MdInputContainer in D:/GFR/SVN/zeiterfassung/trunk/webclient/node_modules/@angular/material/typings/index.d.ts, resolving symbol MdInputContainer in D:/GFR/SVN/zeiterfassung/trunk/webclient/node_modules/@angular/material/typings/index.d.ts

What is the expected behavior?

Build should succeed.

What is the current behavior?

Build don't succeed.

What are the steps to reproduce?

Updated working project to beta.3

Which versions of Angular, Material, OS, browsers are affected?

Angular 4.0.0-rc.2 Material2 beta.3

Is there anything else we should know?

mxii avatar Apr 11 '17 08:04 mxii

Not experiencing the same behavior. Any reason you are using RC of Angular? Perhaps updating to the latest version (which at the time is 4.0.1). Deleting node_modules folder and then running npm install or yarn install

Perhaps you can also share piece of code where you use MdInputContainer?

Nikki1993 avatar Apr 11 '17 08:04 Nikki1993

There's no special reason.

Will give it a try, thanks!

mxii avatar Apr 11 '17 09:04 mxii

@Nikki1993 couldn't say what was the real problem.

But updating and fresh reinstallation of npm packages did the trick..

Thanks!

mxii avatar Apr 11 '17 11:04 mxii

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.