Hi @alvincrespo.
I have run into this issue as well building redwood and then copying into my local app … I have been meaning to ask others (like @peterp) so thanks for raising this up.
I work around it by adding devDependencies to the root rw package.json:
"devDependencies": {
"@redwoodjs/core": "^0.15.3",
"netlify-plugin-prisma-provider": "^0.3.0",
"graphql-scalars": "^1.2.6",
"webpack-retry-chunk-load-plugin": "^1.4.0"
},
In this case I recently had to add both graphql-scalars
and the webpack-retry-chunk-load-plugin
one you saw
then
-
yarn install
and -
yarn rwt copy ../redwood
(or where your rw is)
Make sure you have built your latest redwood before 2.
I tend not to do the rwt build and watch, but build and then copy as I modify rw.
If anything re-installs (like I add a package to the api workspace) or the prisma client rebuilds then I think I have to do the same copy again.