This repository was archived by the owner on Aug 13, 2024. It is now read-only.
This repository was archived by the owner on Aug 13, 2024. It is now read-only.
Error: ENOENT, no such file or directory '(workspaceloc)\WORKSPACE_LOC\(myfile).ts' #283
Open
Description
Hello,
I referenced a file from another project in the workspace, and I have the following error.
Errors occurred during the build.
Errors running builder 'TypeScript Builder' on project 'test2'.
The following request caused an error to be thrown:
{"endpoint":"language","method":"updateFiles","arguments":[[{"delta":"ADDED","fileName":"eclipse:/test2/src/test1.ts","filePath":"WORKSPACE_LOC\\test1\\src\\test1.ts"},{"delta":"ADDED","fileName":"eclipse:/test2/src/test2.ts","filePath":"C:\\(workspace)\\test2\\src\\test2.ts"}]]}
Error: ENOENT, no such file or directory 'C:\_(eclipse)_\WORKSPACE_LOC\test1\src\test1.ts'
at Error (native)
at Object.fs.openSync (fs.js:500:18)
at Object.fs.readFileSync (fs.js:352:15)
at readFileContents (C:\_(eclipse)_\plugins\com.palantir.typescript_1.6.0.v20150930-1942\bin\bridge.js:49821:19)
at C:\_(eclipse)_\plugins\com.palantir.typescript_1.6.0.v20150930-1942\bin\bridge.js:49748:44
at Array.forEach (native)
at LanguageEndpoint.updateFiles (C:\_(eclipse)_\plugins\com.palantir.typescript_1.6.0.v20150930-1942\bin\bridge.js:49734:20)
at Main.processRequest (C:\_(eclipse)_\plugins\com.palantir.typescript_1.6.0.v20150930-1942\bin\bridge.js:49865:37)
at Interface.<anonymous> (C:\_(eclipse)_\plugins\com.palantir.typescript_1.6.0.v20150930-1942\bin\bridge.js:49854:23)
at Interface.emit (events.js:107:17)
Looks like the variable WORKSPACE_LOC is not translated.
To reproduce, create a file like that: