Placing a blueprint directly works.
But I got this error when I tried to use a blueprint from a book:
The mod Companion Drones 2.0 (2.0.2) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event companion-drones::on_pre_build (ID 9)
Record is not a BlueprintRecord.
stack traceback:
[C]: in function 'get_blueprint_entities'
companion-drones/script/companion.lua:1519: in function 'get_blueprint_area'
companion-drones/script/companion.lua:1557: in function 'handler'
core/lualib/event_handler.lua:47: in function <core/lualib/event_handler.lua:45>