Skip to content

Instantly share code, notes, and snippets.

@dman777
Created July 16, 2023 18:41
Show Gist options
  • Save dman777/45258858356ee5b3e44ca2cabbcc546e to your computer and use it in GitHub Desktop.
Save dman777/45258858356ee5b3e44ca2cabbcc546e to your computer and use it in GitHub Desktop.
one@localhost ~/material-web
% npm run storybook
> @material/[email protected] storybook
> storybook dev -p 6006
@storybook/cli v7.0.27
info => Starting manager..
info Addon-docs: using MDX2
info => Using implicit CSS loaders
info => Using default Webpack5 setup
<i> [webpack-dev-middleware] wait until bundle finished
23% building 0/2 entries 23/46 dependencies 4/16 modulesWARN 🚨 Unable to index ./button/demo/stories.ts:
WARN NoMetaError: CSF: missing default export /home/one/material-web/button/demo/stories.ts (line 1, col 0)
WARN
WARN More info: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
WARN at CsfFile.parse (/home/one/material-web/node_modules/@storybook/csf-tools/dist/index.js:14:206)
WARN at Object.indexer (/home/one/material-web/node_modules/@storybook/core-server/dist/presets/common-preset.js:8:2034)
WARN at async StoryIndexGenerator.extractStories (/home/one/material-web/node_modules/@storybook/core-server/dist/index.js:23:3546)
WARN at async /home/one/material-web/node_modules/@storybook/core-server/dist/index.js:23:1881
WARN at async Promise.all (index 0)
WARN at async Promise.all (index 2)
WARN at async StoryIndexGenerator.updateExtracted (/home/one/material-web/node_modules/@storybook/core-server/dist/index.js:23:1653)
WARN at async StoryIndexGenerator.ensureExtracted (/home/one/material-web/node_modules/@storybook/core-server/dist/index.js:23:2274)
WARN at async StoryIndexGenerator.initialize (/home/one/material-web/node_modules/@storybook/core-server/dist/index.js:23:1580)
99% end closing watch compilationWARN Force closed preview build
ModuleNotFoundError: Module not found: Error: Can't resolve '@material/web/icon/icon.js' in '/home/one/material-web/button/demo'
at /home/one/material-web/node_modules/webpack/lib/Compilation.js:1512:33
at /home/one/material-web/node_modules/webpack/lib/NormalModuleFactory.js:656:18
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:10:1)
at /home/one/material-web/node_modules/webpack/lib/NormalModuleFactory.js:202:20
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:9:1)
at /home/one/material-web/node_modules/webpack/lib/NormalModuleFactory.js:335:20
at /home/one/material-web/node_modules/webpack/lib/NormalModuleFactory.js:62:14
at /home/one/material-web/node_modules/webpack/lib/NormalModuleFactory.js:541:26
at /home/one/material-web/node_modules/webpack/lib/NormalModuleFactory.js:720:15
at /home/one/material-web/node_modules/webpack/lib/NormalModuleFactory.js:826:9
at /home/one/material-web/node_modules/neo-async/async.js:3009:13
at /home/one/material-web/node_modules/webpack/lib/NormalModuleFactory.js:810:24
at finishWithoutResolve (/home/one/material-web/node_modules/enhanced-resolve/lib/Resolver.js:192:14)
at /home/one/material-web/node_modules/enhanced-resolve/lib/Resolver.js:278:22
at /home/one/material-web/node_modules/enhanced-resolve/lib/Resolver.js:329:9
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:16:1)
at /home/one/material-web/node_modules/enhanced-resolve/lib/Resolver.js:329:9
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:27:1)
at /home/one/material-web/node_modules/enhanced-resolve/lib/DescriptionFilePlugin.js:72:26
at /home/one/material-web/node_modules/enhanced-resolve/lib/Resolver.js:329:9
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:16:1)
at /home/one/material-web/node_modules/enhanced-resolve/lib/forEachBail.js:13:18
at /home/one/material-web/node_modules/enhanced-resolve/lib/AliasPlugin.js:100:18
at next (/home/one/material-web/node_modules/enhanced-resolve/lib/forEachBail.js:9:5)
at forEachBail (/home/one/material-web/node_modules/enhanced-resolve/lib/forEachBail.js:26:10)
at /home/one/material-web/node_modules/enhanced-resolve/lib/AliasPlugin.js:39:7
at _next0 (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:8:1)
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:30:1)
at /home/one/material-web/node_modules/enhanced-resolve/lib/Resolver.js:329:9
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:16:1)
at /home/one/material-web/node_modules/enhanced-resolve/lib/Resolver.js:329:9
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:16:1)
at /home/one/material-web/node_modules/enhanced-resolve/lib/Resolver.js:329:9
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:27:1)
at /home/one/material-web/node_modules/enhanced-resolve/lib/DescriptionFilePlugin.js:72:26
at /home/one/material-web/node_modules/enhanced-resolve/lib/Resolver.js:329:9
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:16:1)
at /home/one/material-web/node_modules/enhanced-resolve/lib/Resolver.js:329:9
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:15:1)
at /home/one/material-web/node_modules/enhanced-resolve/lib/DirectoryExistsPlugin.js:31:20
at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
resolve '@material/web/icon/icon.js' in '/home/one/material-web/button/demo'
Parsed request is a module
using description file: /home/one/material-web/package.json (relative path: ./button/demo)
Field 'browser' doesn't contain a valid alias configuration
resolve as module
/home/one/material-web/button/demo/node_modules doesn't exist or is not a directory
/home/one/material-web/button/node_modules doesn't exist or is not a directory
looking for modules in /home/one/material-web/node_modules
existing directory /home/one/material-web/node_modules/@material/web
using description file: /home/one/material-web/node_modules/@material/web/package.json (relative path: .)
using description file: /home/one/material-web/node_modules/@material/web/package.json (relative path: ./icon/icon.js)
no extension
Field 'browser' doesn't contain a valid alias configuration
/home/one/material-web/node_modules/@material/web/icon/icon.js doesn't exist
.mjs
Field 'browser' doesn't contain a valid alias configuration
/home/one/material-web/node_modules/@material/web/icon/icon.js.mjs doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
/home/one/material-web/node_modules/@material/web/icon/icon.js.js doesn't exist
.jsx
Field 'browser' doesn't contain a valid alias configuration
/home/one/material-web/node_modules/@material/web/icon/icon.js.jsx doesn't exist
.ts
Field 'browser' doesn't contain a valid alias configuration
/home/one/material-web/node_modules/@material/web/icon/icon.js.ts doesn't exist
.tsx
Field 'browser' doesn't contain a valid alias configuration
/home/one/material-web/node_modules/@material/web/icon/icon.js.tsx doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
/home/one/material-web/node_modules/@material/web/icon/icon.js.json doesn't exist
.cjs
Field 'browser' doesn't contain a valid alias configuration
/home/one/material-web/node_modules/@material/web/icon/icon.js.cjs doesn't exist
as directory
/home/one/material-web/node_modules/@material/web/icon/icon.js doesn't exist
/home/one/node_modules doesn't exist or is not a directory
/home/node_modules doesn't exist or is not a directory
/node_modules doesn't exist or is not a directory
ModuleNotFoundError: Module not found: Error: Can't resolve '@material/web/button/elevated-button.js' in '/home/one/material-web/button/demo'
at /home/one/material-web/node_modules/webpack/lib/Compilation.js:1512:33
at /home/one/material-web/node_modules/webpack/lib/NormalModuleFactory.js:656:18
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:10:1)
at /home/one/material-web/node_modules/webpack/lib/NormalModuleFactory.js:202:20
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:9:1)
at /home/one/material-web/node_modules/webpack/lib/NormalModuleFactory.js:335:20
at /home/one/material-web/node_modules/webpack/lib/NormalModuleFactory.js:62:14
at /home/one/material-web/node_modules/webpack/lib/NormalModuleFactory.js:541:26
at /home/one/material-web/node_modules/webpack/lib/NormalModuleFactory.js:720:15
at /home/one/material-web/node_modules/webpack/lib/NormalModuleFactory.js:826:9
at /home/one/material-web/node_modules/neo-async/async.js:3009:13
at /home/one/material-web/node_modules/webpack/lib/NormalModuleFactory.js:810:24
at finishWithoutResolve (/home/one/material-web/node_modules/enhanced-resolve/lib/Resolver.js:192:14)
at /home/one/material-web/node_modules/enhanced-resolve/lib/Resolver.js:278:22
at /home/one/material-web/node_modules/enhanced-resolve/lib/Resolver.js:329:9
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:16:1)
at /home/one/material-web/node_modules/enhanced-resolve/lib/Resolver.js:329:9
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:27:1)
at /home/one/material-web/node_modules/enhanced-resolve/lib/DescriptionFilePlugin.js:72:26
at /home/one/material-web/node_modules/enhanced-resolve/lib/Resolver.js:329:9
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:16:1)
at /home/one/material-web/node_modules/enhanced-resolve/lib/forEachBail.js:13:18
at /home/one/material-web/node_modules/enhanced-resolve/lib/AliasPlugin.js:100:18
at next (/home/one/material-web/node_modules/enhanced-resolve/lib/forEachBail.js:9:5)
at forEachBail (/home/one/material-web/node_modules/enhanced-resolve/lib/forEachBail.js:26:10)
at /home/one/material-web/node_modules/enhanced-resolve/lib/AliasPlugin.js:39:7
at _next0 (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:8:1)
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:30:1)
at /home/one/material-web/node_modules/enhanced-resolve/lib/Resolver.js:329:9
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:16:1)
at /home/one/material-web/node_modules/enhanced-resolve/lib/Resolver.js:329:9
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:16:1)
at /home/one/material-web/node_modules/enhanced-resolve/lib/Resolver.js:329:9
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:27:1)
at /home/one/material-web/node_modules/enhanced-resolve/lib/DescriptionFilePlugin.js:72:26
at /home/one/material-web/node_modules/enhanced-resolve/lib/Resolver.js:329:9
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:16:1)
at /home/one/material-web/node_modules/enhanced-resolve/lib/Resolver.js:329:9
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:15:1)
at /home/one/material-web/node_modules/enhanced-resolve/lib/DirectoryExistsPlugin.js:31:20
at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
resolve '@material/web/button/elevated-button.js' in '/home/one/material-web/button/demo'
Parsed request is a module
using description file: /home/one/material-web/package.json (relative path: ./button/demo)
Field 'browser' doesn't contain a valid alias configuration
resolve as module
/home/one/material-web/button/demo/node_modules doesn't exist or is not a directory
/home/one/material-web/button/node_modules doesn't exist or is not a directory
looking for modules in /home/one/material-web/node_modules
existing directory /home/one/material-web/node_modules/@material/web
using description file: /home/one/material-web/node_modules/@material/web/package.json (relative path: .)
using description file: /home/one/material-web/node_modules/@material/web/package.json (relative path: ./button/elevated-button.js)
no extension
Field 'browser' doesn't contain a valid alias configuration
/home/one/material-web/node_modules/@material/web/button/elevated-button.js doesn't exist
.mjs
Field 'browser' doesn't contain a valid alias configuration
/home/one/material-web/node_modules/@material/web/button/elevated-button.js.mjs doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
/home/one/material-web/node_modules/@material/web/button/elevated-button.js.js doesn't exist
.jsx
Field 'browser' doesn't contain a valid alias configuration
/home/one/material-web/node_modules/@material/web/button/elevated-button.js.jsx doesn't exist
.ts
Field 'browser' doesn't contain a valid alias configuration
/home/one/material-web/node_modules/@material/web/button/elevated-button.js.ts doesn't exist
.tsx
Field 'browser' doesn't contain a valid alias configuration
/home/one/material-web/node_modules/@material/web/button/elevated-button.js.tsx doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
/home/one/material-web/node_modules/@material/web/button/elevated-button.js.json doesn't exist
.cjs
Field 'browser' doesn't contain a valid alias configuration
/home/one/material-web/node_modules/@material/web/button/elevated-button.js.cjs doesn't exist
as directory
/home/one/material-web/node_modules/@material/web/button/elevated-button.js doesn't exist
/home/one/node_modules doesn't exist or is not a directory
/home/node_modules doesn't exist or is not a directory
/node_modules doesn't exist or is not a directory
ModuleNotFoundError: Module not found: Error: Can't resolve '@material/web/button/filled-button.js' in '/home/one/material-web/button/demo'
at /home/one/material-web/node_modules/webpack/lib/Compilation.js:1512:33
at /home/one/material-web/node_modules/webpack/lib/NormalModuleFactory.js:656:18
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:10:1)
at /home/one/material-web/node_modules/webpack/lib/NormalModuleFactory.js:202:20
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:9:1)
at /home/one/material-web/node_modules/webpack/lib/NormalModuleFactory.js:335:20
at /home/one/material-web/node_modules/webpack/lib/NormalModuleFactory.js:62:14
at /home/one/material-web/node_modules/webpack/lib/NormalModuleFactory.js:541:26
at /home/one/material-web/node_modules/webpack/lib/NormalModuleFactory.js:720:15
at /home/one/material-web/node_modules/webpack/lib/NormalModuleFactory.js:826:9
at /home/one/material-web/node_modules/neo-async/async.js:3009:13
at /home/one/material-web/node_modules/webpack/lib/NormalModuleFactory.js:810:24
at finishWithoutResolve (/home/one/material-web/node_modules/enhanced-resolve/lib/Resolver.js:192:14)
at /home/one/material-web/node_modules/enhanced-resolve/lib/Resolver.js:278:22
at /home/one/material-web/node_modules/enhanced-resolve/lib/Resolver.js:329:9
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:16:1)
at /home/one/material-web/node_modules/enhanced-resolve/lib/Resolver.js:329:9
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:27:1)
at /home/one/material-web/node_modules/enhanced-resolve/lib/DescriptionFilePlugin.js:72:26
at /home/one/material-web/node_modules/enhanced-resolve/lib/Resolver.js:329:9
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:16:1)
at /home/one/material-web/node_modules/enhanced-resolve/lib/forEachBail.js:13:18
at /home/one/material-web/node_modules/enhanced-resolve/lib/AliasPlugin.js:100:18
at next (/home/one/material-web/node_modules/enhanced-resolve/lib/forEachBail.js:9:5)
at forEachBail (/home/one/material-web/node_modules/enhanced-resolve/lib/forEachBail.js:26:10)
at /home/one/material-web/node_modules/enhanced-resolve/lib/AliasPlugin.js:39:7
at _next0 (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:8:1)
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:30:1)
at /home/one/material-web/node_modules/enhanced-resolve/lib/Resolver.js:329:9
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:16:1)
at /home/one/material-web/node_modules/enhanced-resolve/lib/Resolver.js:329:9
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:16:1)
at /home/one/material-web/node_modules/enhanced-resolve/lib/Resolver.js:329:9
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:27:1)
at /home/one/material-web/node_modules/enhanced-resolve/lib/DescriptionFilePlugin.js:72:26
at /home/one/material-web/node_modules/enhanced-resolve/lib/Resolver.js:329:9
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:16:1)
at /home/one/material-web/node_modules/enhanced-resolve/lib/Resolver.js:329:9
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:15:1)
at /home/one/material-web/node_modules/enhanced-resolve/lib/DirectoryExistsPlugin.js:31:20
at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
resolve '@material/web/button/filled-button.js' in '/home/one/material-web/button/demo'
Parsed request is a module
using description file: /home/one/material-web/package.json (relative path: ./button/demo)
Field 'browser' doesn't contain a valid alias configuration
resolve as module
/home/one/material-web/button/demo/node_modules doesn't exist or is not a directory
/home/one/material-web/button/node_modules doesn't exist or is not a directory
looking for modules in /home/one/material-web/node_modules
existing directory /home/one/material-web/node_modules/@material/web
using description file: /home/one/material-web/node_modules/@material/web/package.json (relative path: .)
using description file: /home/one/material-web/node_modules/@material/web/package.json (relative path: ./button/filled-button.js)
no extension
Field 'browser' doesn't contain a valid alias configuration
/home/one/material-web/node_modules/@material/web/button/filled-button.js doesn't exist
.mjs
Field 'browser' doesn't contain a valid alias configuration
/home/one/material-web/node_modules/@material/web/button/filled-button.js.mjs doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
/home/one/material-web/node_modules/@material/web/button/filled-button.js.js doesn't exist
.jsx
Field 'browser' doesn't contain a valid alias configuration
/home/one/material-web/node_modules/@material/web/button/filled-button.js.jsx doesn't exist
.ts
Field 'browser' doesn't contain a valid alias configuration
/home/one/material-web/node_modules/@material/web/button/filled-button.js.ts doesn't exist
.tsx
Field 'browser' doesn't contain a valid alias configuration
/home/one/material-web/node_modules/@material/web/button/filled-button.js.tsx doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
/home/one/material-web/node_modules/@material/web/button/filled-button.js.json doesn't exist
.cjs
Field 'browser' doesn't contain a valid alias configuration
/home/one/material-web/node_modules/@material/web/button/filled-button.js.cjs doesn't exist
as directory
/home/one/material-web/node_modules/@material/web/button/filled-button.js doesn't exist
/home/one/node_modules doesn't exist or is not a directory
/home/node_modules doesn't exist or is not a directory
/node_modules doesn't exist or is not a directory
ModuleNotFoundError: Module not found: Error: Can't resolve '@material/web/button/outlined-button.js' in '/home/one/material-web/button/demo'
at /home/one/material-web/node_modules/webpack/lib/Compilation.js:1512:33
at /home/one/material-web/node_modules/webpack/lib/NormalModuleFactory.js:656:18
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:10:1)
at /home/one/material-web/node_modules/webpack/lib/NormalModuleFactory.js:202:20
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:9:1)
at /home/one/material-web/node_modules/webpack/lib/NormalModuleFactory.js:335:20
at /home/one/material-web/node_modules/webpack/lib/NormalModuleFactory.js:62:14
at /home/one/material-web/node_modules/webpack/lib/NormalModuleFactory.js:541:26
at /home/one/material-web/node_modules/webpack/lib/NormalModuleFactory.js:720:15
at /home/one/material-web/node_modules/webpack/lib/NormalModuleFactory.js:826:9
at /home/one/material-web/node_modules/neo-async/async.js:3009:13
at /home/one/material-web/node_modules/webpack/lib/NormalModuleFactory.js:810:24
at finishWithoutResolve (/home/one/material-web/node_modules/enhanced-resolve/lib/Resolver.js:192:14)
at /home/one/material-web/node_modules/enhanced-resolve/lib/Resolver.js:278:22
at /home/one/material-web/node_modules/enhanced-resolve/lib/Resolver.js:329:9
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:16:1)
at /home/one/material-web/node_modules/enhanced-resolve/lib/Resolver.js:329:9
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:27:1)
at /home/one/material-web/node_modules/enhanced-resolve/lib/DescriptionFilePlugin.js:72:26
at /home/one/material-web/node_modules/enhanced-resolve/lib/Resolver.js:329:9
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:16:1)
at /home/one/material-web/node_modules/enhanced-resolve/lib/forEachBail.js:13:18
at /home/one/material-web/node_modules/enhanced-resolve/lib/AliasPlugin.js:100:18
at next (/home/one/material-web/node_modules/enhanced-resolve/lib/forEachBail.js:9:5)
at forEachBail (/home/one/material-web/node_modules/enhanced-resolve/lib/forEachBail.js:26:10)
at /home/one/material-web/node_modules/enhanced-resolve/lib/AliasPlugin.js:39:7
at _next0 (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:8:1)
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:30:1)
at /home/one/material-web/node_modules/enhanced-resolve/lib/Resolver.js:329:9
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:16:1)
at /home/one/material-web/node_modules/enhanced-resolve/lib/Resolver.js:329:9
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:16:1)
at /home/one/material-web/node_modules/enhanced-resolve/lib/Resolver.js:329:9
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:27:1)
at /home/one/material-web/node_modules/enhanced-resolve/lib/DescriptionFilePlugin.js:72:26
at /home/one/material-web/node_modules/enhanced-resolve/lib/Resolver.js:329:9
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:16:1)
at /home/one/material-web/node_modules/enhanced-resolve/lib/Resolver.js:329:9
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:15:1)
at /home/one/material-web/node_modules/enhanced-resolve/lib/DirectoryExistsPlugin.js:31:20
at processTicksAndRejections (node:internal/process/task_queues:81:21)
at runNextTicks (node:internal/process/task_queues:64:3)
at process.processImmediate (node:internal/timers:447:9)
resolve '@material/web/button/outlined-button.js' in '/home/one/material-web/button/demo'
Parsed request is a module
using description file: /home/one/material-web/package.json (relative path: ./button/demo)
Field 'browser' doesn't contain a valid alias configuration
resolve as module
/home/one/material-web/button/demo/node_modules doesn't exist or is not a directory
/home/one/material-web/button/node_modules doesn't exist or is not a directory
looking for modules in /home/one/material-web/node_modules
existing directory /home/one/material-web/node_modules/@material/web
using description file: /home/one/material-web/node_modules/@material/web/package.json (relative path: .)
using description file: /home/one/material-web/node_modules/@material/web/package.json (relative path: ./button/outlined-button.js)
no extension
Field 'browser' doesn't contain a valid alias configuration
/home/one/material-web/node_modules/@material/web/button/outlined-button.js doesn't exist
.mjs
Field 'browser' doesn't contain a valid alias configuration
/home/one/material-web/node_modules/@material/web/button/outlined-button.js.mjs doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
/home/one/material-web/node_modules/@material/web/button/outlined-button.js.js doesn't exist
.jsx
Field 'browser' doesn't contain a valid alias configuration
/home/one/material-web/node_modules/@material/web/button/outlined-button.js.jsx doesn't exist
.ts
Field 'browser' doesn't contain a valid alias configuration
/home/one/material-web/node_modules/@material/web/button/outlined-button.js.ts doesn't exist
.tsx
Field 'browser' doesn't contain a valid alias configuration
/home/one/material-web/node_modules/@material/web/button/outlined-button.js.tsx doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
/home/one/material-web/node_modules/@material/web/button/outlined-button.js.json doesn't exist
.cjs
Field 'browser' doesn't contain a valid alias configuration
/home/one/material-web/node_modules/@material/web/button/outlined-button.js.cjs doesn't exist
as directory
/home/one/material-web/node_modules/@material/web/button/outlined-button.js doesn't exist
/home/one/node_modules doesn't exist or is not a directory
/home/node_modules doesn't exist or is not a directory
/node_modules doesn't exist or is not a directory
ModuleNotFoundError: Module not found: Error: Can't resolve '@material/web/button/text-button.js' in '/home/one/material-web/button/demo'
at /home/one/material-web/node_modules/webpack/lib/Compilation.js:1512:33
at /home/one/material-web/node_modules/webpack/lib/NormalModuleFactory.js:656:18
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:10:1)
at /home/one/material-web/node_modules/webpack/lib/NormalModuleFactory.js:202:20
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:9:1)
at /home/one/material-web/node_modules/webpack/lib/NormalModuleFactory.js:335:20
at /home/one/material-web/node_modules/webpack/lib/NormalModuleFactory.js:62:14
at /home/one/material-web/node_modules/webpack/lib/NormalModuleFactory.js:541:26
at /home/one/material-web/node_modules/webpack/lib/NormalModuleFactory.js:720:15
at /home/one/material-web/node_modules/webpack/lib/NormalModuleFactory.js:826:9
at /home/one/material-web/node_modules/neo-async/async.js:3009:13
at /home/one/material-web/node_modules/webpack/lib/NormalModuleFactory.js:810:24
at finishWithoutResolve (/home/one/material-web/node_modules/enhanced-resolve/lib/Resolver.js:192:14)
at /home/one/material-web/node_modules/enhanced-resolve/lib/Resolver.js:278:22
at /home/one/material-web/node_modules/enhanced-resolve/lib/Resolver.js:329:9
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:16:1)
at /home/one/material-web/node_modules/enhanced-resolve/lib/Resolver.js:329:9
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:27:1)
at /home/one/material-web/node_modules/enhanced-resolve/lib/DescriptionFilePlugin.js:72:26
at /home/one/material-web/node_modules/enhanced-resolve/lib/Resolver.js:329:9
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:16:1)
at /home/one/material-web/node_modules/enhanced-resolve/lib/forEachBail.js:13:18
at /home/one/material-web/node_modules/enhanced-resolve/lib/AliasPlugin.js:100:18
at next (/home/one/material-web/node_modules/enhanced-resolve/lib/forEachBail.js:9:5)
at forEachBail (/home/one/material-web/node_modules/enhanced-resolve/lib/forEachBail.js:26:10)
at /home/one/material-web/node_modules/enhanced-resolve/lib/AliasPlugin.js:39:7
at _next0 (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:8:1)
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:30:1)
at /home/one/material-web/node_modules/enhanced-resolve/lib/Resolver.js:329:9
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:16:1)
at /home/one/material-web/node_modules/enhanced-resolve/lib/Resolver.js:329:9
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:16:1)
at /home/one/material-web/node_modules/enhanced-resolve/lib/Resolver.js:329:9
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:27:1)
at /home/one/material-web/node_modules/enhanced-resolve/lib/DescriptionFilePlugin.js:72:26
at /home/one/material-web/node_modules/enhanced-resolve/lib/Resolver.js:329:9
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:16:1)
at /home/one/material-web/node_modules/enhanced-resolve/lib/Resolver.js:329:9
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:15:1)
at /home/one/material-web/node_modules/enhanced-resolve/lib/DirectoryExistsPlugin.js:31:20
at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
resolve '@material/web/button/text-button.js' in '/home/one/material-web/button/demo'
Parsed request is a module
using description file: /home/one/material-web/package.json (relative path: ./button/demo)
Field 'browser' doesn't contain a valid alias configuration
resolve as module
/home/one/material-web/button/demo/node_modules doesn't exist or is not a directory
/home/one/material-web/button/node_modules doesn't exist or is not a directory
looking for modules in /home/one/material-web/node_modules
existing directory /home/one/material-web/node_modules/@material/web
using description file: /home/one/material-web/node_modules/@material/web/package.json (relative path: .)
using description file: /home/one/material-web/node_modules/@material/web/package.json (relative path: ./button/text-button.js)
no extension
Field 'browser' doesn't contain a valid alias configuration
/home/one/material-web/node_modules/@material/web/button/text-button.js doesn't exist
.mjs
Field 'browser' doesn't contain a valid alias configuration
/home/one/material-web/node_modules/@material/web/button/text-button.js.mjs doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
/home/one/material-web/node_modules/@material/web/button/text-button.js.js doesn't exist
.jsx
Field 'browser' doesn't contain a valid alias configuration
/home/one/material-web/node_modules/@material/web/button/text-button.js.jsx doesn't exist
.ts
Field 'browser' doesn't contain a valid alias configuration
/home/one/material-web/node_modules/@material/web/button/text-button.js.ts doesn't exist
.tsx
Field 'browser' doesn't contain a valid alias configuration
/home/one/material-web/node_modules/@material/web/button/text-button.js.tsx doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
/home/one/material-web/node_modules/@material/web/button/text-button.js.json doesn't exist
.cjs
Field 'browser' doesn't contain a valid alias configuration
/home/one/material-web/node_modules/@material/web/button/text-button.js.cjs doesn't exist
as directory
/home/one/material-web/node_modules/@material/web/button/text-button.js doesn't exist
/home/one/node_modules doesn't exist or is not a directory
/home/node_modules doesn't exist or is not a directory
/node_modules doesn't exist or is not a directory
ModuleNotFoundError: Module not found: Error: Can't resolve '@material/web/button/tonal-button.js' in '/home/one/material-web/button/demo'
at /home/one/material-web/node_modules/webpack/lib/Compilation.js:1512:33
at /home/one/material-web/node_modules/webpack/lib/NormalModuleFactory.js:656:18
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:10:1)
at /home/one/material-web/node_modules/webpack/lib/NormalModuleFactory.js:202:20
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:9:1)
at /home/one/material-web/node_modules/webpack/lib/NormalModuleFactory.js:335:20
at /home/one/material-web/node_modules/webpack/lib/NormalModuleFactory.js:62:14
at /home/one/material-web/node_modules/webpack/lib/NormalModuleFactory.js:541:26
at /home/one/material-web/node_modules/webpack/lib/NormalModuleFactory.js:720:15
at /home/one/material-web/node_modules/webpack/lib/NormalModuleFactory.js:826:9
at /home/one/material-web/node_modules/neo-async/async.js:3009:13
at /home/one/material-web/node_modules/webpack/lib/NormalModuleFactory.js:810:24
at finishWithoutResolve (/home/one/material-web/node_modules/enhanced-resolve/lib/Resolver.js:192:14)
at /home/one/material-web/node_modules/enhanced-resolve/lib/Resolver.js:278:22
at /home/one/material-web/node_modules/enhanced-resolve/lib/Resolver.js:329:9
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:16:1)
at /home/one/material-web/node_modules/enhanced-resolve/lib/Resolver.js:329:9
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:27:1)
at /home/one/material-web/node_modules/enhanced-resolve/lib/DescriptionFilePlugin.js:72:26
at /home/one/material-web/node_modules/enhanced-resolve/lib/Resolver.js:329:9
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:16:1)
at /home/one/material-web/node_modules/enhanced-resolve/lib/forEachBail.js:13:18
at /home/one/material-web/node_modules/enhanced-resolve/lib/AliasPlugin.js:100:18
at next (/home/one/material-web/node_modules/enhanced-resolve/lib/forEachBail.js:9:5)
at forEachBail (/home/one/material-web/node_modules/enhanced-resolve/lib/forEachBail.js:26:10)
at /home/one/material-web/node_modules/enhanced-resolve/lib/AliasPlugin.js:39:7
at _next0 (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:8:1)
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:30:1)
at /home/one/material-web/node_modules/enhanced-resolve/lib/Resolver.js:329:9
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:16:1)
at /home/one/material-web/node_modules/enhanced-resolve/lib/Resolver.js:329:9
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:16:1)
at /home/one/material-web/node_modules/enhanced-resolve/lib/Resolver.js:329:9
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:27:1)
at /home/one/material-web/node_modules/enhanced-resolve/lib/DescriptionFilePlugin.js:72:26
at /home/one/material-web/node_modules/enhanced-resolve/lib/Resolver.js:329:9
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:16:1)
at /home/one/material-web/node_modules/enhanced-resolve/lib/Resolver.js:329:9
at eval (eval at create (/home/one/material-web/node_modules/tapable/lib/HookCodeFactory.js:28:14), <anonymous>:15:1)
at /home/one/material-web/node_modules/enhanced-resolve/lib/DirectoryExistsPlugin.js:31:20
at processTicksAndRejections (node:internal/process/task_queues:81:21)
at runNextTicks (node:internal/process/task_queues:64:3)
at process.processImmediate (node:internal/timers:447:9)
resolve '@material/web/button/tonal-button.js' in '/home/one/material-web/button/demo'
Parsed request is a module
using description file: /home/one/material-web/package.json (relative path: ./button/demo)
Field 'browser' doesn't contain a valid alias configuration
resolve as module
/home/one/material-web/button/demo/node_modules doesn't exist or is not a directory
/home/one/material-web/button/node_modules doesn't exist or is not a directory
looking for modules in /home/one/material-web/node_modules
existing directory /home/one/material-web/node_modules/@material/web
using description file: /home/one/material-web/node_modules/@material/web/package.json (relative path: .)
using description file: /home/one/material-web/node_modules/@material/web/package.json (relative path: ./button/tonal-button.js)
no extension
Field 'browser' doesn't contain a valid alias configuration
/home/one/material-web/node_modules/@material/web/button/tonal-button.js doesn't exist
.mjs
Field 'browser' doesn't contain a valid alias configuration
/home/one/material-web/node_modules/@material/web/button/tonal-button.js.mjs doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
/home/one/material-web/node_modules/@material/web/button/tonal-button.js.js doesn't exist
.jsx
Field 'browser' doesn't contain a valid alias configuration
/home/one/material-web/node_modules/@material/web/button/tonal-button.js.jsx doesn't exist
.ts
Field 'browser' doesn't contain a valid alias configuration
/home/one/material-web/node_modules/@material/web/button/tonal-button.js.ts doesn't exist
.tsx
Field 'browser' doesn't contain a valid alias configuration
/home/one/material-web/node_modules/@material/web/button/tonal-button.js.tsx doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
/home/one/material-web/node_modules/@material/web/button/tonal-button.js.json doesn't exist
.cjs
Field 'browser' doesn't contain a valid alias configuration
/home/one/material-web/node_modules/@material/web/button/tonal-button.js.cjs doesn't exist
as directory
/home/one/material-web/node_modules/@material/web/button/tonal-button.js doesn't exist
/home/one/node_modules doesn't exist or is not a directory
/home/node_modules doesn't exist or is not a directory
/node_modules doesn't exist or is not a directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment