violentmonkey / generator-userscript

A yeoman generator to create a userscript project rapidly
95 stars 5 forks source link

Can neither run dev server nor build #7

Closed KnifeFed closed 2 years ago

KnifeFed commented 2 years ago

On a freshly created project I get this:

log ``` $ npx -p https://github.com/violentmonkey/generator-userscript.git -p yo yo @violentmonkey/userscript ? Your project name test1234 ? Do you want to use TypeScript? Yes create package.json create LICENSE create README.md create .babelrc.js create .browserslistrc create .editorconfig create .eslintignore create .gitignore create rollup.conf.js create scripts/util.js create .eslintrc.js create tsconfig.json create tslint.json create src/meta.js create src/index.ts create src/app.tsx create src/index.d.ts create src/style.module.css 1.22.19 yarn add v1.22.19 info No lockfile found. [1/4] πŸ” Resolving packages... warning rollup-plugin-babel@4.4.0: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-babel. warning @gera2ld/plaid > babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates. warning @gera2ld/plaid > svgo@1.3.2: This SVGO version is no longer supported. Upgrade to v2.x.x. warning @gera2ld/plaid > precss@4.0.0: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. warning @gera2ld/plaid > svgo > stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility warning @gera2ld/plaid > precss > postcss-preset-env > postcss-color-functional-notation > postcss-values-parser > flatten@1.0.3: flatten is deprecated in favor of utility frameworks such as lodash. warning cssnano > cssnano-preset-default > postcss-svgo > svgo > stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility [2/4] 🚚 Fetching packages... [3/4] πŸ”— Linking dependencies... warning "@gera2ld/plaid > eslint-config-airbnb@18.2.1" has unmet peer dependency "eslint-plugin-react-hooks@^4 || ^3 || ^2.3.0 || ^1.7.0". warning " > @gera2ld/plaid-react@1.5.5" has unmet peer dependency "@gera2ld/plaid-webpack@*". warning "@gera2ld/plaid-react > @babel/preset-react@7.18.6" has unmet peer dependency "@babel/core@^7.0.0-0". warning "@gera2ld/plaid-react > @babel/preset-react > @babel/plugin-transform-react-display-name@7.18.6" has unmet peer dependency "@babel/core@^7.0.0-0". warning "@gera2ld/plaid-react > @babel/preset-react > @babel/plugin-transform-react-jsx-development@7.18.6" has unmet peer dependency "@babel/core@^7.0.0-0". warning "@gera2ld/plaid-react > @babel/preset-react > @babel/plugin-transform-react-jsx@7.18.10" has unmet peer dependency "@babel/core@^7.0.0-0". warning "@gera2ld/plaid-react > @babel/preset-react > @babel/plugin-transform-react-pure-annotations@7.18.6" has unmet peer dependency "@babel/core@^7.0.0-0". warning "@gera2ld/plaid-react > @babel/preset-react > @babel/plugin-transform-react-jsx > @babel/plugin-syntax-jsx@7.18.6" has unmet peer dependency "@babel/core@^7.0.0-0". warning "@babel/preset-typescript > @babel/plugin-transform-typescript@7.18.12" has unmet peer dependency "@babel/core@^7.0.0-0". warning "@babel/preset-typescript > @babel/plugin-transform-typescript > @babel/plugin-syntax-typescript@7.18.6" has unmet peer dependency "@babel/core@^7.0.0-0". warning "@typescript-eslint/eslint-plugin > @typescript-eslint/type-utils@5.33.1" has unmet peer dependency "eslint@*". warning "@typescript-eslint/eslint-plugin > @typescript-eslint/utils@5.33.1" has unmet peer dependency "eslint@^6.0.0 || ^7.0.0 || ^8.0.0". warning "@typescript-eslint/eslint-plugin > @typescript-eslint/utils > eslint-utils@3.0.0" has unmet peer dependency "eslint@>=5". warning " > rollup-plugin-babel@4.4.0" has unmet peer dependency "@babel/core@7 || ^7.0.0-rc.2". warning " > @babel/preset-typescript@7.18.6" has unmet peer dependency "@babel/core@^7.0.0-0". warning " > @typescript-eslint/parser@5.33.1" has unmet peer dependency "eslint@^6.0.0 || ^7.0.0 || ^8.0.0". warning " > @typescript-eslint/eslint-plugin@5.33.1" has unmet peer dependency "eslint@^6.0.0 || ^7.0.0 || ^8.0.0". [4/4] πŸ”¨ Building fresh packages... success Saved lockfile. success Saved 485 new dependencies. info Direct dependencies β”œβ”€ @babel/preset-typescript@7.18.6 β”œβ”€ @gera2ld/plaid-react@1.5.5 β”œβ”€ @gera2ld/plaid@1.5.6 β”œβ”€ @rollup/plugin-alias@3.1.9 β”œβ”€ @rollup/plugin-commonjs@22.0.2 β”œβ”€ @rollup/plugin-node-resolve@13.3.0 β”œβ”€ @rollup/plugin-replace@4.0.0 β”œβ”€ @typescript-eslint/eslint-plugin@5.33.1 β”œβ”€ @typescript-eslint/parser@5.33.1 β”œβ”€ cross-env@7.0.3 β”œβ”€ cssnano@5.1.13 β”œβ”€ del-cli@5.0.0 β”œβ”€ husky@8.0.1 β”œβ”€ postcss-modules@5.0.0 β”œβ”€ postcss@8.4.16 β”œβ”€ rollup-plugin-babel@4.4.0 β”œβ”€ rollup@2.78.1 └─ typescript@4.7.4 info All dependencies β”œβ”€ @ampproject/remapping@2.2.0 β”œβ”€ @babel/core@7.18.10 β”œβ”€ @babel/helper-builder-binary-assignment-operator-visitor@7.18.9 β”œβ”€ @babel/helper-compilation-targets@7.18.9 β”œβ”€ @babel/helper-explode-assignable-expression@7.18.6 β”œβ”€ @babel/helper-remap-async-to-generator@7.18.9 β”œβ”€ @babel/helper-replace-supers@7.18.9 β”œβ”€ @babel/helper-string-parser@7.18.10 β”œβ”€ @babel/helper-wrap-function@7.18.11 β”œβ”€ @babel/helpers@7.18.9 β”œβ”€ @babel/highlight@7.18.6 β”œβ”€ @babel/parser@7.18.11 β”œβ”€ @babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.18.6 β”œβ”€ @babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@7.18.9 β”œβ”€ @babel/plugin-proposal-async-generator-functions@7.18.10 β”œβ”€ @babel/plugin-proposal-class-properties@7.18.6 β”œβ”€ @babel/plugin-proposal-class-static-block@7.18.6 β”œβ”€ @babel/plugin-proposal-decorators@7.18.10 β”œβ”€ @babel/plugin-proposal-dynamic-import@7.18.6 β”œβ”€ @babel/plugin-proposal-export-default-from@7.18.10 β”œβ”€ @babel/plugin-proposal-export-namespace-from@7.18.9 β”œβ”€ @babel/plugin-proposal-function-sent@7.18.6 β”œβ”€ @babel/plugin-proposal-json-strings@7.18.6 β”œβ”€ @babel/plugin-proposal-logical-assignment-operators@7.18.9 β”œβ”€ @babel/plugin-proposal-nullish-coalescing-operator@7.18.6 β”œβ”€ @babel/plugin-proposal-numeric-separator@7.18.6 β”œβ”€ @babel/plugin-proposal-object-rest-spread@7.18.9 β”œβ”€ @babel/plugin-proposal-optional-catch-binding@7.18.6 β”œβ”€ @babel/plugin-proposal-pipeline-operator@7.18.9 β”œβ”€ @babel/plugin-proposal-private-methods@7.18.6 β”œβ”€ @babel/plugin-proposal-private-property-in-object@7.18.6 β”œβ”€ @babel/plugin-proposal-throw-expressions@7.18.6 β”œβ”€ @babel/plugin-proposal-unicode-property-regex@7.18.6 β”œβ”€ @babel/plugin-syntax-class-properties@7.12.13 β”œβ”€ @babel/plugin-syntax-decorators@7.18.6 β”œβ”€ @babel/plugin-syntax-export-default-from@7.18.6 β”œβ”€ @babel/plugin-syntax-function-sent@7.18.6 β”œβ”€ @babel/plugin-syntax-import-assertions@7.18.6 β”œβ”€ @babel/plugin-syntax-import-meta@7.10.4 β”œβ”€ @babel/plugin-syntax-jsx@7.18.6 β”œβ”€ @babel/plugin-syntax-pipeline-operator@7.18.6 β”œβ”€ @babel/plugin-syntax-throw-expressions@7.18.6 β”œβ”€ @babel/plugin-syntax-top-level-await@7.14.5 β”œβ”€ @babel/plugin-syntax-typescript@7.18.6 β”œβ”€ @babel/plugin-transform-arrow-functions@7.18.6 β”œβ”€ @babel/plugin-transform-async-to-generator@7.18.6 β”œβ”€ @babel/plugin-transform-block-scoped-functions@7.18.6 β”œβ”€ @babel/plugin-transform-block-scoping@7.18.9 β”œβ”€ @babel/plugin-transform-classes@7.18.9 β”œβ”€ @babel/plugin-transform-computed-properties@7.18.9 β”œβ”€ @babel/plugin-transform-destructuring@7.18.9 β”œβ”€ @babel/plugin-transform-dotall-regex@7.18.6 β”œβ”€ @babel/plugin-transform-duplicate-keys@7.18.9 β”œβ”€ @babel/plugin-transform-exponentiation-operator@7.18.6 β”œβ”€ @babel/plugin-transform-for-of@7.18.8 β”œβ”€ @babel/plugin-transform-function-name@7.18.9 β”œβ”€ @babel/plugin-transform-literals@7.18.9 β”œβ”€ @babel/plugin-transform-member-expression-literals@7.18.6 β”œβ”€ @babel/plugin-transform-modules-amd@7.18.6 β”œβ”€ @babel/plugin-transform-modules-commonjs@7.18.6 β”œβ”€ @babel/plugin-transform-modules-systemjs@7.18.9 β”œβ”€ @babel/plugin-transform-modules-umd@7.18.6 β”œβ”€ @babel/plugin-transform-named-capturing-groups-regex@7.18.6 β”œβ”€ @babel/plugin-transform-new-target@7.18.6 β”œβ”€ @babel/plugin-transform-object-super@7.18.6 β”œβ”€ @babel/plugin-transform-property-literals@7.18.6 β”œβ”€ @babel/plugin-transform-react-display-name@7.18.6 β”œβ”€ @babel/plugin-transform-react-jsx-development@7.18.6 β”œβ”€ @babel/plugin-transform-react-pure-annotations@7.18.6 β”œβ”€ @babel/plugin-transform-regenerator@7.18.6 β”œβ”€ @babel/plugin-transform-reserved-words@7.18.6 β”œβ”€ @babel/plugin-transform-runtime@7.18.10 β”œβ”€ @babel/plugin-transform-shorthand-properties@7.18.6 β”œβ”€ @babel/plugin-transform-spread@7.18.9 β”œβ”€ @babel/plugin-transform-sticky-regex@7.18.6 β”œβ”€ @babel/plugin-transform-template-literals@7.18.9 β”œβ”€ @babel/plugin-transform-typeof-symbol@7.18.9 β”œβ”€ @babel/plugin-transform-typescript@7.18.12 β”œβ”€ @babel/plugin-transform-unicode-escapes@7.18.10 β”œβ”€ @babel/plugin-transform-unicode-regex@7.18.6 β”œβ”€ @babel/preset-env@7.18.10 β”œβ”€ @babel/preset-modules@0.1.5 β”œβ”€ @babel/preset-react@7.18.6 β”œβ”€ @babel/preset-typescript@7.18.6 β”œβ”€ @babel/runtime-corejs3@7.18.9 β”œβ”€ @babel/runtime@7.18.9 β”œβ”€ @csstools/sass-import-resolve@1.0.0 β”œβ”€ @gera2ld/plaid-react@1.5.5 β”œβ”€ @gera2ld/plaid@1.5.6 β”œβ”€ @jridgewell/gen-mapping@0.1.1 β”œβ”€ @jridgewell/resolve-uri@3.1.0 β”œβ”€ @jridgewell/set-array@1.1.2 β”œβ”€ @nodelib/fs.scandir@2.1.5 β”œβ”€ @nodelib/fs.stat@2.0.5 β”œβ”€ @nodelib/fs.walk@1.2.8 β”œβ”€ @rollup/plugin-alias@3.1.9 β”œβ”€ @rollup/plugin-commonjs@22.0.2 β”œβ”€ @rollup/plugin-node-resolve@13.3.0 β”œβ”€ @rollup/plugin-replace@4.0.0 β”œβ”€ @trysound/sax@0.2.0 β”œβ”€ @types/estree@1.0.0 β”œβ”€ @types/json-schema@7.0.11 β”œβ”€ @types/json5@0.0.29 β”œβ”€ @types/minimist@1.2.2 β”œβ”€ @types/node@18.7.8 β”œβ”€ @types/normalize-package-data@2.4.1 β”œβ”€ @types/parse-json@4.0.0 β”œβ”€ @types/q@1.5.5 β”œβ”€ @types/resolve@1.17.1 β”œβ”€ @typescript-eslint/eslint-plugin@5.33.1 β”œβ”€ @typescript-eslint/parser@5.33.1 β”œβ”€ @typescript-eslint/type-utils@5.33.1 β”œβ”€ acorn-jsx@5.3.2 β”œβ”€ acorn@7.4.1 β”œβ”€ aggregate-error@4.0.1 β”œβ”€ ajv@6.12.6 β”œβ”€ ansi-escapes@4.3.2 β”œβ”€ ansi-styles@3.2.1 β”œβ”€ argparse@1.0.10 β”œβ”€ aria-query@4.2.2 β”œβ”€ array-union@2.1.0 β”œβ”€ array.prototype.flat@1.3.0 β”œβ”€ array.prototype.flatmap@1.3.0 β”œβ”€ array.prototype.reduce@1.0.4 β”œβ”€ arrify@1.0.1 β”œβ”€ ast-types-flow@0.0.7 β”œβ”€ astral-regex@1.0.0 β”œβ”€ autoprefixer@9.8.8 β”œβ”€ axe-core@4.4.3 β”œβ”€ axobject-query@2.2.0 β”œβ”€ babel-eslint@10.1.0 β”œβ”€ babel-plugin-macros@2.8.0 β”œβ”€ babel-plugin-module-resolver@4.1.0 β”œβ”€ brace-expansion@1.1.11 β”œβ”€ braces@3.0.2 β”œβ”€ builtin-modules@3.3.0 β”œβ”€ callsites@3.1.0 β”œβ”€ camelcase-keys@7.0.2 β”œβ”€ camelcase@6.3.0 β”œβ”€ caniuse-lite@1.0.30001380 β”œβ”€ chalk@2.4.2 β”œβ”€ chardet@0.7.0 β”œβ”€ clean-stack@4.2.0 β”œβ”€ cli-cursor@3.1.0 β”œβ”€ cli-width@3.0.0 β”œβ”€ clone@1.0.4 β”œβ”€ coa@2.0.2 β”œβ”€ color-convert@1.9.3 β”œβ”€ color-name@1.1.4 β”œβ”€ color-string@0.3.0 β”œβ”€ color@0.11.4 β”œβ”€ commander@4.1.1 β”œβ”€ commondir@1.0.1 β”œβ”€ concat-map@0.0.1 β”œβ”€ confusing-browser-globals@1.0.11 β”œβ”€ convert-source-map@1.8.0 β”œβ”€ core-js-compat@3.24.1 β”œβ”€ core-js-pure@3.24.1 β”œβ”€ cross-env@7.0.3 β”œβ”€ cross-spawn@7.0.3 β”œβ”€ css-blank-pseudo@0.1.4 β”œβ”€ css-color-function@1.3.3 β”œβ”€ css-declaration-sorter@6.3.0 β”œβ”€ css-has-pseudo@0.10.0 β”œβ”€ css-prefers-color-scheme@3.1.1 β”œβ”€ css-select-base-adapter@0.1.1 β”œβ”€ css-select@2.1.0 β”œβ”€ css-tree@1.1.3 β”œβ”€ css-what@3.4.2 β”œβ”€ cssdb@4.4.0 β”œβ”€ cssesc@3.0.0 β”œβ”€ cssnano-preset-default@5.2.12 β”œβ”€ cssnano@5.1.13 β”œβ”€ csso@4.2.0 β”œβ”€ damerau-levenshtein@1.0.8 β”œβ”€ decamelize-keys@1.1.0 β”œβ”€ decamelize@5.0.1 β”œβ”€ deep-is@0.1.4 β”œβ”€ deepmerge@4.2.2 β”œβ”€ del-cli@5.0.0 β”œβ”€ del@7.0.0 β”œβ”€ dom-serializer@0.2.2 β”œβ”€ domutils@1.7.0 β”œβ”€ electron-to-chromium@1.4.225 β”œβ”€ emoji-regex@9.2.2 β”œβ”€ error-ex@1.3.2 β”œβ”€ es-array-method-boxes-properly@1.0.0 β”œβ”€ es-to-primitive@1.2.1 β”œβ”€ escalade@3.1.1 β”œβ”€ eslint-config-airbnb-base@14.2.1 β”œβ”€ eslint-import-resolver-babel-module@5.3.1 β”œβ”€ eslint-import-resolver-node@0.3.6 β”œβ”€ eslint-module-utils@2.7.4 β”œβ”€ eslint-plugin-babel@5.3.1 β”œβ”€ eslint-plugin-import@2.26.0 β”œβ”€ eslint-plugin-jsx-a11y@6.6.1 β”œβ”€ eslint-plugin-react@7.30.1 β”œβ”€ eslint-rule-composer@0.3.0 β”œβ”€ eslint-scope@5.1.1 β”œβ”€ eslint-utils@1.4.3 β”œβ”€ eslint@6.8.0 β”œβ”€ espree@6.2.1 β”œβ”€ esprima@4.0.1 β”œβ”€ esquery@1.4.0 β”œβ”€ esrecurse@4.3.0 β”œβ”€ estraverse@5.3.0 β”œβ”€ estree-walker@2.0.2 β”œβ”€ external-editor@3.1.0 β”œβ”€ fast-deep-equal@3.1.3 β”œβ”€ fast-glob@3.2.11 β”œβ”€ fast-json-stable-stringify@2.1.0 β”œβ”€ fast-levenshtein@2.0.6 β”œβ”€ fastq@1.13.0 β”œβ”€ figures@3.2.0 β”œβ”€ file-entry-cache@5.0.1 β”œβ”€ fill-range@7.0.1 β”œβ”€ find-babel-config@1.2.0 β”œβ”€ find-up@3.0.0 β”œβ”€ flat-cache@2.0.1 β”œβ”€ flatted@2.0.2 β”œβ”€ flatten@1.0.3 β”œβ”€ fs-extra@8.1.0 β”œβ”€ fs.realpath@1.0.0 β”œβ”€ fsevents@2.3.2 β”œβ”€ function.prototype.name@1.1.5 β”œβ”€ generic-names@4.0.0 β”œβ”€ gensync@1.0.0-beta.2 β”œβ”€ get-symbol-description@1.0.0 β”œβ”€ glob-parent@5.1.2 β”œβ”€ globby@11.1.0 β”œβ”€ graceful-fs@4.2.10 β”œβ”€ hard-rejection@2.1.0 β”œβ”€ has-ansi@2.0.0 β”œβ”€ has-bigints@1.0.2 β”œβ”€ has-flag@3.0.0 β”œβ”€ hosted-git-info@4.1.0 β”œβ”€ husky@8.0.1 β”œβ”€ iconv-lite@0.4.24 β”œβ”€ icss-replace-symbols@1.1.0 β”œβ”€ import-fresh@3.3.0 β”œβ”€ imurmurhash@0.1.4 β”œβ”€ inflight@1.0.6 β”œβ”€ inherits@2.0.4 β”œβ”€ inquirer@7.3.3 β”œβ”€ is-arrayish@0.2.1 β”œβ”€ is-bigint@1.0.4 β”œβ”€ is-boolean-object@1.1.2 β”œβ”€ is-builtin-module@3.2.0 β”œβ”€ is-callable@1.2.4 β”œβ”€ is-core-module@2.10.0 β”œβ”€ is-date-object@1.0.5 β”œβ”€ is-extglob@2.1.1 β”œβ”€ is-module@1.0.0 β”œβ”€ is-negative-zero@2.0.2 β”œβ”€ is-number-object@1.0.7 β”œβ”€ is-number@7.0.0 β”œβ”€ is-path-cwd@3.0.0 β”œβ”€ is-path-inside@4.0.0 β”œβ”€ is-plain-obj@1.1.0 β”œβ”€ is-reference@1.2.1 β”œβ”€ is-regex@1.1.4 β”œβ”€ is-shared-array-buffer@1.0.2 β”œβ”€ is-string@1.0.7 β”œβ”€ is-symbol@1.0.4 β”œβ”€ is-weakref@1.0.2 β”œβ”€ js-base64@2.6.4 β”œβ”€ js-tokens@4.0.0 β”œβ”€ jsesc@2.5.2 β”œβ”€ json-parse-even-better-errors@2.3.1 β”œβ”€ json-schema-traverse@0.4.1 β”œβ”€ json-stable-stringify-without-jsonify@1.0.1 β”œβ”€ json5@2.2.1 β”œβ”€ jsonfile@4.0.0 β”œβ”€ jsx-ast-utils@3.3.3 β”œβ”€ kind-of@6.0.3 β”œβ”€ language-subtag-registry@0.3.22 β”œβ”€ language-tags@1.0.5 β”œβ”€ levn@0.3.0 β”œβ”€ lilconfig@2.0.6 β”œβ”€ lines-and-columns@1.2.4 β”œβ”€ loader-utils@3.2.0 β”œβ”€ locate-path@3.0.0 β”œβ”€ lodash.camelcase@4.3.0 β”œβ”€ lodash.debounce@4.0.8 β”œβ”€ lodash.memoize@4.1.2 β”œβ”€ lodash.uniq@4.5.0 β”œβ”€ loose-envify@1.4.0 β”œβ”€ map-obj@1.0.1 β”œβ”€ mdn-data@2.0.14 β”œβ”€ meow@10.1.3 β”œβ”€ micromatch@4.0.5 β”œβ”€ mimic-fn@2.1.0 β”œβ”€ min-indent@1.0.1 β”œβ”€ minimatch@3.1.2 β”œβ”€ minimist-options@4.1.0 β”œβ”€ ms@2.1.2 β”œβ”€ mute-stream@0.0.8 β”œβ”€ nanoid@3.3.4 β”œβ”€ natural-compare@1.4.0 β”œβ”€ nice-try@1.0.5 β”œβ”€ node-releases@2.0.6 β”œβ”€ normalize-range@0.1.2 β”œβ”€ normalize-url@6.1.0 β”œβ”€ nth-check@1.0.2 β”œβ”€ num2fraction@1.2.2 β”œβ”€ object-assign@4.1.1 β”œβ”€ object-inspect@1.12.2 β”œβ”€ object.fromentries@2.0.5 β”œβ”€ object.getownpropertydescriptors@2.1.4 β”œβ”€ object.hasown@1.1.1 β”œβ”€ object.values@1.1.5 β”œβ”€ onetime@5.1.2 β”œβ”€ optionator@0.8.3 β”œβ”€ os-tmpdir@1.0.2 β”œβ”€ p-limit@2.3.0 β”œβ”€ p-locate@3.0.0 β”œβ”€ p-map@5.5.0 β”œβ”€ p-try@2.2.0 β”œβ”€ parent-module@1.0.1 β”œβ”€ parse-json@5.2.0 β”œβ”€ path-is-absolute@1.0.1 β”œβ”€ path-key@3.1.1 β”œβ”€ picomatch@2.3.1 β”œβ”€ pify@2.3.0 β”œβ”€ postcss-advanced-variables@3.0.1 β”œβ”€ postcss-atroot@0.1.3 β”œβ”€ postcss-attribute-case-insensitive@4.0.2 β”œβ”€ postcss-calc@7.0.5 β”œβ”€ postcss-color-function@4.1.0 β”œβ”€ postcss-color-functional-notation@2.0.1 β”œβ”€ postcss-color-gray@5.0.0 β”œβ”€ postcss-color-hex-alpha@5.0.3 β”œβ”€ postcss-color-mod-function@3.0.3 β”œβ”€ postcss-color-rebeccapurple@4.0.1 β”œβ”€ postcss-colormin@5.3.0 β”œβ”€ postcss-convert-values@5.1.2 β”œβ”€ postcss-custom-media@7.0.8 β”œβ”€ postcss-custom-properties@8.0.11 β”œβ”€ postcss-custom-selectors@5.1.2 β”œβ”€ postcss-dir-pseudo-class@5.0.0 β”œβ”€ postcss-discard-comments@5.1.2 β”œβ”€ postcss-discard-duplicates@5.1.0 β”œβ”€ postcss-discard-empty@5.1.1 β”œβ”€ postcss-discard-overridden@5.1.0 β”œβ”€ postcss-double-position-gradients@1.0.0 β”œβ”€ postcss-env-function@2.0.2 β”œβ”€ postcss-extend-rule@2.0.0 β”œβ”€ postcss-focus-visible@4.0.0 β”œβ”€ postcss-focus-within@3.0.0 β”œβ”€ postcss-font-variant@4.0.1 β”œβ”€ postcss-gap-properties@2.0.0 β”œβ”€ postcss-image-set-function@3.0.1 β”œβ”€ postcss-import@12.0.1 β”œβ”€ postcss-initial@3.0.4 β”œβ”€ postcss-lab-function@2.0.1 β”œβ”€ postcss-logical@3.0.0 β”œβ”€ postcss-media-minmax@4.0.0 β”œβ”€ postcss-merge-longhand@5.1.6 β”œβ”€ postcss-merge-rules@5.1.2 β”œβ”€ postcss-message-helpers@2.0.0 β”œβ”€ postcss-minify-font-values@5.1.0 β”œβ”€ postcss-minify-gradients@5.1.1 β”œβ”€ postcss-minify-params@5.1.3 β”œβ”€ postcss-minify-selectors@5.2.1 β”œβ”€ postcss-modules-extract-imports@3.0.0 β”œβ”€ postcss-modules-local-by-default@4.0.0 β”œβ”€ postcss-modules-scope@3.0.0 β”œβ”€ postcss-modules-values@4.0.0 β”œβ”€ postcss-modules@5.0.0 β”œβ”€ postcss-nested@4.2.3 β”œβ”€ postcss-nesting@5.0.0 β”œβ”€ postcss-normalize-charset@5.1.0 β”œβ”€ postcss-normalize-display-values@5.1.0 β”œβ”€ postcss-normalize-positions@5.1.1 β”œβ”€ postcss-normalize-repeat-style@5.1.1 β”œβ”€ postcss-normalize-string@5.1.0 β”œβ”€ postcss-normalize-timing-functions@5.1.0 β”œβ”€ postcss-normalize-unicode@5.1.0 β”œβ”€ postcss-normalize-url@5.1.0 β”œβ”€ postcss-normalize-whitespace@5.1.1 β”œβ”€ postcss-ordered-values@5.1.3 β”œβ”€ postcss-overflow-shorthand@2.0.0 β”œβ”€ postcss-page-break@2.0.0 β”œβ”€ postcss-place@4.0.1 β”œβ”€ postcss-plugin-px2rem@0.8.1 β”œβ”€ postcss-preset-env@6.7.1 β”œβ”€ postcss-property-lookup@2.0.0 β”œβ”€ postcss-pseudo-class-any-link@6.0.0 β”œβ”€ postcss-reduce-initial@5.1.0 β”œβ”€ postcss-reduce-transforms@5.1.0 β”œβ”€ postcss-replace-overflow-wrap@3.0.0 β”œβ”€ postcss-scss@2.1.1 β”œβ”€ postcss-selector-matches@4.0.0 β”œβ”€ postcss-selector-not@4.0.1 β”œβ”€ postcss-svgo@5.1.0 β”œβ”€ postcss-unique-selectors@5.1.1 β”œβ”€ postcss@8.4.16 β”œβ”€ precss@4.0.0 β”œβ”€ progress@2.0.3 β”œβ”€ prop-types@15.8.1 β”œβ”€ punycode@2.1.1 β”œβ”€ q@1.5.1 β”œβ”€ queue-microtask@1.2.3 β”œβ”€ quick-lru@5.1.1 β”œβ”€ react-is@16.13.1 β”œβ”€ read-cache@1.0.0 β”œβ”€ read-pkg-up@8.0.0 β”œβ”€ read-pkg@6.0.0 β”œβ”€ redent@4.0.0 β”œβ”€ regenerate-unicode-properties@10.0.1 β”œβ”€ regenerator-transform@0.15.0 β”œβ”€ regexp.prototype.flags@1.4.3 β”œβ”€ regexpp@3.2.0 β”œβ”€ regexpu-core@5.1.0 β”œβ”€ regjsgen@0.6.0 β”œβ”€ regjsparser@0.8.4 β”œβ”€ reselect@4.1.6 β”œβ”€ resolve-from@4.0.0 β”œβ”€ resolve@1.22.1 β”œβ”€ restore-cursor@3.1.0 β”œβ”€ reusify@1.0.4 β”œβ”€ rgb@0.1.0 β”œβ”€ rimraf@3.0.2 β”œβ”€ rollup-plugin-babel@4.4.0 β”œβ”€ rollup-pluginutils@2.8.2 β”œβ”€ rollup@2.78.1 β”œβ”€ run-async@2.4.1 β”œβ”€ run-parallel@1.2.0 β”œβ”€ rxjs@6.6.7 β”œβ”€ safe-buffer@5.1.2 β”œβ”€ safer-buffer@2.1.2 β”œβ”€ sax@1.2.4 β”œβ”€ shebang-command@2.0.0 β”œβ”€ shebang-regex@3.0.0 β”œβ”€ signal-exit@3.0.7 β”œβ”€ slice-ansi@2.1.0 β”œβ”€ source-map-js@1.0.2 β”œβ”€ sourcemap-codec@1.4.8 β”œβ”€ spdx-correct@3.1.1 β”œβ”€ spdx-exceptions@2.3.0 β”œβ”€ sprintf-js@1.0.3 β”œβ”€ string-hash@1.1.3 β”œβ”€ string-width@3.1.0 β”œβ”€ string.prototype.matchall@4.0.7 β”œβ”€ string.prototype.trimend@1.0.5 β”œβ”€ string.prototype.trimstart@1.0.5 β”œβ”€ strip-ansi@5.2.0 β”œβ”€ strip-bom@3.0.0 β”œβ”€ strip-indent@4.0.0 β”œβ”€ strip-json-comments@3.1.1 β”œβ”€ stylehacks@5.1.0 β”œβ”€ supports-color@5.5.0 β”œβ”€ svgo@1.3.2 β”œβ”€ table@5.4.6 β”œβ”€ tcomb@3.2.29 β”œβ”€ text-table@0.2.0 β”œβ”€ through@2.3.8 β”œβ”€ tmp@0.0.33 β”œβ”€ to-fast-properties@2.0.0 β”œβ”€ to-regex-range@5.0.1 β”œβ”€ trim-newlines@4.0.2 β”œβ”€ tsconfig-paths@3.14.1 β”œβ”€ tslib@1.14.1 β”œβ”€ typescript@4.7.4 β”œβ”€ unbox-primitive@1.0.2 β”œβ”€ unicode-canonical-property-names-ecmascript@2.0.0 β”œβ”€ unicode-match-property-ecmascript@2.0.0 β”œβ”€ unicode-match-property-value-ecmascript@2.0.0 β”œβ”€ unicode-property-aliases-ecmascript@2.0.0 β”œβ”€ universalify@0.1.2 β”œβ”€ unquote@1.1.1 β”œβ”€ update-browserslist-db@1.0.5 β”œβ”€ uri-js@4.4.1 β”œβ”€ util-deprecate@1.0.2 β”œβ”€ util.promisify@1.0.1 β”œβ”€ v8-compile-cache@2.3.0 β”œβ”€ validate-npm-package-license@3.0.4 β”œβ”€ which-boxed-primitive@1.0.2 β”œβ”€ which@2.0.2 β”œβ”€ word-wrap@1.2.3 β”œβ”€ write@1.0.3 β”œβ”€ yallist@4.0.0 β”œβ”€ yaml@1.10.2 β”œβ”€ yargs-parser@20.2.9 └─ yocto-queue@0.1.0 ✨ Done in 24.10s. yarn add v1.22.19 [1/4] πŸ” Resolving packages... [2/4] 🚚 Fetching packages... warning Pattern ["@babel/runtime@^7.18.9"] is trying to unpack in the same destination "/Users//Library/Caches/Yarn/v6/npm-@babel-runtime-7.18.9-b4fcfce55db3d2e5e080d2490f608a3b9f407f4a-integrity/node_modules/@babel/runtime" as pattern ["@babel/runtime@^7.7.2","@babel/runtime@^7.18.9","@babel/runtime@^7.10.2","@babel/runtime@^7.8.4"]. This could result in non-deterministic behavior, skipping. [3/4] πŸ”— Linking dependencies... warning " > @babel/preset-typescript@7.18.6" has unmet peer dependency "@babel/core@^7.0.0-0". warning "@babel/preset-typescript > @babel/plugin-transform-typescript@7.18.12" has unmet peer dependency "@babel/core@^7.0.0-0". warning "@babel/preset-typescript > @babel/plugin-transform-typescript > @babel/helper-create-class-features-plugin@7.18.9" has unmet peer dependency "@babel/core@^7.0.0". warning "@babel/preset-typescript > @babel/plugin-transform-typescript > @babel/plugin-syntax-typescript@7.18.6" has unmet peer dependency "@babel/core@^7.0.0-0". warning "@gera2ld/plaid > eslint-config-airbnb@18.2.1" has unmet peer dependency "eslint-plugin-react-hooks@^4 || ^3 || ^2.3.0 || ^1.7.0". warning " > @gera2ld/plaid-react@1.5.5" has unmet peer dependency "@gera2ld/plaid-webpack@*". warning "@gera2ld/plaid-react > @babel/preset-react@7.18.6" has unmet peer dependency "@babel/core@^7.0.0-0". warning "@gera2ld/plaid-react > @babel/preset-react > @babel/plugin-transform-react-display-name@7.18.6" has unmet peer dependency "@babel/core@^7.0.0-0". warning "@gera2ld/plaid-react > @babel/preset-react > @babel/plugin-transform-react-jsx@7.18.10" has unmet peer dependency "@babel/core@^7.0.0-0". warning "@gera2ld/plaid-react > @babel/preset-react > @babel/plugin-transform-react-jsx-development@7.18.6" has unmet peer dependency "@babel/core@^7.0.0-0". warning "@gera2ld/plaid-react > @babel/preset-react > @babel/plugin-transform-react-pure-annotations@7.18.6" has unmet peer dependency "@babel/core@^7.0.0-0". warning "@gera2ld/plaid-react > @babel/preset-react > @babel/plugin-transform-react-jsx > @babel/plugin-syntax-jsx@7.18.6" has unmet peer dependency "@babel/core@^7.0.0-0". warning " > @typescript-eslint/eslint-plugin@5.33.1" has unmet peer dependency "eslint@^6.0.0 || ^7.0.0 || ^8.0.0". warning "@typescript-eslint/eslint-plugin > @typescript-eslint/type-utils@5.33.1" has unmet peer dependency "eslint@*". warning "@typescript-eslint/eslint-plugin > @typescript-eslint/utils@5.33.1" has unmet peer dependency "eslint@^6.0.0 || ^7.0.0 || ^8.0.0". warning "@typescript-eslint/eslint-plugin > @typescript-eslint/utils > eslint-utils@3.0.0" has unmet peer dependency "eslint@>=5". warning " > @typescript-eslint/parser@5.33.1" has unmet peer dependency "eslint@^6.0.0 || ^7.0.0 || ^8.0.0". warning " > rollup-plugin-babel@4.4.0" has unmet peer dependency "@babel/core@7 || ^7.0.0-rc.2". [4/4] πŸ”¨ Building fresh packages... success Saved 0 new dependencies. ✨ Done in 1.10s. $ npm run dev > test1234@0.0.0 dev > rollup -wc rollup.conf.js [!] TypeError: resolve is not a function TypeError: resolve is not a function at Object.resolve (/path/to/test1234/scripts/util.js:34:18) at getRollupPlugins (/path/to/test1234/scripts/util.js:110:21) at Object. (/path/to/test1234/rollup.conf.js:21:16) at Module._compile (node:internal/modules/cjs/loader:1120:14) at require.extensions. [as .js] (/path/to/test1234/node_modules/rollup/dist/shared/loadConfigFile.js:621:20) at Module.load (node:internal/modules/cjs/loader:998:32) at Module._load (node:internal/modules/cjs/loader:839:12) at Module.require (node:internal/modules/cjs/loader:1022:19) at require (node:internal/modules/cjs/helpers:102:18) at loadConfigFromBundledFile (/path/to/test1234/node_modules/rollup/dist/shared/loadConfigFile.js:631:42) $ npm run build > test1234@0.0.0 prebuild > npm run ci && npm run clean > test1234@0.0.0 ci > npm run lint > test1234@0.0.0 lint > eslint --ext .ts . Error: Error while loading rule '@typescript-eslint/no-loss-of-precision': @typescript-eslint/no-loss-of-precision requires at least ESLint v7.1.0 Occurred while linting /path/to/test1234/src/index.d.ts at create (/path/to/test1234/node_modules/@typescript-eslint/eslint-plugin/dist/rules/no-loss-of-precision.js:46:19) at Object.create (/path/to/test1234/node_modules/@typescript-eslint/utils/dist/eslint-utils/RuleCreator.js:42:20) at createRuleListeners (/path/to/test1234/node_modules/eslint/lib/linter/linter.js:746:21) at /path/to/test1234/node_modules/eslint/lib/linter/linter.js:916:31 at Array.forEach () at runRules (/path/to/test1234/node_modules/eslint/lib/linter/linter.js:861:34) at Linter._verifyWithoutProcessors (/path/to/test1234/node_modules/eslint/lib/linter/linter.js:1157:31) at Linter._verifyWithConfigArray (/path/to/test1234/node_modules/eslint/lib/linter/linter.js:1255:21) at Linter.verify (/path/to/test1234/node_modules/eslint/lib/linter/linter.js:1210:25) at Linter.verifyAndFix (/path/to/test1234/node_modules/eslint/lib/linter/linter.js:1400:29) ```
gera2ld commented 2 years ago

Hi, it seems to be a bug of npm/npx and they have already fixed it. Can you update your npm to the latest version and retry?

$ npm i npm -g
KnifeFed commented 2 years ago

Yup, works now, thanks!