离子2与netbeans一直显示错误

时间:2017-01-25 14:45:26

标签: netbeans ionic2 project-management

这可能是一个超级用户问题,如果是,请道歉。

我一直在使用 typescript angular2 插件的netbeans(我的IDE)中收到一些错误

我得到的错误: picture of two errors "对装饰器的实验支持是一个特征...." 和 "找不到名字'承诺'"

即使我收到这些错误,一切正常。所以我只想找到一种方法来删除它们,我已经阅读了一些关于ts.config的内容,但我无法找到该文件..

我的项目结构如下: enter image description here

我找到了ts.config
这不是一个重要的文件"我想;-)

虽然似乎没有效果:

{
  "compilerOptions": {
    "allowSyntheticDefaultImports": true,
    "declaration": false,
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "lib": [
      "dom",
      "es2015"
    ],
    "module": "es2015",
    "moduleResolution": "node",
    "sourceMap": true,
    "target": "es5"
  },
  "include": [
    "src/**/*.ts"
  ],
  "exclude": [
    "node_modules"
  ],
  "compileOnSave": false,
  "atom": {
    "rewriteTsconfig": false
  }
}

1 个答案:

答案 0 :(得分:0)

netbeans插件目前存在无解决方案

我已经改为Visual Studio Code,它提供了一个很好的打字稿编译器。