CS4001
error The library path was not found.
#What it means
The script imports a library that could not be found. Your own libraries resolve by name and version; other members' libraries must be published, or shared with you.
#Typical cause
- A typo in the library name or version.
- The library has not been saved yet, or that version does not exist.
- Another member's library you do not have access to.
#How to fix it
Check the path user/Name/version against your library's name and version in My scripts. See Libraries.
#Example
//@chartscript 1
indicator("Uses a library", { overlay: true })
import * as T from "@user/MissingTools@1"
plot(close)Fixed
//@chartscript 1
indicator("Uses a library", { overlay: true })
plot(close)