Skip to content

Instantly share code, notes, and snippets.

@airhorns
Created October 24, 2020 20:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save airhorns/fd2733de578691f0650de0025d967e4a to your computer and use it in GitHub Desktop.
Save airhorns/fd2733de578691f0650de0025d967e4a to your computer and use it in GitHub Desktop.
#21 0.382 yarn run v1.22.5
#21 0.410 $ rm -rf packages/web/dist/* && NODE_ENV=production yarn workspace web webpack
#21 0.862 $ /app/node_modules/.bin/webpack
#21 1.823 (node:52) [DEP_WEBPACK_COMPILATION_NORMAL_MODULE_LOADER_HOOK] DeprecationWarning: Compilation.hooks.normalModuleLoader was moved to NormalModule.getCompilationHooks(compilation).loader
#21 1.823 (Use `node --trace-deprecation ...` to show where the warning was created)
#21 36.85 internal/fs/utils.js:628
#21 36.85 throw err;
#21 36.85 ^
#21 36.85
#21 36.85 TypeError [ERR_INVALID_ARG_VALUE]: The argument 'path' must be a string or Uint8Array without null bytes. Received '/app/node_modules/es5-ext/string/\x00#/contains'
#21 36.85 at Object.readdir (fs.js:996:10)
#21 36.85 at go$readdir (/app/node_modules/graceful-fs/graceful-fs.js:202:23)
#21 36.85 at Object.readdir (/app/node_modules/graceful-fs/graceful-fs.js:184:12)
#21 36.85 at CacheBackend.provide (/app/node_modules/webpack/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:187:18)
#21 36.85 at CaseSensitivePathsPlugin.getFilenamesInDir (/app/node_modules/case-sensitive-paths-webpack-plugin/index.js:58:6)
#21 36.85 at CaseSensitivePathsPlugin.fileExistsWithCase (/app/node_modules/case-sensitive-paths-webpack-plugin/index.js:89:8)
#21 36.85 at checkFile (/app/node_modules/case-sensitive-paths-webpack-plugin/index.js:147:10)
#21 36.85 at /app/node_modules/case-sensitive-paths-webpack-plugin/index.js:169:7
#21 36.85 at CaseSensitivePathsPlugin.primeCache (/app/node_modules/case-sensitive-paths-webpack-plugin/index.js:120:5)
#21 36.85 at onAfterResolve (/app/node_modules/case-sensitive-paths-webpack-plugin/index.js:164:10)
#21 36.85 at Hook.eval [as callAsync] (eval at create (/app/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:7:1)
#21 36.85 at /app/node_modules/webpack/lib/NormalModuleFactory.js:247:30
#21 36.85 at eval (eval at create (/app/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:15:1)
#21 36.85 at /app/node_modules/webpack/lib/NormalModuleFactory.js:481:7
#21 36.85 at /app/node_modules/webpack/lib/NormalModuleFactory.js:116:11
#21 36.85 at /app/node_modules/webpack/lib/NormalModuleFactory.js:513:8
#21 36.85 at NormalModuleFactory.resolveRequestArray (/app/node_modules/webpack/lib/NormalModuleFactory.js:734:34)
#21 36.85 at /app/node_modules/webpack/lib/NormalModuleFactory.js:505:11
#21 36.85 at /app/node_modules/webpack/lib/NormalModuleFactory.js:116:11
#21 36.85 at /app/node_modules/webpack/lib/NormalModuleFactory.js:585:8
#21 36.85 at /app/node_modules/webpack/lib/NormalModuleFactory.js:721:5
#21 36.85 at finishResolved (/app/node_modules/webpack/node_modules/enhanced-resolve/lib/Resolver.js:278:11)
#21 36.85 at /app/node_modules/webpack/node_modules/enhanced-resolve/lib/Resolver.js:342:25
#21 36.85 at /app/node_modules/webpack/node_modules/enhanced-resolve/lib/Resolver.js:409:24
#21 36.85 at eval (eval at create (/app/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:12:1)
#21 36.85 at /app/node_modules/webpack/node_modules/enhanced-resolve/lib/ParsePlugin.js:65:27
#21 36.85 at /app/node_modules/webpack/node_modules/enhanced-resolve/lib/Resolver.js:409:24
#21 36.85 at eval (eval at create (/app/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:27:1)
#21 36.85 at /app/node_modules/webpack/node_modules/enhanced-resolve/lib/DescriptionFilePlugin.js:88:10
#21 36.85 at /app/node_modules/webpack/node_modules/enhanced-resolve/lib/Resolver.js:409:24 ***
#21 36.85 code: 'ERR_INVALID_ARG_VALUE'
#21 36.85 ***
#21 36.92 error Command failed with exit code 1.
#21 36.92 info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
#21 36.94 error Command failed.
#21 36.94 Exit code: 1
#21 36.94 Command: /usr/local/bin/node
#21 36.94 Arguments: /opt/yarn-v1.22.5/lib/cli.js webpack
#21 36.94 Directory: /app/packages/web
#21 36.94 Output:
#21 36.94
#21 36.94 info Visit https://yarnpkg.com/en/docs/cli/workspace for documentation about this command.
#21 36.96 error Command failed with exit code 1.
#21 36.96 info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
exit status 1
@jklimke
Copy link

jklimke commented Jan 28, 2021

did you ever get a solution to that problem ?

@airhorns
Copy link
Author

Sort of -- found the plugin which was causing it for me and they're in the process of fixing it: Urthen/case-sensitive-paths-webpack-plugin#54 , in the meantime, i just removed case-sensitive-paths-webpack-plugin as it isn't strictly necessary

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment