-----> Build
Running build
> fusion-software@0.1.0 build /tmp/build
> react-scripts build
Creating an optimized production build...
Failed to compile.
./src/components/Clients/WhatWeOffer.js
Cannot find module: 'assets/img/Enterprise.svg'. Make sure this package is installed.
You can install this package by running: npm install assets/img/Enterprise.svg.
Describe the bug
Thanks for the great work! I'm deploying the app to dokku with .env looking like this
.env NODE_PATH=src NPM_CONFIG_PRODUCTION=false
.buildpacks https://github.com/mars/create-react-app-buildpack.git
package.json "scripts": { "dokku": { "predeploy": "", "postdeploy": "" }, "start": "react-scripts start",
error response
Did you try recovering your dependencies?
yeah
Which terms did you search for in User Guide?
absolute import deploy build fail
Environment
it's on digital ocean dokku
Steps to reproduce
explained above
Expected behavior
absolute import works normally
Actual behavior
explained above
Reproducible demo
explained above