Skip to content

Instantly share code, notes, and snippets.

@mickdelaney
Created May 1, 2021 11:19
Show Gist options
  • Save mickdelaney/65cedc2e131a1e45edec18a4fb39c68d to your computer and use it in GitHub Desktop.
Save mickdelaney/65cedc2e131a1e45edec18a4fb39c68d to your computer and use it in GitHub Desktop.
develop/react/react-webpack master ✗ 3h49m ✖ ⚑ ◒
▶ yarn build
yarn run v1.22.10
$ webpack --mode production
assets by status 1.06 MiB [cached] 2 assets
orphan modules 718 KiB [orphan] 133 modules
runtime modules 1.25 KiB 6 modules
modules by path ./node_modules/ 2.51 MiB
javascript modules 2.49 MiB
cacheable modules 2.49 MiB 325 modules
./node_modules/babel-plugin-relay/node_modules/babel-plugin-macros/dist/ sync 160 bytes [built] [code generated]
./node_modules/import-fresh/ sync 160 bytes [built] [code generated]
json modules 18.2 KiB
modules by path ./node_modules/browserify-sign/ 2.23 KiB 2 modules
optional modules 60 bytes [optional]
buffer (ignored) 15 bytes [optional] [built] [code generated]
crypto (ignored) 15 bytes [optional] [built] [code generated]
buffer (ignored) 15 bytes [optional] [built] [code generated]
buffer (ignored) 15 bytes [optional] [built] [code generated]
9 modules
WARNING in ./node_modules/babel-plugin-relay/node_modules/babel-plugin-macros/dist/index.js 78:24-31
Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
@ ./node_modules/babel-plugin-relay/lib/BabelPluginRelay.macro.js 16:15-45
@ ./node_modules/babel-plugin-relay/macro.js 10:0-59
@ ./src/App.tsx 3:0-47 7:23-30
@ ./src/index.tsx 3:0-24 4:21-24
WARNING in ./node_modules/import-fresh/index.js 32:31-48
Critical dependency: the request of a dependency is an expression
@ ./node_modules/babel-plugin-relay/node_modules/cosmiconfig/dist/loaders.js 13:18-41
@ ./node_modules/babel-plugin-relay/node_modules/cosmiconfig/dist/index.js 16:15-35
@ ./node_modules/babel-plugin-relay/node_modules/babel-plugin-macros/dist/index.js 38:2-40
@ ./node_modules/babel-plugin-relay/lib/BabelPluginRelay.macro.js 16:15-45
@ ./node_modules/babel-plugin-relay/macro.js 10:0-59
@ ./src/App.tsx 3:0-47 7:23-30
@ ./src/index.tsx 3:0-24 4:21-24
2 warnings have detailed information that is not shown.
Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it.
ERROR in ./node_modules/import-fresh/node_modules/resolve-from/index.js 3:15-32
Module not found: Error: Can't resolve 'module' in '/Users/mickdelaney/develop/react/react-webpack/node_modules/import-fresh/node_modules/resolve-from'
resolve 'module' in '/Users/mickdelaney/develop/react/react-webpack/node_modules/import-fresh/node_modules/resolve-from'
Parsed request is a module
using description file: /Users/mickdelaney/develop/react/react-webpack/node_modules/import-fresh/node_modules/resolve-from/package.json (relative path: .)
Field 'browser' doesn't contain a valid alias configuration
resolve as module
/Users/mickdelaney/develop/react/react-webpack/node_modules/import-fresh/node_modules/resolve-from/node_modules doesn't exist or is not a directory
/Users/mickdelaney/develop/react/react-webpack/node_modules/import-fresh/node_modules/node_modules doesn't exist or is not a directory
looking for modules in /Users/mickdelaney/develop/react/react-webpack/node_modules/import-fresh/node_modules
single file module
using description file: /Users/mickdelaney/develop/react/react-webpack/node_modules/import-fresh/package.json (relative path: ./node_modules/module)
no extension
Field 'browser' doesn't contain a valid alias configuration
/Users/mickdelaney/develop/react/react-webpack/node_modules/import-fresh/node_modules/module doesn't exist
.tsx
Field 'browser' doesn't contain a valid alias configuration
/Users/mickdelaney/develop/react/react-webpack/node_modules/import-fresh/node_modules/module.tsx doesn't exist
.ts
Field 'browser' doesn't contain a valid alias configuration
/Users/mickdelaney/develop/react/react-webpack/node_modules/import-fresh/node_modules/module.ts doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
/Users/mickdelaney/develop/react/react-webpack/node_modules/import-fresh/node_modules/module.js doesn't exist
/Users/mickdelaney/develop/react/react-webpack/node_modules/import-fresh/node_modules/module doesn't exist
/Users/mickdelaney/develop/react/react-webpack/node_modules/node_modules doesn't exist or is not a directory
looking for modules in /Users/mickdelaney/develop/react/react-webpack/node_modules
single file module
using description file: /Users/mickdelaney/develop/react/react-webpack/package.json (relative path: ./node_modules/module)
no extension
Field 'browser' doesn't contain a valid alias configuration
/Users/mickdelaney/develop/react/react-webpack/node_modules/module doesn't exist
.tsx
Field 'browser' doesn't contain a valid alias configuration
/Users/mickdelaney/develop/react/react-webpack/node_modules/module.tsx doesn't exist
.ts
Field 'browser' doesn't contain a valid alias configuration
/Users/mickdelaney/develop/react/react-webpack/node_modules/module.ts doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
/Users/mickdelaney/develop/react/react-webpack/node_modules/module.js doesn't exist
/Users/mickdelaney/develop/react/react-webpack/node_modules/module doesn't exist
/Users/mickdelaney/develop/react/node_modules doesn't exist or is not a directory
/Users/mickdelaney/develop/node_modules doesn't exist or is not a directory
/Users/mickdelaney/node_modules doesn't exist or is not a directory
/Users/node_modules doesn't exist or is not a directory
/node_modules doesn't exist or is not a directory
@ ./node_modules/import-fresh/index.js 3:20-43
@ ./node_modules/babel-plugin-relay/node_modules/cosmiconfig/dist/loaders.js 13:18-41
@ ./node_modules/babel-plugin-relay/node_modules/cosmiconfig/dist/index.js 16:15-35
@ ./node_modules/babel-plugin-relay/node_modules/babel-plugin-macros/dist/index.js 38:2-40
@ ./node_modules/babel-plugin-relay/lib/BabelPluginRelay.macro.js 16:15-45
@ ./node_modules/babel-plugin-relay/macro.js 10:0-59
@ ./src/App.tsx 3:0-47 7:23-30
@ ./src/index.tsx 3:0-24 4:21-24
ERROR in ./node_modules/yaml/browser/dist/warnings-df54cb69.js 461:19-26
Module not found: Error: Can't resolve 'process/browser' in '/Users/mickdelaney/develop/react/react-webpack/node_modules/yaml/browser/dist'
Did you mean 'browser.js'?
BREAKING CHANGE: The request 'process/browser' failed to resolve only because it was resolved as fully specified
(probably because the origin is a '*.mjs' file or a '*.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.
resolve 'process/browser' in '/Users/mickdelaney/develop/react/react-webpack/node_modules/yaml/browser/dist'
Parsed request is a module
using description file: /Users/mickdelaney/develop/react/react-webpack/node_modules/yaml/browser/dist/package.json (relative path: .)
Field 'browser' doesn't contain a valid alias configuration
resolve as module
/Users/mickdelaney/develop/react/react-webpack/node_modules/yaml/browser/dist/node_modules doesn't exist or is not a directory
/Users/mickdelaney/develop/react/react-webpack/node_modules/yaml/browser/node_modules doesn't exist or is not a directory
/Users/mickdelaney/develop/react/react-webpack/node_modules/yaml/node_modules doesn't exist or is not a directory
/Users/mickdelaney/develop/react/react-webpack/node_modules/node_modules doesn't exist or is not a directory
looking for modules in /Users/mickdelaney/develop/react/react-webpack/node_modules
existing directory /Users/mickdelaney/develop/react/react-webpack/node_modules/process
using description file: /Users/mickdelaney/develop/react/react-webpack/node_modules/process/package.json (relative path: .)
using description file: /Users/mickdelaney/develop/react/react-webpack/node_modules/process/package.json (relative path: ./browser)
Field 'browser' doesn't contain a valid alias configuration
/Users/mickdelaney/develop/react/react-webpack/node_modules/process/browser doesn't exist
/Users/mickdelaney/develop/react/node_modules doesn't exist or is not a directory
/Users/mickdelaney/develop/node_modules doesn't exist or is not a directory
/Users/mickdelaney/node_modules doesn't exist or is not a directory
/Users/node_modules doesn't exist or is not a directory
/node_modules doesn't exist or is not a directory
aliased with mapping 'process': '/Users/mickdelaney/develop/react/react-webpack/node_modules/process/browser.js' to '/Users/mickdelaney/develop/react/react-webpack/node_modules/process/browser.js/browser'
using description file: /Users/mickdelaney/develop/react/react-webpack/node_modules/yaml/browser/dist/package.json (relative path: .)
Field 'browser' doesn't contain a valid alias configuration
root path /Users/mickdelaney/develop/react/react-webpack
using description file: /Users/mickdelaney/develop/react/react-webpack/package.json (relative path: ./Users/mickdelaney/develop/react/react-webpack/node_modules/process/browser.js/browser)
no extension
Field 'browser' doesn't contain a valid alias configuration
/Users/mickdelaney/develop/react/react-webpack/Users/mickdelaney/develop/react/react-webpack/node_modules/process/browser.js/browser doesn't exist
.tsx
Field 'browser' doesn't contain a valid alias configuration
/Users/mickdelaney/develop/react/react-webpack/Users/mickdelaney/develop/react/react-webpack/node_modules/process/browser.js/browser.tsx doesn't exist
.ts
Field 'browser' doesn't contain a valid alias configuration
/Users/mickdelaney/develop/react/react-webpack/Users/mickdelaney/develop/react/react-webpack/node_modules/process/browser.js/browser.ts doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
/Users/mickdelaney/develop/react/react-webpack/Users/mickdelaney/develop/react/react-webpack/node_modules/process/browser.js/browser.js doesn't exist
as directory
/Users/mickdelaney/develop/react/react-webpack/Users/mickdelaney/develop/react/react-webpack/node_modules/process/browser.js/browser doesn't exist
using description file: /Users/mickdelaney/develop/react/react-webpack/node_modules/process/package.json (relative path: ./browser.js/browser)
no extension
Field 'browser' doesn't contain a valid alias configuration
/Users/mickdelaney/develop/react/react-webpack/node_modules/process/browser.js/browser doesn't exist
.tsx
Field 'browser' doesn't contain a valid alias configuration
/Users/mickdelaney/develop/react/react-webpack/node_modules/process/browser.js/browser.tsx doesn't exist
.ts
Field 'browser' doesn't contain a valid alias configuration
/Users/mickdelaney/develop/react/react-webpack/node_modules/process/browser.js/browser.ts doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
/Users/mickdelaney/develop/react/react-webpack/node_modules/process/browser.js/browser.js doesn't exist
as directory
/Users/mickdelaney/develop/react/react-webpack/node_modules/process/browser.js/browser doesn't exist
@ ./node_modules/yaml/browser/dist/index.js 5:0-51 978:11-15
@ ./node_modules/yaml/browser/index.js
@ ./node_modules/babel-plugin-relay/node_modules/cosmiconfig/dist/loaders.js 40:11-26
@ ./node_modules/babel-plugin-relay/node_modules/cosmiconfig/dist/index.js 16:15-35
@ ./node_modules/babel-plugin-relay/node_modules/babel-plugin-macros/dist/index.js 38:2-40
@ ./node_modules/babel-plugin-relay/lib/BabelPluginRelay.macro.js 16:15-45
@ ./node_modules/babel-plugin-relay/macro.js 10:0-59
@ ./src/App.tsx 3:0-47 7:23-30
@ ./src/index.tsx 3:0-24 4:21-24
webpack 5.36.2 compiled with 2 errors and 2 warnings in 13514 ms
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment