Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploying to server error: Missing download-assets.js #731

Open
hiven opened this issue Apr 15, 2024 · 0 comments
Open

Deploying to server error: Missing download-assets.js #731

hiven opened this issue Apr 15, 2024 · 0 comments

Comments

@hiven
Copy link

hiven commented Apr 15, 2024

Hello,

When I take the vanilla example and try deploying to Netlify I get the following:

7:21:38 PM: Error: Cannot find module '/opt/scripts/download-assets.js'
7:21:38 PM:     at Module._resolveFilename (node:internal/modules/cjs/loader:1140:15)
7:21:38 PM:     at Module._load (node:internal/modules/cjs/loader:981:27)
7:21:38 PM:     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
7:21:38 PM:     at node:internal/main/run_main_module:28:49 {
7:21:38 PM:   code: 'MODULE_NOT_FOUND',

I was under the impression I could take the "vanilla-app" example and deploy that, but it seems it's trying to reference files in the rest of repository, outside all of the app examples. As such is there any guidance on how I should be deploying the examples, or even if that is a bug?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant