You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working on deploying a project that installs and utilizes the create-rmw-shell/template from a separate repository. This template pulls in independent code that depends on @ecronix/rmw-shell in the package.json.
I essentially copied the template from the create-rmw-shell repository and am trying to deploy it using npm install && npm run build:package. However, I’m encountering an issue during the build process.
C:\Users\15622\Documents\FiresideWalk\portfolio>npm install && npm run build:package
added 3 packages, removed 3 packages, and audited 430 packages in 3s
111 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
> [email protected] build:package
> vite build && tsc
The CJS build of Vite's Node API is deprecated. See https://vite.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.
vite v5.4.11 building for production...
✓ 15 modules transformed.
x Build failed in 392ms
error during build:
[commonjs--resolver] Failed to resolve entry for package "@ecronix/rmw-shell". The package may have incorrect main/module/exports specified in its package.json.
at packageEntryFailure (file:///C:/Users/15622/Documents/FiresideWalk/portfolio/node_modules/vite/dist/node/chunks/dep-CB_7IfJ-.js:46637:15)
at resolvePackageEntry (file:///C:/Users/15622/Documents/FiresideWalk/portfolio/node_modules/vite/dist/node/chunks/dep-CB_7IfJ-.js:46634:3)
at tryNodeResolve (file:///C:/Users/15622/Documents/FiresideWalk/portfolio/node_modules/vite/dist/node/chunks/dep-CB_7IfJ-.js:46450:16)
at Object.resolveId (file:///C:/Users/15622/Documents/FiresideWalk/portfolio/node_modules/vite/dist/node/chunks/dep-CB_7IfJ-.js:46200:19)
at file:///C:/Users/15622/Documents/FiresideWalk/portfolio/node_modules/rollup/dist/es/shared/node-entry.js:20809:40
at async PluginDriver.hookFirstAndGetPlugin (file:///C:/Users/15622/Documents/FiresideWalk/portfolio/node_modules/rollup/dist/es/shared/node-entry.js:20709:28)
at async resolveId (file:///C:/Users/15622/Documents/FiresideWalk/portfolio/node_modules/rollup/dist/es/shared/node-entry.js:19313:26)
at async ModuleLoader.resolveId (file:///C:/Users/15622/Documents/FiresideWalk/portfolio/node_modules/rollup/dist/es/shared/node-entry.js:19742:15)
at async Object.resolveId (file:///C:/Users/15622/Documents/FiresideWalk/portfolio/node_modules/vite/dist/node/chunks/dep-CB_7IfJ-.js:12833:10)
at async PluginDriver.hookFirstAndGetPlugin (file:///C:/Users/15622/Documents/FiresideWalk/portfolio/node_modules/rollup/dist/es/shared/node-entry.js:20709:28)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I am working on deploying a project that installs and utilizes the create-rmw-shell/template from a separate repository. This template pulls in independent code that depends on @ecronix/rmw-shell in the package.json.
Here’s the relevant part of my package.json:
I essentially copied the template from the create-rmw-shell repository and am trying to deploy it using npm install && npm run build:package. However, I’m encountering an issue during the build process.
Could you please assist me in resolving this?
Beta Was this translation helpful? Give feedback.
All reactions