primatejs / primate

Web framework focused on flexibility and developer freedom
https://primatejs.com
MIT License
211 stars 9 forks source link

error with store #21

Closed ralyodio closed 1 year ago

ralyodio commented 1 year ago
$ npm run dev                                                         

> @primate/app@0.19.4 dev
> npx primate

!! primate error in config ENOENT: no such file or directory, open '/home/ettinger/src/linkroost.com/linkroot-web/node_modules/@primate/store/src/errors.json' 
++ check errors in config file by running node /home/ettinger/src/linkroost.com/linkroot-web/primate.config.js
   -> https://primatejs.com/reference/errors/primate#error-in-config-file 
~~ bye
terrablue commented 1 year ago

Should be solved in 0.20, could you confirm?

ralyodio commented 1 year ago

Now i get this error:

$ npm run dev

> @primate/app@0.19.4 dev
> npx primate

!! primate error in config file :: Cannot find package '@primate/guard' imported from /home/ettinger/src/linkroost.com/linkroot-web/primate.config.js 
++ check errors in config file by running node /home/ettinger/src/linkroost.com/linkroot-web/primate.config.js
   -> https://primatejs.com/reference/errors/primate#error-in-config-file 
~~ bye
➜  linkroot-web git:(main) 
$ npm i -S @primate/guard    
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: @primate/app@0.19.4
npm ERR! Found: primate@0.20.1
npm ERR! node_modules/primate
npm ERR!   primate@"^0.20.1" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer primate@"0.19" from @primate/guard@0.2.1
npm ERR! node_modules/@primate/guard
npm ERR!   @primate/guard@"*" 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! 
npm ERR! For a full report see:
npm ERR! /home/ettinger/.npm/_logs/2023-06-13T00_52_09_623Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/ettinger/.npm/_logs/2023-06-13T00_52_09_623Z-debug-0.log
terrablue commented 1 year ago

Run git pull on the primate/app repo, @primate/guard has been dropped in 0.20 and is now part of core.