Fixing previous errors typescript-require installed The following error message is displayed. What is the problem? I wonder if there is any more to install.
SyntaxError: Unexpected token import - import * as gulp from 'gulp'
error
[01:33:05] Failed to load external module ts-node/register
[01:33:05] Failed to load external module typescript-node/register
[01:33:05] Failed to load external module typescript-register
[01:33:05] Requiring external module typescript-require
C:\project\interview\node_modules\typescript\lib\tsc.js:2349
clearTimeout: clearTimeout
^
ReferenceError: clearTimeout is not defined
at getNodeSystem (C:\project\interview\node_modules\typescript\lib\tsc.js:2349:31)
at C:\project\interview\node_modules\typescript\lib\tsc.js:2400:19
at ts (C:\project\interview\node_modules\typescript\lib\tsc.js:2413:7)
at C:\project\interview\node_modules\typescript\lib\tsc.js:2419:3
at ContextifyScript.Script.runInContext (vm.js:35:29)
at ContextifyScript.Script.runInNewContext (vm.js:41:15)
at compileTS (C:\project\interview\node_modules\typescript-require\index.js:83:13)
at Object.require.extensions..ts (C:\project\interview\node_modules\typescript-require\index.js:21:16)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
via skj
No comments:
Post a Comment