Closed spacedawwwg closed 2 years ago
Hi Paul, thanks for providing all the information!
It seems that require('node:module')
in the compiled code fails to resolve in Node 14. It's working in Node 16.
I'll investigate to see if there's a workaround.
Would you run the following to verify the result?
node
> require('node:module')
> require('module')
Hi Paul, thanks for providing all the information!
It seems that
require('node:module')
in the compiled code fails to resolve in Node 14. It's working in Node 16.I'll investigate to see if there's a workaround.
Would you run the following to verify the result?
node > require('node:module') > require('module')
Yep, require('module')
works
Released iles@0.3.12
which should fix this transpilation bug. Thanks for reporting @spacedawwwg!
iles
andvite
.Description π
NPM version:
6.14.13
NODE version:14.17.0
Upon initialising and installing new Iles app, running
npm run dev
produces an error:Reproduction π
Dependencies Info
_Run `npx iles info` and `pnpm list` (or `npm list`) and provide the output:_ Running `npx iles info` produces this error: ``` npx iles info Cannot find module 'node:module' Require stack: - /Users/username/Projects/Personal/iles-app/node_modules/iles/dist/node/chunk-PWUXNJ4P.js - /Users/username/Projects/Personal/iles-app/node_modules/iles/dist/node/chunk-OCYMQT24.js - /Users/username/Projects/Personal/iles-app/node_modules/iles/dist/node/chunk-2NX7D2UF.js - /Users/username/Projects/Personal/iles-app/node_modules/iles/dist/node/chunk-NX4IGNBC.js - /Users/username/Projects/Personal/iles-app/node_modules/iles/dist/node/chunk-HFW6SP7X.js - /Users/username/Projects/Personal/iles-app/node_modules/iles/dist/node/chunk-R77VKQUY.js - /Users/username/Projects/Personal/iles-app/node_modules/iles/dist/node/chunk-LI2W36WD.js - /Users/username/Projects/Personal/iles-app/node_modules/iles/dist/node/cli.js - /Users/username/Projects/Personal/iles-app/node_modules/iles/bin/iles.js ``` npm list ``` iles-app@0.0.0 /Users/paul/Projects/Personal/iles-app βββ¬ iles@0.3.11 β βββ¬ @islands/frontmatter@0.0.2 β β βββ estree-util-is-identifier-name@1.1.0 β β βββ¬ estree-util-value-to-estree@1.3.0 β β β βββ is-plain-obj@3.0.0 β β βββ¬ js-yaml@4.1.0 β β β βββ argparse@2.0.1 β β βββ toml@3.0.0 β βββ @islands/hydration@0.3.2 β βββ¬ @islands/prerender@0.3.1 β β βββ @islands/hydration@0.3.2 deduped β βββ @nuxt/devalue@2.0.0 β βββ @rollup/plugin-virtual@2.0.3 β βββ @vitejs/plugin-vue@1.9.3 β βββ¬ @vitejs/plugin-vue-jsx@1.2.0 β β βββ¬ @babel/core@7.15.8 β β β βββ¬ @babel/code-frame@7.15.8 β β β β βββ¬ @babel/highlight@7.14.5 β β β β βββ @babel/helper-validator-identifier@7.15.7 deduped β β β β βββ¬ chalk@2.4.2 β β β β β βββ¬ ansi-styles@3.2.1 β β β β β β βββ¬ color-convert@1.9.3 β β β β β β βββ color-name@1.1.3 β β β β β βββ escape-string-regexp@1.0.5 β β β β β βββ¬ supports-color@5.5.0 β β β β β βββ has-flag@3.0.0 β β β β βββ js-tokens@4.0.0 β β β βββ¬ @babel/generator@7.15.8 β β β β βββ @babel/types@7.15.6 deduped β β β β βββ jsesc@2.5.2 β β β β βββ source-map@0.5.7 β β β βββ¬ @babel/helper-compilation-targets@7.15.4 β β β β βββ @babel/compat-data@7.15.0 β β β β βββ @babel/helper-validator-option@7.14.5 β β β β βββ¬ browserslist@4.17.4 β β β β β βββ caniuse-lite@1.0.30001271 β β β β β βββ electron-to-chromium@1.3.878 β β β β β βββ escalade@3.1.1 β β β β β βββ node-releases@2.0.1 β β β β β βββ picocolors@1.0.0 deduped β β β β βββ semver@6.3.0 deduped β β β βββ¬ @babel/helper-module-transforms@7.15.8 β β β β βββ @babel/helper-module-imports@7.15.4 deduped β β β β βββ¬ @babel/helper-replace-supers@7.15.4 β β β β β βββ @babel/helper-member-expression-to-functions@7.15.4 deduped β β β β β βββ @babel/helper-optimise-call-expression@7.15.4 deduped β β β β β βββ @babel/traverse@7.15.4 deduped β β β β β βββ @babel/types@7.15.6 deduped β β β β βββ¬ @babel/helper-simple-access@7.15.4 β β β β β βββ @babel/types@7.15.6 deduped β β β β βββ¬ @babel/helper-split-export-declaration@7.15.4 β β β β β βββ @babel/types@7.15.6 deduped β β β β βββ @babel/helper-validator-identifier@7.15.7 β β β β βββ @babel/template@7.15.4 deduped β β β β βββ @babel/traverse@7.15.4 deduped β β β β βββ @babel/types@7.15.6 deduped β β β βββ¬ @babel/helpers@7.15.4 β β β β βββ @babel/template@7.15.4 deduped β β β β βββ @babel/traverse@7.15.4 deduped β β β β βββ @babel/types@7.15.6 deduped β β β βββ @babel/parser@7.15.8 deduped β β β βββ¬ @babel/template@7.15.4 β β β β βββ @babel/code-frame@7.15.8 deduped β β β β βββ @babel/parser@7.15.8 deduped β β β β βββ @babel/types@7.15.6 deduped β β β βββ¬ @babel/traverse@7.15.4 β β β β βββ @babel/code-frame@7.15.8 deduped β β β β βββ @babel/generator@7.15.8 deduped β β β β βββ¬ @babel/helper-function-name@7.15.4 β β β β β βββ¬ @babel/helper-get-function-arity@7.15.4 β β β β β β βββ @babel/types@7.15.6 deduped β β β β β βββ @babel/template@7.15.4 deduped β β β β β βββ @babel/types@7.15.6 deduped β β β β βββ¬ @babel/helper-hoist-variables@7.15.4 β β β β β βββ @babel/types@7.15.6 deduped β β β β βββ @babel/helper-split-export-declaration@7.15.4 deduped β β β β βββ @babel/parser@7.15.8 deduped β β β β βββ @babel/types@7.15.6 deduped β β β β βββ debug@4.3.2 deduped β β β β βββ globals@11.12.0 β β β βββ¬ @babel/types@7.15.6 β β β β βββ @babel/helper-validator-identifier@7.15.7 deduped β β β β βββ to-fast-properties@2.0.0 β β β βββ¬ convert-source-map@1.8.0 β β β β βββ safe-buffer@5.1.2 β β β βββ debug@4.3.2 deduped β β β βββ gensync@1.0.0-beta.2 β β β βββ json5@2.2.0 deduped β β β βββ semver@6.3.0 β β β βββ source-map@0.5.7 β β βββ¬ @babel/plugin-syntax-import-meta@7.10.4 β β β βββ @babel/helper-plugin-utils@7.14.5 β β βββ¬ @babel/plugin-transform-typescript@7.15.8 β β β βββ¬ @babel/helper-create-class-features-plugin@7.15.4 β β β β βββ¬ @babel/helper-annotate-as-pure@7.15.4 β β β β β βββ @babel/types@7.15.6 deduped β β β β βββ @babel/helper-function-name@7.15.4 deduped β β β β βββ¬ @babel/helper-member-expression-to-functions@7.15.4 β β β β β βββ @babel/types@7.15.6 deduped β β β β βββ¬ @babel/helper-optimise-call-expression@7.15.4 β β β β β βββ @babel/types@7.15.6 deduped β β β β βββ @babel/helper-replace-supers@7.15.4 deduped β β β β βββ @babel/helper-split-export-declaration@7.15.4 deduped β β β βββ @babel/helper-plugin-utils@7.14.5 deduped β β β βββ¬ @babel/plugin-syntax-typescript@7.14.5 β β β βββ @babel/helper-plugin-utils@7.14.5 deduped β β βββ¬ @rollup/pluginutils@4.1.1 β β β βββ estree-walker@2.0.2 deduped β β β βββ picomatch@2.3.0 β β βββ¬ @vue/babel-plugin-jsx@1.1.1 β β β βββ¬ @babel/helper-module-imports@7.15.4 β β β β βββ @babel/types@7.15.6 deduped β β β βββ¬ @babel/plugin-syntax-jsx@7.14.5 β β β β βββ @babel/helper-plugin-utils@7.14.5 deduped β β β βββ @babel/template@7.15.4 deduped β β β βββ @babel/traverse@7.15.4 deduped β β β βββ @babel/types@7.15.6 deduped β β β βββ @vue/babel-helper-vue-transform-on@1.0.2 β β β βββ camelcase@6.2.0 β β β βββ html-tags@3.1.0 β β β βββ svg-tags@1.0.0 β β βββ hash-sum@2.0.0 β βββ¬ @vue/compiler-sfc@3.2.20 β β βββ @babel/parser@7.15.8 β β βββ¬ @vue/compiler-core@3.2.20 β β β βββ @babel/parser@7.15.8 deduped β β β βββ @vue/shared@3.2.20 deduped β β β βββ estree-walker@2.0.2 deduped β β β βββ source-map@0.6.1 deduped β β βββ¬ @vue/compiler-dom@3.2.20 β β β βββ @vue/compiler-core@3.2.20 deduped β β β βββ @vue/shared@3.2.20 deduped β β βββ¬ @vue/compiler-ssr@3.2.20 β β β βββ @vue/compiler-dom@3.2.20 deduped β β β βββ @vue/shared@3.2.20 deduped β β βββ¬ @vue/ref-transform@3.2.20 β β β βββ @babel/parser@7.15.8 deduped β β β βββ @vue/compiler-core@3.2.20 deduped β β β βββ @vue/shared@3.2.20 deduped β β β βββ estree-walker@2.0.2 deduped β β β βββ magic-string@0.25.7 deduped β β βββ @vue/shared@3.2.20 β β βββ estree-walker@2.0.2 β β βββ¬ magic-string@0.25.7 β β β βββ sourcemap-codec@1.4.8 β β βββ postcss@8.3.11 deduped β β βββ source-map@0.6.1 β βββ @vue/devtools-api@6.0.0-beta.19 β βββ¬ @vue/server-renderer@3.2.20 β β βββ @vue/compiler-ssr@3.2.20 deduped β β βββ @vue/shared@3.2.20 deduped β βββ @vueuse/head@0.6.0 β βββ¬ critters@0.0.10 β β βββ¬ chalk@4.1.2 β β β βββ¬ ansi-styles@4.3.0 β β β β βββ¬ color-convert@2.0.1 β β β β βββ color-name@1.1.4 β β β βββ¬ supports-color@7.2.0 β β β βββ has-flag@4.0.0 β β βββ¬ css@3.0.0 β β β βββ inherits@2.0.4 β β β βββ source-map@0.6.1 deduped β β β βββ¬ source-map-resolve@0.6.0 β β β βββ atob@2.1.2 β β β βββ decode-uri-component@0.2.0 β β βββ parse5@6.0.1 β β βββ¬ parse5-htmlparser2-tree-adapter@6.0.1 β β β βββ parse5@6.0.1 deduped β β βββ pretty-bytes@5.6.0 β βββ¬ debug@4.3.2 β β βββ ms@2.1.2 β βββ diacritics@1.3.0 β βββ es-module-lexer@0.7.1 β βββ escape-html@1.0.3 β βββ¬ fs-extra@10.0.0 β β βββ graceful-fs@4.2.8 β β βββ¬ jsonfile@6.1.0 β β β βββ graceful-fs@4.2.8 deduped β β β βββ universalify@2.0.0 deduped β β βββ universalify@2.0.0 β βββ¬ globby@11.0.4 β β βββ array-union@2.1.0 β β βββ¬ dir-glob@3.0.1 β β β βββ path-type@4.0.0 β β βββ¬ fast-glob@3.2.7 β β β βββ @nodelib/fs.stat@2.0.5 β β β βββ¬ @nodelib/fs.walk@1.2.8 β β β β βββ¬ @nodelib/fs.scandir@2.1.5 β β β β β βββ @nodelib/fs.stat@2.0.5 deduped β β β β β βββ¬ run-parallel@1.2.0 β β β β β βββ queue-microtask@1.2.3 β β β β βββ¬ fastq@1.13.0 β β β β βββ reusify@1.0.4 β β β βββ¬ glob-parent@5.1.2 β β β β βββ is-glob@4.0.3 deduped β β β βββ merge2@1.4.1 deduped β β β βββ¬ micromatch@4.0.4 β β β βββ braces@3.0.2 deduped β β β βββ picomatch@2.3.0 deduped β β βββ ignore@5.1.8 β β βββ merge2@1.4.1 β β βββ slash@3.0.0 β βββ¬ gray-matter@4.0.3 β β βββ¬ js-yaml@3.14.1 β β β βββ¬ argparse@1.0.10 β β β β βββ sprintf-js@1.0.3 β β β βββ esprima@4.0.1 β β βββ kind-of@6.0.3 β β βββ¬ section-matter@1.0.0 β β β βββ¬ extend-shallow@2.0.1 β β β β βββ is-extendable@0.1.1 β β β βββ kind-of@6.0.3 deduped β β βββ strip-bom-string@1.0.0 β βββ¬ lru-cache@6.0.0 β β βββ yallist@4.0.0 β βββ¬ mdast-util-mdx-jsx@1.1.1 β β βββ¬ @types/estree-jsx@0.0.1 β β β βββ @types/estree@0.0.50 β β βββ¬ @types/mdast@3.0.10 β β β βββ @types/unist@2.0.6 deduped β β βββ¬ mdast-util-to-markdown@1.2.3 β β β βββ @types/mdast@3.0.10 deduped β β β βββ @types/unist@2.0.6 deduped β β β βββ longest-streak@3.0.0 β β β βββ mdast-util-to-string@3.1.0 β β β βββ¬ micromark-util-decode-string@1.0.1 β β β β βββ micromark-util-character@1.1.0 deduped β β β β βββ micromark-util-decode-numeric-character-reference@1.0.0 deduped β β β β βββ micromark-util-symbol@1.0.0 deduped β β β β βββ parse-entities@3.0.0 deduped β β β βββ¬ unist-util-visit@4.1.0 β β β β βββ @types/unist@2.0.6 deduped β β β β βββ unist-util-is@5.1.1 β β β β βββ¬ unist-util-visit-parents@5.1.0 β β β β βββ @types/unist@2.0.6 deduped β β β β βββ unist-util-is@5.1.1 β β β βββ zwitch@2.0.2 β β βββ¬ parse-entities@3.0.0 β β β βββ character-entities@2.0.0 β β β βββ character-entities-legacy@2.0.0 β β β βββ character-reference-invalid@2.0.0 β β β βββ¬ is-alphanumerical@2.0.0 β β β β βββ is-alphabetical@2.0.0 β β β β βββ is-decimal@2.0.0 deduped β β β βββ is-decimal@2.0.0 β β β βββ is-hexadecimal@2.0.0 β β βββ¬ stringify-entities@4.0.1 β β β βββ character-entities-html4@2.0.0 β β β βββ character-entities-legacy@2.0.0 deduped β β βββ¬ unist-util-remove-position@4.0.1 β β β βββ @types/unist@2.0.6 deduped β β β βββ unist-util-visit@4.1.0 deduped β β βββ¬ unist-util-stringify-position@3.0.0 β β β βββ @types/unist@2.0.6 deduped β β βββ¬ vfile-message@3.0.2 β β βββ @types/unist@2.0.6 deduped β β βββ unist-util-stringify-position@3.0.0 deduped β βββ¬ mdast-util-mdxjs-esm@1.1.1 β β βββ @types/estree-jsx@0.0.1 deduped β β βββ @types/mdast@3.0.10 deduped β β βββ¬ mdast-util-from-markdown@1.0.4 β β β βββ @types/mdast@3.0.10 deduped β β β βββ @types/unist@2.0.6 deduped β β β βββ mdast-util-to-string@3.1.0 deduped β β β βββ¬ micromark@3.0.7 β β β β βββ¬ @types/debug@4.1.7 β β β β β βββ @types/ms@0.7.31 β β β β βββ debug@4.3.2 deduped β β β β βββ¬ micromark-core-commonmark@1.0.4 β β β β β βββ¬ micromark-factory-destination@1.0.0 β β β β β β βββ micromark-util-character@1.1.0 deduped β β β β β β βββ micromark-util-symbol@1.0.0 deduped β β β β β β βββ micromark-util-types@1.0.1 deduped β β β β β βββ¬ micromark-factory-label@1.0.2 β β β β β β βββ micromark-util-character@1.1.0 deduped β β β β β β βββ micromark-util-symbol@1.0.0 deduped β β β β β β βββ micromark-util-types@1.0.1 deduped β β β β β β βββ uvu@0.5.2 deduped β β β β β βββ micromark-factory-space@1.0.0 deduped β β β β β βββ¬ micromark-factory-title@1.0.2 β β β β β β βββ micromark-factory-space@1.0.0 deduped β β β β β β βββ micromark-util-character@1.1.0 deduped β β β β β β βββ micromark-util-symbol@1.0.0 deduped β β β β β β βββ micromark-util-types@1.0.1 deduped β β β β β β βββ uvu@0.5.2 deduped β β β β β βββ¬ micromark-factory-whitespace@1.0.0 β β β β β β βββ micromark-factory-space@1.0.0 deduped β β β β β β βββ micromark-util-character@1.1.0 deduped β β β β β β βββ micromark-util-symbol@1.0.0 deduped β β β β β β βββ micromark-util-types@1.0.1 deduped β β β β β βββ micromark-util-character@1.1.0 deduped β β β β β βββ micromark-util-chunked@1.0.0 deduped β β β β β βββ¬ micromark-util-classify-character@1.0.0 β β β β β β βββ micromark-util-character@1.1.0 deduped β β β β β β βββ micromark-util-symbol@1.0.0 deduped β β β β β β βββ micromark-util-types@1.0.1 deduped β β β β β βββ micromark-util-html-tag-name@1.0.0 β β β β β βββ micromark-util-normalize-identifier@1.0.0 deduped β β β β β βββ micromark-util-resolve-all@1.0.0 deduped β β β β β βββ micromark-util-subtokenize@1.0.2 deduped β β β β β βββ micromark-util-symbol@1.0.0 deduped β β β β β βββ micromark-util-types@1.0.1 deduped β β β β β βββ parse-entities@3.0.0 deduped β β β β β βββ uvu@0.5.2 deduped β β β β βββ¬ micromark-factory-space@1.0.0 β β β β β βββ micromark-util-character@1.1.0 deduped β β β β β βββ micromark-util-types@1.0.1 deduped β β β β βββ micromark-util-character@1.1.0 deduped β β β β βββ¬ micromark-util-chunked@1.0.0 β β β β β βββ micromark-util-symbol@1.0.0 deduped β β β β βββ¬ micromark-util-combine-extensions@1.0.0 β β β β β βββ micromark-util-chunked@1.0.0 deduped β β β β β βββ micromark-util-types@1.0.1 deduped β β β β βββ micromark-util-decode-numeric-character-reference@1.0.0 deduped β β β β βββ micromark-util-encode@1.0.0 β β β β βββ micromark-util-normalize-identifier@1.0.0 deduped β β β β βββ¬ micromark-util-resolve-all@1.0.0 β β β β β βββ micromark-util-types@1.0.1 deduped β β β β βββ¬ micromark-util-sanitize-uri@1.0.0 β β β β β βββ micromark-util-character@1.1.0 deduped β β β β β βββ micromark-util-encode@1.0.0 deduped β β β β β βββ micromark-util-symbol@1.0.0 deduped β β β β βββ¬ micromark-util-subtokenize@1.0.2 β β β β β βββ micromark-util-chunked@1.0.0 deduped β β β β β βββ micromark-util-symbol@1.0.0 deduped β β β β β βββ micromark-util-types@1.0.1 deduped β β β β β βββ uvu@0.5.2 deduped β β β β βββ micromark-util-symbol@1.0.0 deduped β β β β βββ micromark-util-types@1.0.1 deduped β β β β βββ parse-entities@3.0.0 deduped β β β β βββ uvu@0.5.2 deduped β β β βββ¬ micromark-util-decode-numeric-character-reference@1.0.0 β β β β βββ micromark-util-symbol@1.0.0 deduped β β β βββ micromark-util-decode-string@1.0.1 deduped β β β βββ¬ micromark-util-normalize-identifier@1.0.0 β β β β βββ micromark-util-symbol@1.0.0 deduped β β β βββ micromark-util-symbol@1.0.0 β β β βββ micromark-util-types@1.0.1 β β β βββ parse-entities@3.0.0 deduped β β β βββ unist-util-stringify-position@3.0.0 deduped β β β βββ¬ uvu@0.5.2 β β β βββ dequal@2.0.2 β β β βββ diff@5.0.0 β β β βββ kleur@4.1.4 β β β βββ¬ sade@1.7.4 β β β β βββ mri@1.2.0 β β β βββ totalist@2.0.0 β β βββ mdast-util-to-markdown@1.2.3 deduped β βββ¬ mico-spinner@1.4.0 β β βββ picocolors@0.2.1 β βββ minimist@1.2.5 β βββ nanocolors@0.1.12 β βββ pathe@0.2.0 β βββ¬ remark-frontmatter@4.0.0 β β βββ @types/mdast@3.0.10 deduped β β βββ¬ mdast-util-frontmatter@1.0.0 β β β βββ micromark-extension-frontmatter@1.0.0 deduped β β βββ¬ micromark-extension-frontmatter@1.0.0 β β β βββ¬ fault@2.0.0 β β β β βββ format@0.2.2 β β β βββ¬ micromark-util-character@1.1.0 β β β β βββ micromark-util-symbol@1.0.0 deduped β β β β βββ micromark-util-types@1.0.1 deduped β β β βββ micromark-util-symbol@1.0.0 deduped β β βββ¬ unified@10.1.0 β β βββ @types/unist@2.0.6 deduped β β βββ bail@2.0.1 β β βββ extend@3.0.2 β β βββ is-buffer@2.0.5 β β βββ is-plain-obj@4.0.0 β β βββ trough@2.0.2 β β βββ¬ vfile@5.1.1 β β βββ @types/unist@2.0.6 deduped β β βββ is-buffer@2.0.5 deduped β β βββ unist-util-stringify-position@3.0.0 deduped β β βββ vfile-message@3.0.2 deduped β βββ¬ unist-util-visit@2.0.3 β β βββ @types/unist@2.0.6 β β βββ unist-util-is@4.1.0 β β βββ¬ unist-util-visit-parents@3.1.1 β β βββ @types/unist@2.0.6 deduped β β βββ unist-util-is@4.1.0 deduped β βββ¬ unplugin-vue-components@0.15.6 β β βββ¬ @antfu/utils@0.3.0 β β β βββ @types/throttle-debounce@2.1.0 β β βββ @rollup/pluginutils@4.1.1 deduped β β βββ¬ chokidar@3.5.2 β β β βββ¬ anymatch@3.1.2 β β β β βββ normalize-path@3.0.0 deduped β β β β βββ picomatch@2.3.0 deduped β β β βββ¬ braces@3.0.2 β β β β βββ¬ fill-range@7.0.1 β β β β βββ¬ to-regex-range@5.0.1 β β β β βββ is-number@7.0.0 β β β βββ fsevents@2.3.2 deduped β β β βββ glob-parent@5.1.2 deduped β β β βββ¬ is-binary-path@2.1.0 β β β β βββ binary-extensions@2.2.0 β β β βββ¬ is-glob@4.0.3 β β β β βββ is-extglob@2.1.1 β β β βββ normalize-path@3.0.0 β β β βββ¬ readdirp@3.6.0 β β β βββ picomatch@2.3.0 deduped β β βββ debug@4.3.2 deduped β β βββ fast-glob@3.2.7 deduped β β βββ¬ local-pkg@0.1.0 β β β βββ¬ mlly@0.2.10 β β β βββ¬ import-meta-resolve@1.1.1 β β β βββ¬ builtins@4.0.0 β β β βββ¬ semver@7.3.5 β β β βββ lru-cache@6.0.0 deduped β β βββ magic-string@0.25.7 deduped β β βββ¬ minimatch@3.0.4 β β β βββ¬ brace-expansion@1.1.11 β β β βββ balanced-match@1.0.2 β β β βββ concat-map@0.0.1 β β βββ resolve@1.20.0 deduped β β βββ¬ unplugin@0.2.16 β β βββ webpack-virtual-modules@0.4.3 β βββ vite@2.6.10 deduped β βββ¬ @mussi/vite-plugin-pages@0.18.3-beta.1 β β βββ debug@4.3.2 deduped β β βββ¬ deep-equal@2.0.5 β β β βββ¬ call-bind@1.0.2 β β β β βββ function-bind@1.1.1 β β β β βββ get-intrinsic@1.1.1 deduped β β β βββ¬ es-get-iterator@1.1.2 β β β β βββ call-bind@1.0.2 deduped β β β β βββ get-intrinsic@1.1.1 deduped β β β β βββ has-symbols@1.0.2 β β β β βββ is-arguments@1.1.1 deduped β β β β βββ is-map@2.0.2 β β β β βββ is-set@2.0.2 β β β β βββ¬ is-string@1.0.7 β β β β β βββ has-tostringtag@1.0.0 deduped β β β β βββ isarray@2.0.5 deduped β β β βββ¬ get-intrinsic@1.1.1 β β β β βββ function-bind@1.1.1 deduped β β β β βββ has@1.0.3 deduped β β β β βββ has-symbols@1.0.2 deduped β β β βββ¬ is-arguments@1.1.1 β β β β βββ call-bind@1.0.2 deduped β β β β βββ¬ has-tostringtag@1.0.0 β β β β βββ has-symbols@1.0.2 deduped β β β βββ¬ is-date-object@1.0.5 β β β β βββ has-tostringtag@1.0.0 deduped β β β βββ¬ is-regex@1.1.4 β β β β βββ call-bind@1.0.2 deduped β β β β βββ has-tostringtag@1.0.0 deduped β β β βββ isarray@2.0.5 β β β βββ¬ object-is@1.1.5 β β β β βββ call-bind@1.0.2 deduped β β β β βββ¬ define-properties@1.1.3 β β β β βββ object-keys@1.1.1 deduped β β β βββ object-keys@1.1.1 β β β βββ¬ object.assign@4.1.2 β β β β βββ call-bind@1.0.2 deduped β β β β βββ define-properties@1.1.3 deduped β β β β βββ has-symbols@1.0.2 deduped β β β β βββ object-keys@1.1.1 deduped β β β βββ¬ regexp.prototype.flags@1.3.1 β β β β βββ call-bind@1.0.2 deduped β β β β βββ define-properties@1.1.3 deduped β β β βββ¬ side-channel@1.0.4 β β β β βββ call-bind@1.0.2 deduped β β β β βββ get-intrinsic@1.1.1 deduped β β β β βββ object-inspect@1.11.0 β β β βββ¬ which-boxed-primitive@1.0.2 β β β β βββ¬ is-bigint@1.0.4 β β β β β βββ has-bigints@1.0.1 β β β β βββ¬ is-boolean-object@1.1.2 β β β β β βββ call-bind@1.0.2 deduped β β β β β βββ has-tostringtag@1.0.0 deduped β β β β βββ¬ is-number-object@1.0.6 β β β β β βββ has-tostringtag@1.0.0 deduped β β β β βββ is-string@1.0.7 deduped β β β β βββ¬ is-symbol@1.0.4 β β β β βββ has-symbols@1.0.2 deduped β β β βββ¬ which-collection@1.0.1 β β β β βββ is-map@2.0.2 deduped β β β β βββ is-set@2.0.2 deduped β β β β βββ is-weakmap@2.0.1 β β β β βββ is-weakset@2.0.1 β β β βββ¬ which-typed-array@1.1.7 β β β βββ available-typed-arrays@1.0.5 β β β βββ call-bind@1.0.2 deduped β β β βββ¬ es-abstract@1.19.1 β β β β βββ call-bind@1.0.2 deduped β β β β βββ¬ es-to-primitive@1.2.1 β β β β β βββ is-callable@1.2.4 deduped β β β β β βββ is-date-object@1.0.5 deduped β β β β β βββ is-symbol@1.0.4 deduped β β β β βββ function-bind@1.1.1 deduped β β β β βββ get-intrinsic@1.1.1 deduped β β β β βββ¬ get-symbol-description@1.0.0 β β β β β βββ call-bind@1.0.2 deduped β β β β β βββ get-intrinsic@1.1.1 deduped β β β β βββ has@1.0.3 deduped β β β β βββ has-symbols@1.0.2 deduped β β β β βββ¬ internal-slot@1.0.3 β β β β β βββ get-intrinsic@1.1.1 deduped β β β β β βββ has@1.0.3 deduped β β β β β βββ side-channel@1.0.4 deduped β β β β βββ is-callable@1.2.4 β β β β βββ is-negative-zero@2.0.1 β β β β βββ is-regex@1.1.4 deduped β β β β βββ is-shared-array-buffer@1.0.1 β β β β βββ is-string@1.0.7 deduped β β β β βββ¬ is-weakref@1.0.1 β β β β β βββ call-bind@1.0.2 deduped β β β β βββ object-inspect@1.11.0 deduped β β β β βββ object-keys@1.1.1 deduped β β β β βββ object.assign@4.1.2 deduped β β β β βββ¬ string.prototype.trimend@1.0.4 β β β β β βββ call-bind@1.0.2 deduped β β β β β βββ define-properties@1.1.3 deduped β β β β βββ¬ string.prototype.trimstart@1.0.4 β β β β β βββ call-bind@1.0.2 deduped β β β β β βββ define-properties@1.1.3 deduped β β β β βββ¬ unbox-primitive@1.0.1 β β β β βββ function-bind@1.1.1 deduped β β β β βββ has-bigints@1.0.1 deduped β β β β βββ has-symbols@1.0.2 deduped β β β β βββ which-boxed-primitive@1.0.2 deduped β β β βββ foreach@2.0.5 β β β βββ has-tostringtag@1.0.0 deduped β β β βββ¬ is-typed-array@1.1.8 β β β βββ available-typed-arrays@1.0.5 deduped β β β βββ call-bind@1.0.2 deduped β β β βββ es-abstract@1.19.1 deduped β β β βββ foreach@2.0.5 deduped β β β βββ has-tostringtag@1.0.0 deduped β β βββ fast-glob@3.2.7 deduped β β βββ gray-matter@4.0.3 deduped β β βββ¬ json5@2.2.0 β β βββ minimist@1.2.5 deduped β βββ¬ vite-plugin-xdm@0.2.0 β β βββ @rollup/pluginutils@4.1.1 deduped β β βββ js-yaml@4.1.0 deduped β β βββ source-map@0.7.3 β β βββ toml@3.0.0 deduped β βββ¬ vue@3.2.20 β β βββ @vue/compiler-dom@3.2.20 deduped β β βββ @vue/compiler-sfc@3.2.20 deduped β β βββ¬ @vue/runtime-dom@3.2.20 β β β βββ¬ @vue/runtime-core@3.2.20 β β β β βββ @vue/reactivity@3.2.20 deduped β β β β βββ @vue/shared@3.2.20 deduped β β β βββ @vue/shared@3.2.20 deduped β β β βββ csstype@2.6.18 β β βββ @vue/server-renderer@3.2.20 deduped β β βββ @vue/shared@3.2.20 deduped β βββ¬ vue-router@4.0.12 β βββ @vue/devtools-api@6.0.0-beta.19 deduped βββ typescript@4.4.4 βββ¬ vite@2.6.10 β βββ¬ esbuild@0.13.8 β β βββ UNMET OPTIONAL DEPENDENCY esbuild-android-arm64@0.13.8 β β βββ esbuild-darwin-64@0.13.8 β β βββ UNMET OPTIONAL DEPENDENCY esbuild-darwin-arm64@0.13.8 β β βββ UNMET OPTIONAL DEPENDENCY esbuild-freebsd-64@0.13.8 β β βββ UNMET OPTIONAL DEPENDENCY esbuild-freebsd-arm64@0.13.8 β β βββ UNMET OPTIONAL DEPENDENCY esbuild-linux-32@0.13.8 β β βββ UNMET OPTIONAL DEPENDENCY esbuild-linux-64@0.13.8 β β βββ UNMET OPTIONAL DEPENDENCY esbuild-linux-arm@0.13.8 β β βββ UNMET OPTIONAL DEPENDENCY esbuild-linux-arm64@0.13.8 β β βββ UNMET OPTIONAL DEPENDENCY esbuild-linux-mips64le@0.13.8 β β βββ UNMET OPTIONAL DEPENDENCY esbuild-linux-ppc64le@0.13.8 β β βββ UNMET OPTIONAL DEPENDENCY esbuild-netbsd-64@0.13.8 β β βββ UNMET OPTIONAL DEPENDENCY esbuild-openbsd-64@0.13.8 β β βββ UNMET OPTIONAL DEPENDENCY esbuild-sunos-64@0.13.8 β β βββ UNMET OPTIONAL DEPENDENCY esbuild-windows-32@0.13.8 β β βββ UNMET OPTIONAL DEPENDENCY esbuild-windows-64@0.13.8 β β βββ UNMET OPTIONAL DEPENDENCY esbuild-windows-arm64@0.13.8 β βββ fsevents@2.3.2 β βββ¬ postcss@8.3.11 β β βββ nanoid@3.1.30 β β βββ picocolors@1.0.0 β β βββ source-map-js@0.6.2 β βββ¬ resolve@1.20.0 β β βββ¬ is-core-module@2.8.0 β β β βββ¬ has@1.0.3 β β β βββ function-bind@1.1.1 deduped β β βββ path-parse@1.0.7 β βββ¬ rollup@2.58.0 β βββ fsevents@2.3.2 deduped βββ¬ vue-tsc@0.28.7 βββ¬ vscode-vue-languageservice@0.28.7 βββ¬ @volar/code-gen@0.28.7 β βββ @volar/shared@0.28.7 deduped β βββ @volar/source-map@0.28.7 deduped βββ¬ @volar/html2pug@0.28.7 β βββ domelementtype@2.2.0 β βββ¬ domhandler@4.2.2 β β βββ domelementtype@2.2.0 deduped β βββ¬ htmlparser2@7.1.2 β β βββ domelementtype@2.2.0 deduped β β βββ domhandler@4.2.2 deduped β β βββ¬ domutils@2.8.0 β β β βββ¬ dom-serializer@1.3.2 β β β β βββ domelementtype@2.2.0 deduped β β β β βββ domhandler@4.2.2 deduped β β β β βββ entities@2.2.0 β β β βββ domelementtype@2.2.0 deduped β β β βββ domhandler@4.2.2 deduped β β βββ entities@3.0.1 β βββ¬ pug@3.0.2 β βββ¬ pug-code-gen@3.0.2 β β βββ¬ constantinople@4.0.1 β β β βββ @babel/parser@7.15.8 deduped β β β βββ @babel/types@7.15.6 deduped β β βββ doctypes@1.1.0 β β βββ js-stringify@1.0.2 β β βββ¬ pug-attrs@3.0.0 β β β βββ constantinople@4.0.1 deduped β β β βββ js-stringify@1.0.2 deduped β β β βββ pug-runtime@3.0.1 deduped β β βββ pug-error@2.0.0 deduped β β βββ pug-runtime@3.0.1 deduped β β βββ void-elements@3.1.0 β β βββ¬ with@7.0.2 β β βββ @babel/parser@7.15.8 deduped β β βββ @babel/types@7.15.6 deduped β β βββ assert-never@1.2.1 β β βββ¬ babel-walk@3.0.0-canary-5 β β βββ @babel/types@7.15.6 deduped β βββ¬ pug-filters@4.0.0 β β βββ constantinople@4.0.1 deduped β β βββ¬ jstransformer@1.0.0 β β β βββ is-promise@2.2.2 β β β βββ¬ promise@7.3.1 β β β βββ asap@2.0.6 β β βββ pug-error@2.0.0 deduped β β βββ pug-walk@2.0.0 β β βββ resolve@1.20.0 deduped β βββ pug-lexer@5.0.1 deduped β βββ¬ pug-linker@4.0.0 β β βββ pug-error@2.0.0 deduped β β βββ pug-walk@2.0.0 deduped β βββ¬ pug-load@3.0.0 β β βββ object-assign@4.1.1 β β βββ pug-walk@2.0.0 deduped β βββ pug-parser@6.0.0 deduped β βββ pug-runtime@3.0.1 β βββ¬ pug-strip-comments@2.0.0 β βββ pug-error@2.0.0 deduped βββ¬ @volar/shared@0.28.7 β βββ upath@2.0.1 deduped β βββ vscode-jsonrpc@8.0.0-next.3 β βββ vscode-uri@3.0.2 βββ¬ @volar/source-map@0.28.7 β βββ @volar/shared@0.28.7 deduped βββ¬ @volar/transforms@0.28.7 β βββ @volar/shared@0.28.7 deduped β βββ vscode-languageserver@8.0.0-next.3 deduped βββ¬ @vscode/emmet-helper@2.8.2 β βββ¬ emmet@2.3.4 β β βββ¬ @emmetio/abbreviation@2.2.2 β β β βββ @emmetio/scanner@1.0.0 β β βββ¬ @emmetio/css-abbreviation@2.1.4 β β βββ @emmetio/scanner@1.0.0 deduped β βββ jsonc-parser@2.3.1 β βββ vscode-languageserver-textdocument@1.0.2 deduped β βββ vscode-languageserver-types@3.16.0 β βββ vscode-nls@5.0.0 β βββ vscode-uri@2.1.2 βββ @vue/compiler-dom@3.2.20 deduped βββ¬ @vue/reactivity@3.2.20 β βββ @vue/shared@3.2.20 deduped βββ @vue/shared@3.2.20 deduped βββ request-light@0.5.4 βββ upath@2.0.1 βββ¬ vscode-css-languageservice@5.1.7 β βββ vscode-languageserver-textdocument@1.0.2 deduped β βββ vscode-languageserver-types@3.16.0 deduped β βββ vscode-nls@5.0.0 deduped β βββ vscode-uri@3.0.2 deduped βββ¬ vscode-html-languageservice@4.1.0 β βββ vscode-languageserver-textdocument@1.0.2 deduped β βββ vscode-languageserver-types@3.16.0 deduped β βββ vscode-nls@5.0.0 deduped β βββ vscode-uri@3.0.2 deduped βββ¬ vscode-json-languageservice@4.1.8 β βββ jsonc-parser@3.0.0 β βββ vscode-languageserver-textdocument@1.0.2 deduped β βββ vscode-languageserver-types@3.16.0 deduped β βββ vscode-nls@5.0.0 deduped β βββ vscode-uri@3.0.2 deduped βββ¬ vscode-languageserver@8.0.0-next.3 β βββ¬ vscode-languageserver-protocol@3.17.0-next.9 β βββ vscode-jsonrpc@8.0.0-next.3 deduped β βββ vscode-languageserver-types@3.17.0-next.4 βββ vscode-languageserver-textdocument@1.0.2 βββ¬ vscode-pug-languageservice@0.28.7 β βββ @volar/code-gen@0.28.7 deduped β βββ @volar/shared@0.28.7 deduped β βββ @volar/source-map@0.28.7 deduped β βββ @volar/transforms@0.28.7 deduped β βββ¬ pug-lexer@5.0.1 β β βββ¬ character-parser@2.2.0 β β β βββ is-regex@1.1.4 deduped β β βββ¬ is-expression@4.0.0 β β β βββ acorn@7.4.1 β β β βββ object-assign@4.1.1 deduped β β βββ pug-error@2.0.0 β βββ¬ pug-parser@6.0.0 β β βββ pug-error@2.0.0 deduped β β βββ token-stream@1.0.0 β βββ vscode-languageserver@8.0.0-next.3 deduped βββ¬ vscode-typescript-languageservice@0.28.7 βββ @volar/shared@0.28.7 deduped βββ¬ semver@7.3.5 β βββ lru-cache@6.0.0 deduped βββ upath@2.0.1 deduped βββ vscode-languageserver@8.0.0-next.3 deduped βββ vscode-languageserver-textdocument@1.0.2 deduped ```Logs π
Output
_Run `DEBUG=iles:* npm run dev` or `DEBUG=iles:* npm run build` and provide the output:_ ``` DEBUG=iles:* npm run dev > iles-app@0.0.0 dev /Users/username/Projects/Personal/iles-app > iles dev --open internal/modules/cjs/loader.js:888 throw err; ^ Error: Cannot find module 'node:module' Require stack: - /Users/username/Projects/Personal/iles-app/node_modules/iles/dist/node/chunk-PWUXNJ4P.js - /Users/username/Projects/Personal/iles-app/node_modules/iles/dist/node/chunk-OCYMQT24.js - /Users/username/Projects/Personal/iles-app/node_modules/iles/dist/node/chunk-2NX7D2UF.js - /Users/username/Projects/Personal/iles-app/node_modules/iles/dist/node/chunk-NX4IGNBC.js - /Users/username/Projects/Personal/iles-app/node_modules/iles/dist/node/chunk-HFW6SP7X.js - /Users/username/Projects/Personal/iles-app/node_modules/iles/dist/node/chunk-R77VKQUY.js - /Users/username/Projects/Personal/iles-app/node_modules/iles/dist/node/chunk-LI2W36WD.js - /Users/username/Projects/Personal/iles-app/node_modules/iles/dist/node/cli.js - /Users/username/Projects/Personal/iles-app/node_modules/iles/bin/iles.js at Function.Module._resolveFilename (internal/modules/cjs/loader.js:885:15) at Function.Module._load (internal/modules/cjs/loader.js:730:27) at Module.require (internal/modules/cjs/loader.js:957:19) at require (internal/modules/cjs/helpers.js:88:18) at Object.Screenshots π·
Provide console or browser screenshots of the problem.