Questions tagged [jetstream]

Laravel Jetstream is an application starter kit for Laravel. Jetstream provides the following features for your application:

  • login
  • registration
  • email verification
  • two-factor authentication
  • session management
  • API via Laravel Sanctum

Documentation at jetstream.laravel.com.

480 questions
3
votes
6 answers

Laravel 8 (Inertia js) - Getting Vue error 'app.js:30559 [Vue warn]: Error in created hook: "Error: Cannot find module...'

I have setup a Laravel 8 installation that uses Jetstream (inertia js stack). All Jetstream provided views are working correctly. The issue is when I create a new Route that renders a new Vue template, I get this error in my console: app.js:30559…
JamesP27
  • 123
  • 2
  • 7
2
votes
2 answers

Show div only if user has logged in - Laravel Vue Inertia Jetstream

I've created a webapp using Laravel Jetstream. I'm also using Vue and Inertia. Jetstream is dealing with the backend. A new user will land on Welcome.vue and upon loggin in, he will get to Dashboard.vue. This is my web.php: Route::middleware([ …
Marco Rifo
  • 55
  • 6
2
votes
1 answer

Is it possible to redirect NATs Jetstream message to Elastic search

We use Nats jetstream for message distribution. I want to display messages delivered to Nats in UI. All message have pre defined common structure. Do we have file beat or logstash plugin to read the content (message) of NATS and redirect to ES. Or…
defender
  • 353
  • 2
  • 11
2
votes
2 answers

Where does "has" come from in "this.has" expression?

I was reading Nats-Jetstream documentation that I encountered the following code: var createModel = require('jetstream').model; var Shape = createModel('Shape', function() { this.has('x', Number); this.has('y', Number); …
user20551429
  • 99
  • 1
  • 6
2
votes
0 answers

jetstream css and js not working on my laravel 8, all the page broken

in my laravel 8 project i install jetstream by the following command. composer require laravel/jetstream then i put the following command php artisan jetstream:install livewire then i give the command npm install and npm run dev and run…
2
votes
2 answers

Laravel Jetstream/Sanctum API authentication

I have been working with Laravel since version 5.X up to version 8.X but always use it for backend API (never used blade template), and always pair it with VueJS on the front-end using JWT authentication (also never messed with any other…
SymmetricsWeb
  • 586
  • 6
  • 20
2
votes
0 answers

nats jetstream: continue from last acknowledged message in correct order

What do I have? A producer who publishes a stream like this: - START_JOB 1 - do_task 1_1 - do_task 1_2 [...] - do_task 1_X - END_JOB 1 - START_JOB 2 - do_task 2_1 - do_task 2_2 - END_JOB 2 - START_JOB 3 - do_task 3_1 - do_task 3_2 [...] - do_task…
rmweiss
  • 716
  • 1
  • 6
  • 16
2
votes
0 answers

NATS on K8s expose

I am new to NATS and kubernetics technologies. I watched the full "TechWorld with Nana" kubernetics tutorial on YouTube and was able to create the configurations from the video. I have created a NATS service on a minicube from HELM repository as…
Hristo.L
  • 55
  • 1
  • 10
2
votes
1 answer

How to invoke NATS cli from a docker container running in detached mode

I am new to NATS and decided to start playing with it using docker. After pulling the official NATS image from docker hub (https://hub.docker.com/_/nats) I ran it as a container in detached mode using the following command: docker container run…
2
votes
0 answers

nats helm charts: Dynamic creation of persistent storage not working

When spinning up a cluster using Nats helm charts, I get the following errors at different levels P.S. - I put alot of info below, so TLDR: "Warning FailedScheduling 99s (x4 over 4m4s) default-scheduler 0/1 nodes are available: 1 pod has unbound…
ASG4
  • 169
  • 2
  • 9
2
votes
2 answers

Laravel Jetstream: Critical dependency: Accessing import.meta directly is unsupported (only property access is supported)

I am facing this critical error while installing Laravel Inertia with Jetstream. larevel new projectName --jet Then I get this: WARNING in ./resources/js/app.js 16:65-76 Critical dependency: Accessing import.meta directly is unsupported (only…
2
votes
0 answers

Using Laravel sail share (Expose) with Jetstream + Inertia + Sanctum

I'm running into a problem using sail share with a Laravel 9.x application using Jetstream + Inertia and Sanctum. I'm able to load my login screen at the XXXXXX.laravel-sail.site/login URL. However, I'm not able to actually login to the…
2
votes
1 answer

Nats/Jetstream: naming conventions for commands' subjects

I have been working with Nats/Jestream for a bit now and within a CQRS/Event sourcing project. Recently, it occurred to me that I have not been following any naming conventions for subjects' names that are used for commands (events are pretty much…
panza
  • 1,341
  • 7
  • 38
  • 68
2
votes
1 answer

How do I get a token (bearer) to run queries and where do I store it?

How do I get a token (bearer) to run queries and where do I store it? If I use createToken('token')->plainTextToken, I need to store it somewhere. It is needed to send requests to the API connected as a separate package in the application with its…
vitkuz573
  • 61
  • 1
  • 9
2
votes
1 answer

Tailwindcss file input display issue

I'm running a fresh Laravel project with Jetstream installed. I copied an example file input code snippet from tailwincss examples page and it is not displaying correctly. This is what the example on tailwind page looks like: And this is what it…
Nicolas
  • 1,256
  • 1
  • 10
  • 22