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 suspect this line ↑ isn't being used. I looked through this repo and don't see any signs of it being used. Maybe it's a relic of the past?
Why it's a problem:
I'm trying to use deno as package manager for my sveltekit2 project, and deno allows using a central location for all node_modules instead of local node_modules in each project. I don't know if that's possible with sveltekit2, but I wanted to try. I did expect hurdles, but the first hurdle I encountered was this:
deno task dev
Warning:
The following packages contained npm lifecycle scripts (preinstall/install/postinstall) that were not executed:
┠─ npm:@sveltejs/[email protected]
┃
┠─ This may cause the packages to not work correctly.
┠─ Lifecycle scripts are only supported when using a `node_modules` directory.
┠─ Enable it in your deno config file:
┖─ "nodeModulesDir": "auto"
Task dev vite dev
So, if the "precommit" isn't being used, can we remove it?
Reproduction
npx sv create test-app
choose deno as package manager when asked
create deno.json inside project, with content { "nodeModulesDir": "none" }doc here
Describe the bug
There's a "precommit" script in the
package.json
file in this repo:kit/package.json
Line 16 in 9fbfb22
I suspect this line ↑ isn't being used. I looked through this repo and don't see any signs of it being used. Maybe it's a relic of the past?
Why it's a problem:
I'm trying to use deno as package manager for my sveltekit2 project, and deno allows using a central location for all node_modules instead of local node_modules in each project. I don't know if that's possible with sveltekit2, but I wanted to try. I did expect hurdles, but the first hurdle I encountered was this:
So, if the "precommit" isn't being used, can we remove it?
Reproduction
npx sv create test-app
deno.json
inside project, with content{ "nodeModulesDir": "none" }
doc heredeno task dev
to start dev serverLogs
System Info
Severity
annoyance
Additional Information
No response
The text was updated successfully, but these errors were encountered: