Comments (8)
Following is the wrangler log if it helps:
--- 2024-02-07T20:01:55.653Z debug
🪵 Writing logs to "C:\Users\WDAGUtilityAccount\AppData\Roaming\xdg.config.wrangler\logs\wrangler-2024-02-07_20-01-55_466.log"
--- 2024-02-07T20:01:55.653Z debug
Failed to load .env file ".env": Error: ENOENT: no such file or directory, open 'C:\Users\WDAGUtilityAccount\sonicjs.env'
at Object.openSync (node:fs:581:18)
at Object.readFileSync (node:fs:460:35)
at tryLoadDotEnv (C:\Users\WDAGUtilityAccount\sonicjs\node_modules\wrangler\wrangler-dist\cli.js:124241:72)
at loadDotEnv (C:\Users\WDAGUtilityAccount\sonicjs\node_modules\wrangler\wrangler-dist\cli.js:124250:12)
at C:\Users\WDAGUtilityAccount\sonicjs\node_modules\wrangler\wrangler-dist\cli.js:162325:20
at C:\Users\WDAGUtilityAccount\sonicjs\node_modules\wrangler\wrangler-dist\cli.js:131115:16
at maybeAsyncResult (C:\Users\WDAGUtilityAccount\sonicjs\node_modules\wrangler\wrangler-dist\cli.js:129336:44)
at C:\Users\WDAGUtilityAccount\sonicjs\node_modules\wrangler\wrangler-dist\cli.js:131114:14
at C:\Users\WDAGUtilityAccount\sonicjs\node_modules\wrangler\wrangler-dist\cli.js:129323:22
at Array.reduce () {
errno: -4058,
code: 'ENOENT',
syscall: 'open',
path: 'C:\Users\WDAGUtilityAccount\sonicjs\.env'
}
--- 2024-02-07T20:01:56.217Z log
⛅️ wrangler 3.25.0 (update available �[32m3.27.0�[39m)
�[38;2;255;136;0m-------------------------------------------------------�[39m
from sonicjs.
Hi, did you create your app via the npx create-sonicjs-app
command or from cloning the repo?
from sonicjs.
I used npx create-sonicjs-app
from sonicjs.
looks like a wrangler related error - I haven't seen it before. Have you tried googling it? It could be permissions related on your local directory but that's just a guess
from sonicjs.
Yes, found a just few references to it but no solution. I also updated wrangler to latest version but it made no difference. Getting that exact same error every time. I am able to run other wrangler commands no problem like for example wrangler kv:namespace create sonicjs... but no luck with npm run up and npm run dev unfortunately.
from sonicjs.
Same problem when using the manual installation approach
from sonicjs.
are you able to create and run a basic hono app? This is what SonicJs is built on:
npm create hono@latest ./my-app -- --template cloudflare-pages
from sonicjs.
That appears to work fine, see screenshot
Let me know if there is anything else I can try here. Thanks for your help.
from sonicjs.
Related Issues (20)
- Installation Process not clear HOT 2
- Content Editor? HOT 14
- How to Secure Admin endpoint? HOT 1
- Bug in server.ts prevents this from running HOT 7
- Await updateD1Data to avoid race conditions HOT 2
- Installation Error: SonicJs Error: Error: D1_ERROR: no such table: users HOT 4
- Fix Bootstrap.js integration issue, breaking the form.io forms
- Admin UI/UX Auth Enhancements
- Integrate with Webstudio.is POC HOT 2
- Add unit tests to cover lucia (authentication - login/registration/tokens/access controls/etc) HOT 1
- Allow schema files to be edited in the browser
- Update Environment Variables Documentation HOT 1
- Support images transformation HOT 5
- Fast? HOT 6
- Migrate D1 in production adjustment
- Convert tests to vitest
- Add support for Cloudflare images
- Hello World example in routing is broken HOT 1
- categoriesToPost example is broken
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 sonicjs.