This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
The stores could not be found #8562
Comments
Make sure to run |
Yes, forgot to write that.
|
Is your local bin for |
directus bin is a symlink to the src (api build).. 🤯 This has been working just fine before... |
Was that first npm install in the root from a recent version of node / npm? I know they were having some trouble with the workspaces package resolution, so that might be another culprit 🤔 npm/cli#3637 |
Hm, okay. I'm currently running node 16, I'll give it try to downgrade |
@nickrum any ideas? |
(This is the same problem that lately occurs when running on DigitalOcean App Platform, as mentioned in Discord) |
Very odd.. @danieljwestman could you check if there is a |
✅ /node_modules/vue The app is working for some routes, but not |
@danieljwestman What's the output of |
That's not a good sign... Vue should only be installed inside the root I'm not sure what is causing this, though. When you were trying other npm versions, did you clean the repo beforehand? (Using |
|
I cleaned up with |
Update: if I manually remove the |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Preflight Checklist
Describe the Bug
Building a fresh Directus clone from main repo works as it should. But when starting up some routes fails.
Some of the failing routes are
/users
,/files
and/collections/[collection name]
.The error seems to be that the stores can't be found in the
shared
package.Line 6 in /packages/shared/src/composables/use-system.ts
stores
beeingundefined
.To Reproduce
Download a fresh clone of the main repo.
npm install
npx directus start
(
npm run dev
is still working)What version of Directus are you using?
v.9.0.0-rc.95
What version of Node.js are you using?
16
What database are you using?
PG 13
What browser are you using?
Chrome
What operating system are you using?
macOS
How are you deploying Directus?
running locally / main repo clone
The text was updated successfully, but these errors were encountered: