question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Vite: package is not published?

See original GitHub issue

Describe the bug

The dependencies showing in packages/vite/package.json is requiring NX 15+

https://github.com/nxext/nx-extensions/blob/main/packages/vite/package.json

But the actual version installed via NPM is ^14.8.5

{
  "name": "@nxext/vite",
  "version": "14.2.0",
  "license": "MIT",
  "author": "Dominik Pieper",
  "description": "Nx plugin for ViteJs",
  "homepage": "https://nxext.dev/",
  "keywords": [
    "nx",
    "nx-plugin",
    "viteJs",
    "vite"
  ],
  "repository": {
    "type": "github",
    "url": "https://github.com/nxext/nx-extensions"
  },
  "bugs": {
    "url": "https://github.com/nxext/nx-extensions/issues"
  },
  "main": "./src/index.js",
  "typings": "./src/index.d.ts",
  "executors": "./executors.json",
  "generators": "./generators.json",
  "dependencies": {
    "@nrwl/devkit": "14.8.5",
    "rxjs": "^7.0.0",
    "rxjs-for-await": "1.0.0",
    "tsconfig-paths": "^3.14.1",
    "globrex": "^0.1.2"
  },
  "peerDependencies": {
    "@nrwl/workspace": "^14.8.5",
    "vite": "^3.0.5"
  },
  "nx-migrations": {
    "migrations": "./migrations.json"
  },
  "types": "./src/index.d.ts"
}

Which causing NPM unable to perform fresh install.

Screen Shot 2022-11-09 at 4 32 15

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
Jordan-Hallcommented, Nov 17, 2022

Hey, we are removing our vite package in favour of NX vite. Migration will be provided soon

1reaction
DominikPiepercommented, Dec 2, 2022

@ianvieira this is cause there’s an open issue with the Storybook integration on stencil. Once this is closed the v15 package will be published

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting - Vite
As Vite does not bundle most of the files, browsers may request many files which require many file descriptors, going over the limit....
Read more >
Vue3 / Vite: How to package components for publishing on npm
I'm trying to export two web components in a public package on npm, using Vite with TypeScript. Vite has a Library Mode ...
Read more >
Using Vite to Publish a Vue Component to NPM
Browsers are not able to immediately parse the syntax for popular ... We will tell vite to package everything in this file at...
Read more >
NPM package development with Vite - DEV Community ‍ ‍
Why vite is awesome Before, when we developed npm packages, ... Posted on Jun 15 ... Did some sections not work, or returned...
Read more >
Publishing a React component to npm using Vite - Tom Southall
We do not install it as a production dependency because the React app that uses your component package is responsible for the React...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found