Comments (6)
@Buntelrus Thanks for reporting. Fixed in v0.4.3.
from ts-transformer-keys.
Could you provide a repository that can reproduce the problem?
I have tried to reproduced your problem but encountered a different error.
ERROR in src/App.vue:9:10
TS2614: Module '"../node_modules/vue-class-component/lib"' has no exported member 'Vue'. Did you mean to use 'import Vue from "../node_modules/vue-class-component/lib"' instead?
7 |
8 | <script lang="ts">
> 9 | import { Vue } from 'vue-class-component'
| ^^^
10 | export default class App extends Vue {
11 | message = 'hello World'
12 |
from ts-transformer-keys.
https://github.com/Buntelrus/ts-transformer-keys_issues_47 here you go.
The relevant code is in src/App.vue
from ts-transformer-keys.
thank you
from ts-transformer-keys.
If I try to build my project I got now following error in the browser console:
while vue-cli-service serve
has no issue. You can reproduce the problem with the mentioned repo.
from ts-transformer-keys.
When I tried yarn build --mode development
, it worked fine. I guess some build setting that is specific to production is preventing the transformer from working properly.
A similar problem was found before. But this time onlyCompileBundledFiles
does not seem to be the cause of the problem as specifying onlyCompileBundledFiles: false
does not help.
from ts-transformer-keys.
Related Issues (20)
- Can't import keysTransformer in a normal way HOT 2
- Keys transformer includes `never` typed keys
- How do you get node to call a `.ts` file without node-ts?
- Usage with ts-jest HOT 5
- How to use with this with React + Typescript? HOT 2
- how can this be used with ts-node (for node worker_threads ?)
- Warning when using with AWS Lambda and Parcel HOT 1
- Support for gulp HOT 1
- Get required Properites HOT 1
- Fix README spelling error HOT 1
- Would it work with esbuild-loader?
- throw/warn on generics
- TypeArguments is always empty in vite, but can be in rollup HOT 3
- Tests failed in windows 10
- How to get required and optional properties HOT 3
- Cannot find module 'ts-transformer-keys'.
- (0 , _tsTransformerKeys.keys) is not a function HOT 28
- Uncaught (in promise) TypeError: keys is not a function at setup (index.vue:18:1) in Vue 3 app HOT 2
- deprecation warnings
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 ts-transformer-keys.