Error: Cannot find module 'ssr' Require stack: - /var/runtime/UserFunction.js
Closed this issue · 2 comments
luluxe commented
Hello,
I try to use inertia SSR with sidecar and when i want to show any page i have :
Lambda Execution Exception for Hammerstone\Sidecar\Inertia\SSR: "Error: Cannot find module 'ssr' Require stack: - /var/runtime/UserFunction.js - /var/runtime/Runtime.js - /var/runtime/index.js. [TRACE] Runtime.ImportModuleError: Error: Cannot find module 'ssr' Require stack: - /var/runtime/UserFunction.js".
I read all instructions and now i don't understand this error and what is missing ?
It's my error
https://flareapp.io/share/Lm83LRp5#F12
Lucas.
luluxe commented
I am lost I always have the same error with the demo project I performed these actions
- git clone https://github.com/hammerstonedev/sidecar-inertia-demo.git
- composer installe
- copy .env.example .env
- php artisan key:generate
- Add in .env the access to the database and the configuration of the sidecar
- npm install
- php artisan sidecar:deploy --activate
I forgot something to do ?