I'm using WebStorm 2016.1 and Meteor 1.3 and typescript files. When I use 'import {Meteor} from 'meteor/meteor'I get the error 'import Error Cannot find module 'meteor/meteor'
I have run 'typings install meteor --save --ambient' and the packages seem to be inplace in the typings directory...
答案 0 :(得分:-1)
此问题主要通过新版WebStorm修复。 https://youtrack.jetbrains.com/issue/WEB-21183
因此,请确保安装了WebStorm 2016.1.2,Build#WS-145.971或更高版本。