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
This error gets thrown at the end of my script when i run vite-node from the command line.
TypeError: p.closeBundle.call is not a function
at eval (file:///home/projects/sveltejs-kit-template-default-t83pry/node_modules/vite-node/node_modules/vite/dist/node/chunks/dep-0fc8e132.js:35663:81)
at Array.map (<anonymous>)
at Object.close (file:///home/projects/sveltejs-kit-template-default-t83pry/node_modules/vite-node/node_modules/vite/dist/node/chunks/dep-0fc8e132.js:35663:39)
at async Promise.all (index 2)
at async Object.close (file:///home/projects/sveltejs-kit-template-default-t83pry/node_modules/vite-node/node_modules/vite/dist/node/chunks/dep-0fc8e132.js:59298:13)
at async CAC.run (file:///home/projects/sveltejs-kit-template-default-t83pry/node_modules/vite-node/dist/cli.mjs:684:5)
See my repro and run chmod +x ./scripts/run.sh && npm run foo.
Reproduction
See my repro and run chmod +x ./scripts/run.sh && npm run foo.
I added a console.log(p.closeBundle) to see why call isn't a function, and this is what is printed:
Describe the bug
This error gets thrown at the end of my script when i run
vite-node
from the command line.See my repro and run
chmod +x ./scripts/run.sh && npm run foo
.Reproduction
See my repro and run
chmod +x ./scripts/run.sh && npm run foo
.I added a
console.log(p.closeBundle)
to see whycall
isn't a function, and this is what is printed:Logs
No response
System Info
Severity
serious, but I can work around it
Additional Information
Removing the
@sveltejs/kit/vite/sveltekit
plugin fixes the issue.The text was updated successfully, but these errors were encountered: