-
Notifications
You must be signed in to change notification settings - Fork 5
fix(netlify): get interaction testing working in netlfiy #32
Conversation
virtuoushub
commented
Apr 19, 2022
``` act(...) is not supported in production builds of React. ```
❌ Deploy Preview for redwoodjs-example-storybook failed.
|
``` 8:51:29 AM: Error message 8:51:29 AM: Deploy did not succeed: Deploy directory 'web/dist' does not exist ``` https://app.netlify.com/sites/redwoodjs-example-storybook/deploys/625eaf738961de0008b38d9a
wat? > By default, Netlify’s buildbot sets NODE_ENV to development. https://docs.netlify.com/configure-builds/manage-dependencies/#node-js-environment
? ``` 4:19:36 PM: /opt/build/repo/node_modules/fs-extra/lib/util/stat.js:42 4:19:36 PM: return cb(new Error(errMsg(src, dest, funcName))) 4:19:36 PM: Creating deploy upload records 4:19:36 PM: ^ 4:19:36 PM: Error: Cannot copy '/opt/build/repo/web/public' to a subdirectory of itself, '/opt/build/repo/web/public/storybook/'. 4:19:36 PM: at /opt/build/repo/node_modules/fs-extra/lib/util/stat.js:42:17 4:19:36 PM: at processTicksAndRejections (node:internal/process/task_queues:83:21) 4:19:36 PM: 4:19:36 PM: (build.command completed in 13.8s) ```
This reverts commit 393aebb.
This reverts commit 5e4c725.
This reverts commit 4723db9.
this started working for whatever reason... |
Seems like prod Storybook builds are still not working as expected. See this message specifically
Will most likely want to add this to redwoodjs/redwood#5269 |