Walshy | Pages
11/29/2022, 10:51 PMyusukebe
11/30/2022, 5:45 AMyusukebe
11/30/2022, 5:46 AMDemosJarco
12/01/2022, 11:02 PMfile1.ts
imports classA.ts
and classB.ts
but the class files should not be directly visitable, but file1.ts
would be /file1
. Will /functions/file1.ts
be able to import from ../someFolder/classA.ts
?i40west
12/01/2022, 11:36 PMi40west
12/01/2022, 11:38 PMimport Foo from '../../../js/bar.js';
JustinNoel
12/02/2022, 1:23 PMutils
directory.DemosJarco
12/02/2022, 3:19 PM/functions
was a hard cut off point for security reasonsGinie
12/03/2022, 1:23 PM14:21:28.114 Finished
14:21:28.815 Compiled Worker successfully.
14:21:28.865 Found _routes.json in output directory. Uploading.
14:21:28.891 Validating asset output directory
14:21:30.571 Deploying your site to Cloudflare's global network...
14:21:32.191 Failed: an internal error occurred
14:21:32.191 Error: Failed to publish assets. For support, join our Discord (https://discord.gg/cloudflaredev) or create a ticket and reference the deployment ID: 0f45070d-7f2b-4e5c-baa4-15ed3528d8bd
Ginie
12/03/2022, 1:24 PM_routes.json
{
"version": 2,
"include": [
"/api/*"
],
"exclude": []
}
kian
12/03/2022, 1:26 PM"version": 2
is validGinie
12/03/2022, 1:26 PMkian
12/03/2022, 1:26 PM1
Ginie
12/03/2022, 1:26 PMGinie
12/03/2022, 1:29 PMkleeut
12/04/2022, 7:08 AMenv
object. I've checked the binding names in the functions tab many times, both production and preview. When I dump the what's available on env
I see properties called __D1_BETA_<database name>
but these don't appear to have the prepare
function on them (and the name implies they're not for me to use), when I add a new binding the new name appears with the same __D1_BETA_
prefix.
Does anyone have any ideas what I might be missing?
It's worth noting that I'm using the Sveltekit adapter (https://www.npmjs.com/package/@sveltejs/adapter-cloudflare)shadid12
12/07/2022, 6:04 PMbotato
12/08/2022, 1:42 AMbotato
12/08/2022, 1:43 AMbotato
12/08/2022, 1:49 AMTL&D
12/10/2022, 6:14 AMElFitz
12/10/2022, 10:48 AM@cloudflare/pages-plugin-honeycomb
. As a middleware it’s great, but has anyone had any chance with using the tracer’s fetch for requests?
I’ve been trying to override ky’s (https://github.com/sindresorhus/ky) fetch with it, but without success.DatSparrow
12/10/2022, 2:08 PMSkye
12/10/2022, 2:13 PMDatSparrow
12/10/2022, 2:14 PMkonrad1221
12/10/2022, 2:41 PM% yarn build
(...)
info - Creating an optimized production build
Failed to compile.
./node_modules/preact-render-to-string/dist/index.module.js
Dynamic Code Evaluation (e. g. 'eval', 'new Function', 'WebAssembly.compile') not allowed in Edge Runtime
Learn More: https://nextjs.org/docs/messages/edge-dynamic-code-evaluation
Import trace for requested module:
./node_modules/preact-render-to-string/dist/index.module.js
./node_modules/next-auth/core/pages/index.js
./node_modules/next-auth/core/index.js
./node_modules/next-auth/next/index.js
./node_modules/next-auth/index.js
./node_modules/@babel/runtime/helpers/isNativeFunction.js
Dynamic Code Evaluation (e. g. 'eval', 'new Function', 'WebAssembly.compile') not allowed in Edge Runtime
Learn More: https://nextjs.org/docs/messages/edge-dynamic-code-evaluation
Import trace for requested module:
./node_modules/@babel/runtime/helpers/isNativeFunction.js
./node_modules/@babel/runtime/helpers/wrapNativeSuper.js
./node_modules/next-auth/core/errors.js
./node_modules/next-auth/utils/logger.js
./node_modules/next-auth/core/index.js
./node_modules/next-auth/next/index.js
./node_modules/next-auth/index.js
./node_modules/@babel/runtime/regenerator/index.js
Dynamic Code Evaluation (e. g. 'eval', 'new Function', 'WebAssembly.compile') not allowed in Edge Runtime
Learn More: https://nextjs.org/docs/messages/edge-dynamic-code-evaluation
Import trace for requested module:
./node_modules/@babel/runtime/regenerator/index.js
./node_modules/next-auth/core/errors.js
./node_modules/next-auth/utils/logger.js
./node_modules/next-auth/core/index.js
./node_modules/next-auth/next/index.js
./node_modules/next-auth/index.js
> Build failed because of webpack errors
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Skye
12/10/2022, 2:43 PMpreact-render-to-string
(dependency of next-auth) relies on one of eval
, new Function
or WASM to function- which isn't allowed in the edge runtimekonrad1221
12/10/2022, 2:51 PMSkye
12/10/2022, 2:52 PM