This is my first time deploying a react app built with NodeJs, therefore, my netlify log understanding is limited.
I hope this information is enough. I omitted react warnings such as “img elements must have an alt prop, either with meaningful text, or an empty string for decorative images…” or “‘axios’ is defined but never used” in order to fit the log on the post, I think this warnigs have nothing to do with the problem, plus, i also tried configuring the build command in order to exclude any warning trouble.
My netlify site name si: polite-caramel-fb21b5 and i am having troubles while trying to deploy my site: Github repo : GitHub - matiasrocca/TMDB-CLIENT
Deploy log:
10:46:13 AM: Failed to compile.
10:46:13 AM:
10:46:13 AM: Error: ENOENT: no such file or directory, open '/opt/build/repo/node_modules/ansi-html-community/index.js'
10:46:14 AM: LOG from webpack.FileSystemInfo
10:46:14 AM: <w> Managed item /opt/build/repo/node_modules/html-entities isn't a directory or doesn't contain a package.json (see snapshot.managedPaths option)
10:46:14 AM: <w> Managed item /opt/build/repo/node_modules/events isn't a directory or doesn't contain a package.json (see snapshot.managedPaths option)
10:46:14 AM: <w> Managed item /opt/build/repo/node_modules/core-js-pure isn't a directory or doesn't contain a package.json (see snapshot.managedPaths option)
10:46:14 AM: + 19 hidden lines
_____________________________________________________________________________
10:46:14 AM: ERROR in ./node_modules/ansi-html-community/index.js
10:46:14 AM: Module build failed (from ./node_modules/source-map-loader/dist/cjs.js):
10:46:14 AM: Error: ENOENT: no such file or directory, open '/opt/build/repo/node_modules/ansi-html-community/index.js'
10:46:14 AM: ERROR in ./node_modules/core-js-pure/features/global-this.js
10:46:14 AM: Module build failed (from ./node_modules/source-map-loader/dist/cjs.js):
10:46:14 AM: Error: ENOENT: no such file or directory, open '/opt/build/repo/node_modules/core-js-pure/features/global-this.js'
10:46:14 AM: ERROR in ./node_modules/events/events.js
10:46:14 AM: Module build failed (from ./node_modules/source-map-loader/dist/cjs.js):
10:46:14 AM: Error: ENOENT: no such file or directory, open '/opt/build/repo/node_modules/events/events.js'
10:46:14 AM: ERROR in ./node_modules/html-entities/lib/index.js
10:46:14 AM: Module build failed (from ./node_modules/source-map-loader/dist/cjs.js):
10:46:14 AM: Error: ENOENT: no such file or directory, open '/opt/build/repo/node_modules/html-entities/lib/index.js'
10:46:14 AM: ERROR in main
10:46:14 AM: Module not found: Error: Can't resolve '/opt/build/repo/src/index.js' in '/opt/build/repo'
10:46:14 AM: ERROR in Error: Child compilation failed:
10:46:14 AM: Module not found: Error: Can't resolve '/opt/build/repo/public/index.html' in '/opt/build/repo'
ModuleNotFoundError: Module not found: Error: Can't resolve '/opt/build/repo/p ublic/index.html' in '/opt/build/repo'
at /opt/build/repo/node_modules/webpack/lib/Compilation.js:2016:28
10:46:14 AM: at /opt/build/repo/node_modules/webpack/lib/NormalModuleFactory.js:798:13
10:46:14 AM: at eval (eval at create (/opt/build/repo/node_modules/tapable/lib/HookCode Factory.js:33:10), <anonymous>:10:1)
10:46:14 AM: at /opt/build/repo/node_modules/webpack/lib/NormalModuleFactory.js:270:22
10:46:14 AM: at eval (eval at create (/opt/build/repo/node_modules/tapable/lib/HookCode Factory.js:33:10), <anonymous>:9:1)
10:46:14 AM: at /opt/build/repo/node_modules/webpack/lib/NormalModuleFactory.js:434:22
10:46:14 AM: at /opt/build/repo/node_modules/webpack/lib/NormalModuleFactory.js:116:11
10:46:14 AM: at /opt/build/repo/node_modules/webpack/lib/NormalModuleFactory.js:670:25
10:46:14 AM: at /opt/build/repo/node_modules/webpack/lib/NormalModuleFactory.js:855:8
10:46:14 AM: at /opt/build/repo/node_modules/webpack/lib/NormalModuleFactory.js:975:5
10:46:14 AM: - Compilation.js:2016
10:46:14 AM: [repo]/[webpack]/lib/Compilation.js:2016:28
10:46:14 AM: - NormalModuleFactory.js:798
10:46:14 AM: [repo]/[webpack]/lib/NormalModuleFactory.js:798:13
10:46:14 AM: - NormalModuleFactory.js:270
10:46:14 AM: [repo]/[webpack]/lib/NormalModuleFactory.js:270:22
10:46:14 AM: - NormalModuleFactory.js:434
10:46:14 AM: [repo]/[webpack]/lib/NormalModuleFactory.js:434:22
10:46:14 AM: - NormalModuleFactory.js:116
10:46:14 AM: [repo]/[webpack]/lib/NormalModuleFactory.js:116:11
10:46:14 AM: - NormalModuleFactory.js:670
10:46:14 AM: [repo]/[webpack]/lib/NormalModuleFactory.js:670:25
10:46:14 AM: - NormalModuleFactory.js:855
10:46:14 AM: [repo]/[webpack]/lib/NormalModuleFactory.js:855:8
10:46:14 AM: - NormalModuleFactory.js:975
10:46:14 AM: [repo]/[webpack]/lib/NormalModuleFactory.js:975:5
10:46:14 AM: - child-compiler.js:169
10:46:14 AM: [repo]/[html-webpack-plugin]/lib/child-compiler.js:169:18
10:46:14 AM: - Compiler.js:551 finalCallback
10:46:14 AM: [repo]/[webpack]/lib/Compiler.js:551:5
10:46:14 AM: - Compiler.js:577
10:46:14 AM: [repo]/[webpack]/lib/Compiler.js:577:11
10:46:14 AM: - Compiler.js:1196
10:46:14 AM: [repo]/[webpack]/lib/Compiler.js:1196:17
10:46:14 AM: - Hook.js:18 Hook.CALL_ASYNC_DELEGATE [as _callAsync]
10:46:14 AM: [repo]/[tapable]/lib/Hook.js:18:14
10:46:14 AM: - Compiler.js:1192
10:46:14 AM: [repo]/[webpack]/lib/Compiler.js:1192:33
10:46:14 AM: - Compilation.js:2787 finalCallback
10:46:14 AM: [repo]/[webpack]/lib/Compilation.js:2787:11
10:46:14 AM: - Compilation.js:3092
10:46:14 AM: [repo]/[webpack]/lib/Compilation.js:3092:11
10:46:14 AM:
10:46:14 AM: 1 ERROR in child compilations (Use 'stats.children: true' resp. '--stats-children' for more details)
10:46:14 AM: webpack compiled with 7 errors and 1 warning
10:46:16 AM: Failed to compile.
10:46:16 AM:
10:46:16 AM: Error: ENOENT: no such file or directory, open '/opt/build/repo/node_modules/core-js-pure/features/global-this.js'
10:46:16 AM: LOG from webpack.FileSystemInfo
10:46:16 AM: <w> Managed item /opt/build/repo/node_modules/webpack-dev-server isn't a directory or doesn't contain a package.json (see snapshot.managedPaths option)
10:46:16 AM: + 11 hidden lines
_________________________________________________________________________________
10:46:16 AM: ERROR in ./node_modules/core-js-pure/features/global-this.js
10:46:16 AM: Module build failed (from ./node_modules/source-map-loader/dist/cjs.js):
10:46:16 AM: Error: ENOENT: no such file or directory, open '/opt/build/repo/node_modules/core-js-pure/features/global-this.js'
10:46:16 AM: ERROR in ./node_modules/events/events.js
10:46:16 AM: Module build failed (from ./node_modules/source-map-loader/dist/cjs.js):
10:46:16 AM: Error: ENOENT: no such file or directory, open '/opt/build/repo/node_modules/events/events.js'
10:46:16 AM: ERROR in Module not found: Error: Can't resolve '/opt/build/repo/node_modules/webpack-dev-server/client/index.js?protocol=ws%3A&hostname=0.0.0.0&port=3000&pathname=%2Fws&logging=none&reconnect=10' in '/opt/build/repo'
10:46:16 AM: ERROR in main
10:46:16 AM: Module not found: Error: Can't resolve '/opt/build/repo/src/index.js' in '/opt/build/repo'
10:46:16 AM: ERROR in Error: Child compilation failed:
10:46:16 AM: Module not found: Error: Can't resolve '/opt/build/repo/public/index.html' in '/opt/build/repo'
ModuleNotFoundError: Module not found: Error: Can't resolve '/opt/build/repo/p ublic/index.html' in '/opt/build/repo'
at /opt/build/repo/node_modules/webpack/lib/Compilation.js:2016:28
10:46:16 AM: at /opt/build/repo/node_modules/webpack/lib/NormalModuleFactory.js:798:13
10:46:16 AM: at eval (eval at create (/opt/build/repo/node_modules/tapable/lib/HookCode Factory.js:33:10), <anonymous>:10:1)
10:46:16 AM: at /opt/build/repo/node_modules/webpack/lib/NormalModuleFactory.js:270:22
10:46:16 AM: at eval (eval at create (/opt/build/repo/node_modules/tapable/lib/HookCode Factory.js:33:10), <anonymous>:9:1)
10:46:16 AM: at /opt/build/repo/node_modules/webpack/lib/NormalModuleFactory.js:434:22
10:46:16 AM: at /opt/build/repo/node_modules/webpack/lib/NormalModuleFactory.js:116:11
10:46:16 AM: at /opt/build/repo/node_modules/webpack/lib/NormalModuleFactory.js:670:25
10:46:16 AM: at /opt/build/repo/node_modules/webpack/lib/NormalModuleFactory.js:855:8
10:46:16 AM: at /opt/build/repo/node_modules/webpack/lib/NormalModuleFactory.js:975:5
10:46:16 AM: - Compilation.js:2016
10:46:16 AM: [repo]/[webpack]/lib/Compilation.js:2016:28
10:46:16 AM: - NormalModuleFactory.js:798
10:46:16 AM: [repo]/[webpack]/lib/NormalModuleFactory.js:798:13
10:46:16 AM: - NormalModuleFactory.js:270
10:46:16 AM: [repo]/[webpack]/lib/NormalModuleFactory.js:270:22
10:46:16 AM: - NormalModuleFactory.js:434
10:46:16 AM: [repo]/[webpack]/lib/NormalModuleFactory.js:434:22
10:46:16 AM: - NormalModuleFactory.js:116
10:46:16 AM: [repo]/[webpack]/lib/NormalModuleFactory.js:116:11
10:46:16 AM: - NormalModuleFactory.js:670
10:46:16 AM: [repo]/[webpack]/lib/NormalModuleFactory.js:670:25
10:46:16 AM: - NormalModuleFactory.js:855
10:46:16 AM: [repo]/[webpack]/lib/NormalModuleFactory.js:855:8
10:46:16 AM: - NormalModuleFactory.js:975
10:46:16 AM: [repo]/[webpack]/lib/NormalModuleFactory.js:975:5
10:46:16 AM: - child-compiler.js:169
10:46:16 AM: [repo]/[html-webpack-plugin]/lib/child-compiler.js:169:18
10:46:16 AM: - Compiler.js:551 finalCallback
10:46:16 AM: [repo]/[webpack]/lib/Compiler.js:551:5
10:46:16 AM: - Compiler.js:577
10:46:16 AM: [repo]/[webpack]/lib/Compiler.js:577:11
10:46:16 AM: - Compiler.js:1196
10:46:16 AM: [repo]/[webpack]/lib/Compiler.js:1196:17
10:46:16 AM: - Hook.js:18 Hook.CALL_ASYNC_DELEGATE [as _callAsync]
10:46:16 AM: [repo]/[tapable]/lib/Hook.js:18:14
10:46:16 AM: - Compiler.js:1192
10:46:16 AM: [repo]/[webpack]/lib/Compiler.js:1192:33
10:46:16 AM: - Compilation.js:2787 finalCallback
10:46:16 AM: [repo]/[webpack]/lib/Compilation.js:2787:11
10:46:16 AM: - Compilation.js:3092
10:46:16 AM: [repo]/[webpack]/lib/Compilation.js:3092:11
10:46:16 AM:
10:46:16 AM: webpack compiled with 5 errors and 1 warning
10:46:16 AM: Failed to compile.
10:46:16 AM:
10:46:16 AM: Error: ENOENT: no such file or directory, open '/opt/build/repo/node_modules/core-js-pure/features/global-this.js'
10:46:16 AM: LOG from webpack.FileSystemInfo
10:46:16 AM: <w> Managed item /opt/build/repo/node_modules/webpack isn't a directory or doesn't contain a package.json (see snapshot.managedPaths option)
10:46:16 AM: + 11 hidden lines
10:46:16 AM: WARNING in src/App.js
_______________________________________________________________________________
10:46:16 AM: ERROR in ./node_modules/core-js-pure/features/global-this.js
10:46:16 AM: Module build failed (from ./node_modules/source-map-loader/dist/cjs.js):
10:46:16 AM: Error: ENOENT: no such file or directory, open '/opt/build/repo/node_modules/core-js-pure/features/global-this.js'
10:46:16 AM: ERROR in Module not found: Error: Can't resolve '/opt/build/repo/node_modules/webpack-dev-server/client/index.js?protocol=ws%3A&hostname=0.0.0.0&port=3000&pathname=%2Fws&logging=none&reconnect=10' in '/opt/build/repo'
10:46:16 AM: ERROR in Module not found: Error: Can't resolve '/opt/build/repo/node_modules/webpack/hot/dev-server.js' in '/opt/build/repo'
10:46:16 AM: ERROR in main
10:46:16 AM: Module not found: Error: Can't resolve '/opt/build/repo/src/index.js' in '/opt/build/repo'
10:46:16 AM: ERROR in Error: Child compilation failed:
10:46:16 AM: Module not found: Error: Can't resolve '/opt/build/repo/public/index.html' in '/opt/build/repo'
ModuleNotFoundError: Module not found: Error: Can't resolve '/opt/build/repo/p ublic/index.html' in '/opt/build/repo'
at /opt/build/repo/node_modules/webpack/lib/Compilation.js:2016:28
10:46:16 AM: at /opt/build/repo/node_modules/webpack/lib/NormalModuleFactory.js:798:13
10:46:16 AM: at eval (eval at create (/opt/build/repo/node_modules/tapable/lib/HookCode Factory.js:33:10), <anonymous>:10:1)
10:46:16 AM: at /opt/build/repo/node_modules/webpack/lib/NormalModuleFactory.js:270:22
10:46:16 AM: at eval (eval at create (/opt/build/repo/node_modules/tapable/lib/HookCode Factory.js:33:10), <anonymous>:9:1)
10:46:16 AM: at /opt/build/repo/node_modules/webpack/lib/NormalModuleFactory.js:434:22
10:46:16 AM: at /opt/build/repo/node_modules/webpack/lib/NormalModuleFactory.js:116:11
10:46:16 AM: at /opt/build/repo/node_modules/webpack/lib/NormalModuleFactory.js:670:25
10:46:16 AM: at /opt/build/repo/node_modules/webpack/lib/NormalModuleFactory.js:855:8
10:46:16 AM: at /opt/build/repo/node_modules/webpack/lib/NormalModuleFactory.js:975:5
10:46:16 AM: - Compilation.js:2016
10:46:16 AM: [repo]/[webpack]/lib/Compilation.js:2016:28
10:46:16 AM: - NormalModuleFactory.js:798
10:46:16 AM: [repo]/[webpack]/lib/NormalModuleFactory.js:798:13
10:46:16 AM: - NormalModuleFactory.js:270
10:46:16 AM: [repo]/[webpack]/lib/NormalModuleFactory.js:270:22
10:46:16 AM: - NormalModuleFactory.js:434
10:46:16 AM: [repo]/[webpack]/lib/NormalModuleFactory.js:434:22
10:46:16 AM: - NormalModuleFactory.js:116
10:46:16 AM: [repo]/[webpack]/lib/NormalModuleFactory.js:116:11
10:46:16 AM: - NormalModuleFactory.js:670
10:46:16 AM: [repo]/[webpack]/lib/NormalModuleFactory.js:670:25
10:46:16 AM: - NormalModuleFactory.js:855
10:46:16 AM: [repo]/[webpack]/lib/NormalModuleFactory.js:855:8
10:46:16 AM: - NormalModuleFactory.js:975
10:46:16 AM: [repo]/[webpack]/lib/NormalModuleFactory.js:975:5
10:46:16 AM: - child-compiler.js:169
10:46:16 AM: [repo]/[html-webpack-plugin]/lib/child-compiler.js:169:18
10:46:16 AM: - Compiler.js:551 finalCallback
10:46:16 AM: [repo]/[webpack]/lib/Compiler.js:551:5
10:46:16 AM: - Compiler.js:577
10:46:16 AM: [repo]/[webpack]/lib/Compiler.js:577:11
10:46:16 AM: - Compiler.js:1196
10:46:16 AM: [repo]/[webpack]/lib/Compiler.js:1196:17
10:46:16 AM: - Hook.js:18 Hook.CALL_ASYNC_DELEGATE [as _callAsync]
10:46:16 AM: [repo]/[tapable]/lib/Hook.js:18:14
10:46:16 AM: - Compiler.js:1192
10:46:16 AM: [repo]/[webpack]/lib/Compiler.js:1192:33
10:46:16 AM: - Compilation.js:2787 finalCallback
10:46:16 AM: [repo]/[webpack]/lib/Compilation.js:2787:11
10:46:16 AM: - Compilation.js:3092
10:46:16 AM: [repo]/[webpack]/lib/Compilation.js:3092:11
10:46:16 AM:
10:46:16 AM: webpack compiled with 5 errors and 1 warning
10:46:17 AM: Failed to compile.
10:46:17 AM:
10:46:17 AM: Module not found: Error: Can't resolve '/opt/build/repo/node_modules/@pmmmwh/react-refresh-webpack-plugin/client/ReactRefreshEntry.js' in '/opt/build/repo'
__________________________________________________________________________________-
10:46:17 AM: ERROR in Module not found: Error: Can't resolve '/opt/build/repo/node_modules/@pmmmwh/react-refresh-webpack-plugin/client/ReactRefreshEntry.js' in '/opt/build/repo'
10:46:17 AM: ERROR in Module not found: Error: Can't resolve '/opt/build/repo/node_modules/webpack-dev-server/client/index.js?protocol=ws%3A&hostname=0.0.0.0&port=3000&pathname=%2Fws&logging=none&reconnect=10' in '/opt/build/repo'
10:46:17 AM: ERROR in Module not found: Error: Can't resolve '/opt/build/repo/node_modules/webpack/hot/dev-server.js' in '/opt/build/repo'
10:46:17 AM: ERROR in main
10:46:17 AM: Module not found: Error: Can't resolve '/opt/build/repo/src/index.js' in '/opt/build/repo'
10:46:17 AM: ERROR in Error: Child compilation failed:
10:46:17 AM: Module not found: Error: Can't resolve '/opt/build/repo/node_modules/html-webp ack-plugin/lib/loader.js' in '/opt/build/repo'
ModuleNotFoundError: Module not found: Error: Can't resolve '/opt/build/repo/n ode_modules/html-webpack-plugin/lib/loader.js' in '/opt/build/repo'
at /opt/build/repo/node_modules/webpack/lib/Compilation.js:2016:28
10:46:17 AM: at /opt/build/repo/node_modules/webpack/lib/NormalModuleFactory.js:798:13
10:46:17 AM: at eval (eval at create (/opt/build/repo/node_modules/tapable/lib/HookCode Factory.js:33:10), <anonymous>:10:1)
10:46:17 AM: at /opt/build/repo/node_modules/webpack/lib/NormalModuleFactory.js:270:22
10:46:17 AM: at eval (eval at create (/opt/build/repo/node_modules/tapable/lib/HookCode Factory.js:33:10), <anonymous>:9:1)
10:46:17 AM: at /opt/build/repo/node_modules/webpack/lib/NormalModuleFactory.js:434:22
10:46:17 AM: at /opt/build/repo/node_modules/webpack/lib/NormalModuleFactory.js:120:11
10:46:17 AM: at /opt/build/repo/node_modules/webpack/lib/NormalModuleFactory.js:635:23
10:46:17 AM: at /opt/build/repo/node_modules/neo-async/async.js:2830:7
10:46:17 AM: at done (/opt/build/repo/node_modules/neo-async/async.js:2925:13)
10:46:17 AM: - Compilation.js:2016
10:46:17 AM: [repo]/[webpack]/lib/Compilation.js:2016:28
10:46:17 AM: - NormalModuleFactory.js:798
10:46:17 AM: [repo]/[webpack]/lib/NormalModuleFactory.js:798:13
10:46:17 AM: - NormalModuleFactory.js:270
10:46:17 AM: [repo]/[webpack]/lib/NormalModuleFactory.js:270:22
10:46:17 AM: - NormalModuleFactory.js:434
10:46:17 AM: [repo]/[webpack]/lib/NormalModuleFactory.js:434:22
10:46:17 AM: - NormalModuleFactory.js:120
10:46:17 AM: [repo]/[webpack]/lib/NormalModuleFactory.js:120:11
10:46:17 AM: - NormalModuleFactory.js:635
10:46:17 AM: [repo]/[webpack]/lib/NormalModuleFactory.js:635:23
10:46:17 AM: - async.js:2830
10:46:17 AM: [repo]/[neo-async]/async.js:2830:7
10:46:17 AM: - async.js:2925 done
10:46:17 AM: [repo]/[neo-async]/async.js:2925:13
10:46:17 AM: - child-compiler.js:169
10:46:17 AM: [repo]/[html-webpack-plugin]/lib/child-compiler.js:169:18
10:46:17 AM: - Compiler.js:551 finalCallback
10:46:17 AM: [repo]/[webpack]/lib/Compiler.js:551:5
10:46:17 AM: - Compiler.js:577
10:46:17 AM: [repo]/[webpack]/lib/Compiler.js:577:11
10:46:17 AM: - Compiler.js:1196
10:46:17 AM: [repo]/[webpack]/lib/Compiler.js:1196:17
10:46:17 AM: - Hook.js:18 Hook.CALL_ASYNC_DELEGATE [as _callAsync]
10:46:17 AM: [repo]/[tapable]/lib/Hook.js:18:14
10:46:17 AM: - Compiler.js:1192
10:46:17 AM: [repo]/[webpack]/lib/Compiler.js:1192:33
10:46:17 AM: - Compilation.js:2787 finalCallback
10:46:17 AM: [repo]/[webpack]/lib/Compilation.js:2787:11
10:46:17 AM: - Compilation.js:3092
10:46:17 AM: [repo]/[webpack]/lib/Compilation.js:3092:11
10:46:17 AM:
10:46:17 AM: 1 ERROR in child compilations (Use 'stats.children: true' resp. '--stats-children' for more details)
10:46:17 AM: webpack compiled with 6 errors and 1 warning
10:47:17 AM: /opt/build/repo/node_modules/react-scripts/scripts/start.js:19
10:47:17 AM: throw err;
10:47:17 AM: ^
10:47:17 AM: [Error: ENOENT: no such file or directory, stat '/opt/build/repo/node_modules/.cache/default-development/0.pack'] {
10:47:17 AM: errno: -2,
10:47:17 AM: code: 'ENOENT',
10:47:17 AM: syscall: 'stat',
10:47:17 AM: path: '/opt/build/repo/node_modules/.cache/default-development/0.pack'
10:47:17 AM: }
10:47:17 AM: Execution timed out after 37m1.052861916s
10:47:17 AM: Error running command: Command did not finish within the time limit
10:47:17 AM: Failing build: Failed to build site
10:47:17 AM: Failed during stage 'building site': Command did not finish within the time limit
10:47:18 AM: Finished processing build request in 37m3.962040483s