Cannot find module '@sveltejs/adapter-node'
See original GitHub issueDescribe the bug clean install of the sveltekit demo produces an error when attempting to run
Logs
bastinald@Kevins-MacBook-Pro llc-app % npm run dev
~TODO~@0.0.1 dev svelte-kit dev
Cannot find module ‘@sveltejs/adapter-node’ Require stack:
- /Users/bastinald/Sites/llc-app/svelte.config.cjs Error: Cannot find module ‘@sveltejs/adapter-node’ Require stack:
- /Users/bastinald/Sites/llc-app/svelte.config.cjs at Function.Module._resolveFilename (node:internal/modules/cjs/loader:924:15) at Function.Module._load (node:internal/modules/cjs/loader:769:27) at Module.require (node:internal/modules/cjs/loader:996:19) at require (node:internal/modules/cjs/helpers:92:18) at Object.<anonymous> (/Users/bastinald/Sites/llc-app/svelte.config.cjs:1:14) at Module._compile (node:internal/modules/cjs/loader:1092:14) at Object.Module._extensions…js (node:internal/modules/cjs/loader:1121:10) at Module.load (node:internal/modules/cjs/loader:972:32) at Function.Module._load (node:internal/modules/cjs/loader:813:14) at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:201:29)
To Reproduce
npm init svelte@next my-app
cd my-app
npm install
npm run dev
select the demo
, not the skeleton
when installing
Expected behavior the app to build and open in my browser
browser = chrome
Issue Analytics
- State:
- Created 2 years ago
- Comments:5
Top Results From Across the Web
@sveltejs/adapter-node - npm
Start using @sveltejs/adapter-node in your project by running `npm i @sveltejs/adapter-node`. There are 16 other projects in the npm ...
Read more >cannot find package sveltejs/adapter-auto svelte.config.js
I am using VS Code for the project. The issue is related to opening the project in VS Code, opening a terminal, and...
Read more >@sveltejs/adapter-node - npm Package Health Analysis | Snyk
We found a way for you to contribute to the project! Looks like @sveltejs/adapter-node is missing a security policy. You can connect your...
Read more >Adapters • Docs • SvelteKit
See the adapter-auto README for information on adding support for new environments. ... To create a simple Node server, install the @sveltejs/adapter-node ......
Read more >Support - Netlify Support Forums
... when trying to deploy sveltekit to netlify: Cannot find module '. ... node modules 8:06:21 PM: Finished restoring cached node modules ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have same problem, problem solve by install:
I have the same problem,
@sveltejs/adapter-node
is already installed.