Open Foxxat opened 2 years ago
Reached the same point also - that's a real shame, I really like the look of this project
I did manage to get this to work in the end, but I had to use the previous version of sanctum.
Thanks!! Good to know. Which version of Sanctum???
Hi,
I've tried a few installations of this, however get snagged on a few places. I'm thinking Sanctum 3 has come out since this was created, so I've tried with both 2.x and 3.x, and managed to get to the point of composer install finishing.
However running php artisan acacia:install results in npm problems. I think babel-es2015 has been deprecated, I've tried removing it and I can get past this, however the laravel application fails to load with JS errros.
=== CONSOLE ERRORS ===
---snip---
Running GPanel Migrations
Dropping all tables .................................................................................................................. 3ms DONE
INFO Preparing database.
Creating migration table ........................................................................................................... 170ms DONE
INFO Running migrations.
2022_03_07_134302_create_menus_table ................................................................................................ 27ms DONE 2022_03_07_134350_create_schematics_table ........................................................................................... 31ms DONE 2022_03_07_134359_create_fields_table ............................................................................................... 32ms DONE 2022_03_07_134410_create_relationships_table ........................................................................................ 25ms DONE
24 packages are looking for funding run
npm fund
for details found 0 vulnerabilities npmERR! Missing script: "prod" npm ERR! npm ERR! To see a list of scripts, run: npm
ERR! npm run
npm ERR! A complete log of this run can be found in: npm ERR! /home/sysadmin/.npm/_logs/2022-07-30T10_37_43_099Z-debug-0.log Attempt to install acacia's npm dependencies npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR!
npm ERR! While resolving: @babel/preset-es2015@7.0.0-beta.53 npm ERR! Found: @babel/core@7.17.9 npm ERR! node_modules/@babel/core npm ERR! dev @babel/core@"^7.16.12" from the root project npm ERR! peer @babel/core@"^7.0.0" from @babel/helper-compilation-targets@7.17.7 npm ERR! node_modules/@babel/helper-compilation-targets npm ERR! @babel/helper-compilation-targets@"^7.17.7" from @babel/core@7.17.9 npm ERR! @babel/helper-compilation-targets@"^7.13.0" from @babel/helper-define-polyfill-provider@0.3.1 npm ERR! node_modules/@babel/helper-define-polyfill-provider npm ERR! @babel/helper-define-polyfill-provider@"^0.3.1" from babel-plugin-polyfill-corejs2@0.3.1 npm ERR! node_modules/babel-plugin-polyfill-corejs2 npm ERR! babel-plugin-polyfill-corejs2@"^0.3.0" from @babel/preset-env@7.16.11 npm ERR! node_modules/@babel/preset-env npm ERR! 2 more (babel-plugin-polyfill-corejs3, babel-plugin-polyfill-regenerator) npm ERR! 3 more (@babel/plugin-proposal-object-rest-spread, ...) npm ERR! 71 more (@babel/helper-create-class-features-plugin, ...) npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer @babel/core@">=7.0.0-beta.50 <7.0.0-rc.0" from @babel/preset-es2015@7.0.0-beta.53 npm ERR! node_modules/@babel/preset-es2015 npm ERR! dev @babel/preset-es2015@"^7.0.0-beta.53" from the root project npm ERR! npm ERR! Conflicting peer dependency: @babel/core@7.0.0-beta.56 npm ERR! node_modules/@babel/core npm ERR! peer @babel/core@">=7.0.0-beta.50 <7.0.0-rc.0" from @babel/preset-es2015@7.0.0-beta.53 npm ERR! node_modules/@babel/preset-es2015 npm ERR! dev @babel/preset-es2015@"^7.0.0-beta.53" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force, or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution. npm ERR! npm ERR! See /home/sysadmin/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in: npm ERR! /home/sysadmin/.npm/_logs/2022-07-30T10_37_43_343Z-debug-0.log
NB: To install npm dependencies:
cd acacia/ && npm install
or simply runphp artisan acacia:assets-install
NB: to compile npm assets:cd acacia/ && npm run dev
orcd acacia/ && npm run build
, or run the commandphp artisan acacia:assets-build