# Can't go next step in installation process

**URL:** <https://forum.mautic.org/t/cant-go-next-step-in-installation-process/31823>\
**Category:** Mautic 5 Install/Upgrade Support\
**Created:** [April 24, 2024, 1:03pm UTC](https://forum.mautic.org/t/cant-go-next-step-in-installation-process/31823 "2024-04-24T13:03:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![xabi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/xabi/32/12787_2.png) [@xabi](https://forum.mautic.org/u/xabi)\
**Post date:** [April 24, 2024, 1:03pm UTC](https://forum.mautic.org/t/cant-go-next-step-in-installation-process/31823/1 "2024-04-24T13:03:47Z")

</div>

**Your software**  
My Mautic version is: 5.0.4  
My PHP version is: 8.1.10  
My Database type and version is: mysql Ver 8.0.30 for Win64 on x86\_64 (MySQL Community Server - GPL)

**Your problem**  
My problem is: When run the installer on browser ([https://mautic.test/installer](https://mautic.test/installer)) can’t go to the next step, the button don’t work.

These errors are showing in the log:  
Browser console log:

```auto
Uncaught SyntaxError: Invalid or unexpected token (at libraries.js?v4fd533b2:6295:318)
Uncaught ReferenceError: jQuery is not defined
    at app.js?v4fd533b2:1:30
 Uncaught TypeError: mQuery is not a function
    at Object.showWaitMessage (install.js?v4fd533b2:6:13)
    at HTMLButtonElement.onclick (installer:157:18)

```

When run `composer install` i see this, and i think this is the problem:

```auto
> mautic@0.0.0 postinstall
> node_modules/modernizr/bin/modernizr -c modernizr-config.json -d node_modules/modernizr/modernizr-mautic-dist.js & npm run build

"node_modules" is not recognized as an internal or external command,
program or executable batch file.

```

Steps I have tried to fix the problem:  
I tried tu run `node_modules/modernizr/bin/modernizr -c modernizr-config.json -d node_modules/modernizr/modernizr-mautic-dist.js` and `npm run build` indeppendently but samme problem.

Any ideas to solve the error?

Thanks,

---

<div class="post-metadata">

**Author:** ![xabi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/xabi/32/12787_2.png) [@xabi](https://forum.mautic.org/u/xabi)\
**Post date:** [April 29, 2024, 9:17am UTC](https://forum.mautic.org/t/cant-go-next-step-in-installation-process/31823/2 "2024-04-29T09:17:42Z")

</div>

I solve the problem changing postinstall script in `package.json` . This wokr for me:

```auto
"postinstall": "node node_modules/modernizr/bin/modernizr -c modernizr-config.json -d node_modules/modernizr/modernizr-mautic-dist.js & npm run build"

```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/1X/43c63600fe51440378769136903f1fa2a9a34102.png) [@system](https://forum.mautic.org/u/system)\
**Post date:** [April 30, 2024, 9:18pm UTC](https://forum.mautic.org/t/cant-go-next-step-in-installation-process/31823/3 "2024-04-30T21:18:20Z")

</div>

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.
