Comments (2)
Aha! Thanks for your quick response @babichjacob ... the problem was rather mundane.
I just needed to fully uninstall the old plugin by JamesBirtles. It looks like he might have removed that plugin when the merge with official happened so it wasn't obvious that it was disabled/running.
code --uninstall-extension JamesBirtles.svelte-vscode
from sapper-typescript-graphql-template.
Hi, thanks for your interest in the project and the high quality reproduction steps / attempted solutions; I'm sorry you're experiencing this problem 😦 .
I followed your steps and am not experiencing any errors on macOS 10.15.6 with this VS Code information:
Version: 1.48.1
Commit: 3dd905126b34dcd4de81fa624eb3a8cbe7485f13
Date: 2020-08-19T17:09:41.484Z
Electron: 7.3.2
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Darwin x64 19.6.0
Svelte extension version v101.10.0
Nothing I do seems to start causing an error for me, like adding useless exports to svelte.config.js
. I would expect that the defaults
export in there is causing your error, but removing it will interfere with your build process — so to prevent that, you'll have to drop the value of defaults
in where it's require
d in rollup.config.js
Maybe there's more information you can learn from the Svelte
page in the Output
tab (usually alongside Terminal
or Problems
)?
Here's what mine looks like without errors:
from sapper-typescript-graphql-template.
Related Issues (11)
- Document optionally removing the GraphQL server HOT 1
- `npm run dev` results in "Could not resolve entry module (undefined\server.ts)." HOT 9
- Dev server crashes on syntax errors HOT 1
- Upgrade to Sapper 0.28.1 and remove types directory HOT 1
- Error in preload: Error: Object is possibly 'undefined.' HOT 5
- vs code linter shows typescript errors like "Type annotations can only be used in TypeScript files" HOT 3
- Unexpected token eslint(ParseError) HOT 1
- Add lang="typescript" to templates HOT 8
- Add lib "ES2020" (or a different year??) to `tsconfig.json`
- Hot reloading (automatic refreshing) from TypeScript files HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sapper-typescript-graphql-template.