Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot get to work #47

Open
Foxxat opened this issue Jul 30, 2022 · 3 comments
Open

Cannot get to work #47

Foxxat opened this issue Jul 30, 2022 · 3 comments

Comments

@Foxxat
Copy link

Foxxat commented Jul 30, 2022

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---

  1. 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
2. Running Initial Modules Seeders
All modules seeded.
Attempt to install the app's npm dependencies
up to date, audited 122 packages in 4s

24 packages are looking for funding
run npm fund for details
found 0 vulnerabilities
npm

ERR! 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/[email protected]
npm
ERR! Found: @babel/[email protected]
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/[email protected]
npm ERR! node_modules/@babel/helper-compilation-targets
npm ERR!
@babel/helper-compilation-targets@"^7.17.7" from @babel/[email protected]
npm ERR!
@babel/helper-compilation-targets@"^7.13.0" from @babel/[email protected]
npm ERR! node_modules/@babel/helper-define-polyfill-provider
npm ERR! @babel/helper-define-polyfill-provider@"^0.3.1" from [email protected]
npm
ERR! node_modules/babel-plugin-polyfill-corejs2
npm ERR! babel-plugin-polyfill-corejs2@"^0.3.0" from @babel/[email protected]
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/[email protected]
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/[email protected]
npm ERR! node_modules/@babel/core
npm ERR! peer @babel/core@">=7.0.0-beta.50 <7.0.0-rc.0" from @babel/[email protected]
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


  • Installation Complete     *
    

NB: To install npm dependencies: cd acacia/ && npm install or simply run php artisan acacia:assets-install
NB: to compile npm assets: cd acacia/ && npm run dev or cd acacia/ && npm run build, or run the command php artisan acacia:assets-build

@nyrsimon
Copy link

Reached the same point also - that's a real shame, I really like the look of this project

@Foxxat
Copy link
Author

Foxxat commented Sep 24, 2022

I did manage to get this to work in the end, but I had to use the previous version of sanctum.

@nyrsimon
Copy link

Thanks!! Good to know. Which version of Sanctum???

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants