Giter Site home page Giter Site logo

Installation Error about sonicjs HOT 8 OPEN

dm1001 avatar dm1001 commented on September 6, 2024
Installation Error

from sonicjs.

Comments (8)

dm1001 avatar dm1001 commented on September 6, 2024

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.

lane711 avatar lane711 commented on September 6, 2024

Hi, did you create your app via the npx create-sonicjs-app command or from cloning the repo?

from sonicjs.

dm1001 avatar dm1001 commented on September 6, 2024

I used npx create-sonicjs-app

from sonicjs.

lane711 avatar lane711 commented on September 6, 2024

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.

dm1001 avatar dm1001 commented on September 6, 2024

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.

dm1001 avatar dm1001 commented on September 6, 2024

Same problem when using the manual installation approach

from sonicjs.

lane711 avatar lane711 commented on September 6, 2024

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.

dm1001 avatar dm1001 commented on September 6, 2024

That appears to work fine, see screenshot
image
image

Let me know if there is anything else I can try here. Thanks for your help.

from sonicjs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.