-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Closed
Description
- 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 executingnpm 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
Insrc/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'
. - Please tell us about your environment:
- Angular version: 2.0.0-beta.8
- Browser: [all]
Metadata
Metadata
Assignees
Labels
No labels