Giter Site home page Giter Site logo

Comments (7)

osseonews avatar osseonews commented on July 30, 2024 2

OK, I got it working now locally after cloning it again. But the server.ts still has an error: ```
app.get("/public/*", async (ctx) => {
return await ctx.env.ASSETS.fetch(ctx.req.raw);

Error is that Fetch does not exist on type string.

from sonicjs.

lane711 avatar lane711 commented on July 30, 2024

Are you able to access http://0.0.0.0:8788/status when running locally? If so, what is the output?

Did you create your app with npx create-sonicjs-app ?

from sonicjs.

osseonews avatar osseonews commented on July 30, 2024

No, we couldn't use npx create-sonicjs-app. Just kept throwing errors. Honestly, I think the idea with this repo is brilliant here and is exactly what I envisioned as the best type of CRM infrastructure that can scale, and is not expensive. I just really could just not get it set up as a package. Just didn't work at all. So I've had to just go folder by folder and try to get stuff working. I've used Workers for a few years, so quite familiar with the platform.

from sonicjs.

lane711 avatar lane711 commented on July 30, 2024

Sorry to hear that. If the npx script isn't working for you, you should be able to:

  1. Clone the repo
  2. npm install
  3. rename /wrangler.example.toml to /wrangler.toml
  4. fill in the values of wrangler.toml per the instructions included in the same file as comments.
  5. npm run dev

Please post any errors that you are getting with this process. I'd like to get them fixed.

Please also share OS, node version, etc so that I can attempt to replicate.

from sonicjs.

lane711 avatar lane711 commented on July 30, 2024

Here is what your status page should look like. Note that ASSETS are included in the env from Hono js.

Screenshot 2023-11-08 at 7 17 16 AM

from sonicjs.

osseonews avatar osseonews commented on July 30, 2024

I'll try to do everything again. But, also, I still get this error, raised by someone else in another issue: "Error [ERR_UNKNOWN_BUILTIN_MODULE]: No such built-in module: node:readline/promises"

from sonicjs.

lane711 avatar lane711 commented on July 30, 2024

What OS & node version on you using?

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.