Could not find module `DA.Script'\nIt is not a module in the current program, or in any known pac

can anyone help with this - [{

"message": "Could not find module `DA.Script'\nIt is not a module in the current program, or in any known package.",
"source": "not found",
"startLineNumber": 5,
"startColumn": 8,
"endLineNumber": 5,
"endColumn": 17

}]

module Setup where

import DA.Optional (fromSomeNote)

import qualified DA.Text as T

import DA.Script

This is probably because you haven’t added daml-script to your dependencies in your project’s daml.yaml

Daml Script is only useful off-ledger, almost exclusively for testing (for which it is very useful). So it isn’t included by default in every Daml project configuration.

Check your daml.yaml file in the root directory of your project, and check the dependencies: section. If you want to use Daml.Script this should contain at least:

dependencies:
- daml-prim
- daml-stdlib
- daml-script