You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
error TS2339: Property 'context' does not exist on type 'NodeRequire'. #434
I'm submitting a ...
[* ] bug report
[ ] feature request
[ ] question about the decisions made in the repository
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
When attempting to use require.context, after executing npm start, an exception is thrown.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
In src/app/app.ts, enter the following: var testContext = require.context('./home', true, /\.ts/);. When attempting a build, you will receive the error: error TS2339: Property 'context' does not exist on type 'NodeRequire'.
Activity
PatrickJS commentedon Mar 20, 2016
should be fixed via c811a45 can you pull latest and make sure you run
typings installPatrickJS commentedon Mar 24, 2016
I'm going to close this but if you still have the error please reopen or create another issue, thanks!
GarrettVD commentedon Mar 24, 2016
Thanks, just testing it now