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
vinxi v0.3.11
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '<PROJECT_PATH>\node_modules\.pnpm\@[email protected][email protected][email protected][email protected]_@[email protected]_iore_xyc5haahokuf7onqczdjnghlzm\node_modules\@vinxi\server-functions\plugin' imported from <PROJECT_PATH>\node_modules\.pnpm\@[email protected][email protected][email protected][email protected]_@[email protected]_iore_xyc5haahokuf7onqczdjnghlzm\node_modules\@solidjs\start\config\index.js
Did you mean to import "@vinxi/server-functions/plugin.js"?
at finalizeResolution (node:internal/modules/esm/resolve:263:11)
at moduleResolve (node:internal/modules/esm/resolve:908:10)
at defaultResolve (node:internal/modules/esm/resolve:1131:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:390:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:359:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:234:38)
at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:85:39)
at link (node:internal/modules/esm/module_job:84:36) {
code: 'ERR_MODULE_NOT_FOUND',
url: '<PROJECT_PATH>/node_modules/.pnpm/@[email protected][email protected][email protected][email protected]_@[email protected]_iore_xyc5haahokuf7onqczdjnghlzm/node_modules/@vinxi/server-functions/plugin'
}
vinxi starting dev server
Terminate batch job (Y/N)?
An app.config.timestamp_<TIMESTAMP>.js file is created as a side effect.
Expected behavior 🤔
No errors
Steps to reproduce 🕹
Steps:
pnpm add -g pnpm@latest
pnpm create solid
choose any template
navigate to project
pnpm install
pnpm dev
Context 🔦
I had a repository with an older lockfile that got updated when I installed anything. The newer lockfile errors while the older one does not. In this example I've just updated the solidjs package from 1.8.16 to 1.8.17. See the lockfile diff here:
Hmm... I wonder if it is windows related. I used this an opportunity to upgrade to node 20 and update to the latest pnpm. And I did not hit the same issues. I removed the lockfile and the node_modules and tried again and still good.
I might need help from others to reproduce this.
EDIT: Ok while I couldn't reproduce your issue in a fresh project updating to pnpm 9 completely messed up local dev in the start repo. Really weird deduping resolution etc.. even after clean installs. I think it might just be buggy. I went back to 8 so I could just get development done.
Duplicates
Latest version
Current behavior 😯
Dev server fails with the following error:
An
app.config.timestamp_<TIMESTAMP>.js
file is created as a side effect.Expected behavior 🤔
No errors
Steps to reproduce 🕹
Steps:
pnpm add -g pnpm@latest
pnpm create solid
pnpm install
pnpm dev
Context 🔦
I had a repository with an older lockfile that got updated when I installed anything. The newer lockfile errors while the older one does not. In this example I've just updated the solidjs package from
1.8.16
to1.8.17
. See the lockfile diff here:HansT01/stock-evaluator@7f459eb#r141586858
Issue could be related #1460
Your environment 🌎
The text was updated successfully, but these errors were encountered: