PLATFORM
  • Tails

    Create websites with TailwindCSS

  • Blocks

    Design blocks for your website

  • Wave

    Start building the next great SAAS

  • Pines

    Alpine & Tailwind UI Library

  • Auth

    Plug'n Play Authentication for Laravel

  • Designer comingsoon

    Create website designs with AI

  • DevBlog comingsoon

    Blog platform for developers

  • Static

    Build a simple static website

  • SaaS Adventure

    21-day program to build a SAAS

Question By
Solved

Resolve module specifier console error

Solved
keegenk

Aug 20th, 2023 03:13 PM

I've been trying to solve this console error and can't quite fix it. Any help would be appreciated. I think it's causing my Alpine scripts to not work

Uncaught TypeError: Failed to resolve module specifier "alpinejs". Relative references must start with either "/", "./", or "../".

bobbyiliev

Aug 20th, 2023 11:10 PM

Best Answer

Hi there!

Are you using Wave and if so which theme are you using?

If you are using Wave, you might need to cd into the theme's directory and run npm install and then npm run production in order to install the static assets.

If you are not using Wave, can you share your code snippet here that is causing the issue?

Best,

Bobby

keegenk

Aug 21st, 2023 06:37 PM

It is wave. That worked! Thanks

bobbyiliev

Aug 22nd, 2023 01:12 AM

Hey! No worries! Happy to hear that it's working!