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
Getting the following exception, when I'm trying to bundle my precompiled d.ts files:
[19:33:57] TypeError: Cannot read property 'file' of undefined
at C:\project\node_modules\dts-bundle\lib\index.js:489:42
at Array.forEach (native)
at Object.bundle (C:\project\node_modules\dts-bundle\lib\index.js:487:25)
at Gulp.<anonymous> (C:\project\gulp\build.js:39:9)
at module.exports (C:\project\node_modules\gulp\node_modules\orchestrator\lib\runTask.js:34:7)
at Gulp.Orchestrator._runTask (C:\project\node_modules\gulp\node_modules\orchestrator\index.js:273:3)
at Gulp.Orchestrator._runStep (C:\project\node_modules\gulp\node_modules\orchestrator\index.js:214:10)
at C:\project\node_modules\gulp\node_modules\orchestrator\index.js:279:18
at finish (C:\project\node_modules\gulp\node_modules\orchestrator\lib\runTask.js:21:8)
at C:\project\node_modules\gulp\node_modules\orchestrator\lib\runTask.js:52:4
Not sure if this is relevant, but I've noticed that in map exports express is missing - here the map exports dts-bundle is reporting:
I've added a simple console.log at the file in question and yes it's failing when express is used. But when compiling it, everything worked. I'm using tsd for all my usings so everything should be the same. Any clues?
I had this error too, took a while to diagnose but discovered it was due to a missing /// <reference path="...d.ts" statement. Could possibly have some better error handling here.
Getting the following exception, when I'm trying to bundle my precompiled d.ts files:
Not sure if this is relevant, but I've noticed that in map exports
express
is missing - here the map exports dts-bundle is reporting:but I'm using also express, can that be the problem? any more information I can provide you with which would help?
The text was updated successfully, but these errors were encountered: