-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
Hello,
So in the dotenv-vault documentation, astro integration is instructed to take place through a CLI script like so.
"node -r dotenv/config ./node_modules/.bin/astro build",
However, when integrating this in the same way, errors are encountered with an Astro script it seems.
Returning this error:
> nx run property-tax:build:local
> node -r dotenv/config node_modules/.bin/astro build --config apps/property-tax/astro.config.ts
/workspaces/node_modules/.bin/astro:2
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
^^^^^^^
SyntaxError: missing ) after argument list
at wrapSafe (node:internal/modules/cjs/loader:1378:20)
at Module._compile (node:internal/modules/cjs/loader:1428:41)
at Module._extensions..js (node:internal/modules/cjs/loader:1548:10)
at Module.load (node:internal/modules/cjs/loader:1288:32)
at Module._load (node:internal/modules/cjs/loader:1104:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12)
at node:internal/main/run_main_module:28:49
Node.js v20.17.0
Warning: command "node -r dotenv/config node_modules/.bin/astro build --config apps/property-tax/astro.config.ts" exited with non-zero status codePerhaps the instructions need updating? Or perhaps a new method of loading the library?
Thanks!
Metadata
Metadata
Assignees
Labels
No labels