I have a sage 10 setup working perfectly in ubuntu, I’m trying to make a clone of the same working setup in mac but getting the BudError when runs yarn build
or yarn dev
:
@roots/bud-framework tried to access undefined, but it isn’t declared in its dependencies; this makes the require call ambiguous and
unsound
Also, I saw there are two files auto generating: .pnp.cjs
and .pnp.loader.mjs
and there is no node_modules folder ever after running yarn install
Can anyone suggest the possible solution to encounter this issue?
Using
Sage: 10.7.0
DevDependencies and versions:
{
“@roots/bud”: “^6.23.1”,
“@roots/bud-babel”: “6.20.0”,
“@roots/bud-framework”: “^6.23.1”,
“@roots/bud-react”: “6.20.0”,
“@roots/bud-tailwindcss”: “6.20.0”,
“@roots/sage”: “6.20.0”
},