Comments (6)
in published stage ,there is error:
[ERROR] No loader is configured for ".yaml" files: config.yaml
src/functions/cronTrigger.js:1:19:
1 │ import config from '../../config.yaml'
╵ ~~~~~~~~~~~~~~~~~~~
from cf-workers-status-page.
in published stage ,there is error:
[ERROR] No loader is configured for ".yaml" files: config.yamlsrc/functions/cronTrigger.js:1:19: 1 │ import config from '../../config.yaml' ╵ ~~~~~~~~~~~~~~~~~~~
Yeah, that's where I got stuck trying to migrate it and couldn't find any helpful resources.
from cf-workers-status-page.
There are so much changed from wrangle v1 to v2,I checked cloudflare doc and git action log and change the deploy.yml as below:
deploy yml.txt
and wrangler.toml is changed to :
name = "cf-workers-status-page"
compatibility_date = "2050-09-14"
account_id = ""
workers_dev = true
main = "./index.js"
[build]
command = "npm run build"
#account_id = ""
#type = "webpack"
#webpack_config = "node_modules/flareact/webpack"
#[triggers]
#crons = ["* * * * *"]
[site]
bucket = "out"
#entry-point = "./"
uncomment and adjust following if you are not using GitHub Actions
#[env.production]
#kv-namespaces = [{binding="KV_STATUS_PAGE", id="xxxx", preview_id=""}]
#zone_id="xxx"
It seems deploy on KV is ok and the worker is created with zero config. I guess the question is inside .toml file
from cf-workers-status-page.
Thanks yall for reporting it. I will take a look and push a wrangler upgrade. Though last time I tried I was not very successful, because flareact did not support w2, but will check again.
from cf-workers-status-page.
any updates on this? I've been having the same error with
import config from '../../config.yaml
from cf-workers-status-page.
Thanks yall for reporting it. I will take a look and push a wrangler upgrade. Though last time I tried I was not very successful, because flareact did not support w2, but will check again.
looks like they've fixed it:
from cf-workers-status-page.
Related Issues (20)
- Discord default icon
- Support status checks of resources secured behind Cloudflare Access
- operational status apart from 200 not working as expected HOT 1
- IMPORTANT: Workers/Pages Status Page v2 HOT 4
- Cloudflare free tier limits issues. HOT 17
- can't find my worker. HOT 2
- is there still a way to deploy this project on cloudflare? HOT 5
- Private URL / IP addresses from Github secrets
- specify request timeout
- Record % uptime
- Always says Project Error
- Not updating? HOT 2
- Deploy button in CloudFlare does not work HOT 6
- Question: How do you stop it? HOT 3
- Unable to disable workers_dev route
- Updating workers
- gcMonitors.js (TypeError)
- -
- Setup SMTP for Incidents HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cf-workers-status-page.