rroylance / phaser-ce-npm-webpack-typescript-starter-project

Project to get you started with your Phaser-CE (using the npm module) game using Typescript and Webpack for building! No hassle asset management, Google Web Font loader, live server, development vs distribution build pipeline, Electron packaging for desktop builds, and more...
https://rroylance.github.io/phaser-npm-webpack-typescript-starter-project/
The Unlicense
423 stars 73 forks source link

Corresponding File is Not Included In tsconfig.json #42

Closed JimLynchCodes closed 6 years ago

JimLynchCodes commented 7 years ago

Hi, I just scaffolded this project. It compiiles, but I get a bnuch of errors in my IDE (webstorm) with squggly lines under the references to Phaser library. The error message is, "Corresponding File is Not Included In tsconfig.json".

rroylance commented 6 years ago

Phaser is in the tsconfig as "./node_modules/phaser-ce/typescript/phaser.comments.d.ts" under the files array, my best guess is that the IDE needs to finish indexing or maybe be updated and restarted (I use Webstorm as well and have no issues).

KaplunMaxym commented 3 months ago

If you use env vars in your file:

import process from 'node:process';