Quacksire
01/07/2023, 12:51 AMQuacksire
01/07/2023, 12:51 AMJames
01/07/2023, 12:51 AMJames
01/07/2023, 12:53 AMQuacksire
01/07/2023, 12:53 AMJames
01/07/2023, 12:54 AMQuacksire
01/07/2023, 12:54 AMgunnars04
01/07/2023, 11:35 AMfluidsonic
01/07/2023, 3:37 PMpackage.json
has to look like? What directory does it go to?
The errors when deploying are not helpful at all ๐ฆ
You can mark the path "@tsndr/cloudflare-worker-jwt" as external to exclude it from the bundle, which will remove this error
James
01/07/2023, 3:42 PMpackage.json
dist
index.html
functions
hello-world.js
I don't think there's any specific documentation, but you'd probably want the package.json
in your root with a structure like that. Then it should just be as simple as `import`ing them. If you're having trouble, a git repo or something to reproduce the problem would be great ๐Marcelino Franchini
01/07/2023, 3:49 PMWalshy | Pages
01/07/2023, 3:53 PMWalshy | Pages
01/07/2023, 3:53 PMMarcelino Franchini
01/07/2023, 4:02 PMfluidsonic
01/07/2023, 4:03 PMnpm install
. How can that be triggered automatically?James
01/07/2023, 4:04 PMpackage.json
in the root, Pages CI will run npm install
automatically.James
01/07/2023, 4:04 PMWalshy | Pages
01/07/2023, 4:06 PMfluidsonic
01/07/2023, 4:06 PMbuild command
to npm install
fixes it.Walshy | Pages
01/07/2023, 4:06 PMWalshy | Pages
01/07/2023, 4:06 PMWalshy | Pages
01/07/2023, 4:06 PMexit 0
for nowJames
01/07/2023, 4:07 PMfluidsonic
01/07/2023, 4:08 PMXan
01/07/2023, 8:28 PMJames
01/07/2023, 8:40 PMbkyerv
01/08/2023, 9:08 AM[pages:err] Cause: Error: getaddrinfo ENOTFOUND undefined
Erisa | Support Engineer
01/08/2023, 2:43 PM.dev.vars
file in the .env format like myvar=myvalue
mpeg
01/09/2023, 12:21 AMWalshy | Pages
01/09/2023, 12:28 AM