near-runtime-ts icon indicating copy to clipboard operation
near-runtime-ts copied to clipboard

@nearfile out should create the out folder

Open DanielRX opened this issue 5 years ago • 1 comments

Adding //@nearfile out does not create the out folder, so you get the error:

[10:24:14] Error: ENOENT: no such file or directory, open 'out/assembly/main.ts

Expected: No error

DanielRX avatar Sep 09 '19 17:09 DanielRX

This had been fixed in near-shell but rolled back as it broke NEARStudio. However, I'll make a PR which fixes this and won't break NEARStudio.

However, for now you need to manually create the path of the parent directory.

willemneal avatar Sep 09 '19 17:09 willemneal