Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem when compiling dependent project with typescript. #101

Open
goleary opened this issue Jul 28, 2016 · 0 comments
Open

problem when compiling dependent project with typescript. #101

goleary opened this issue Jul 28, 2016 · 0 comments

Comments

@goleary
Copy link

goleary commented Jul 28, 2016

I have the node_modules folder excluded in my tsconfig.json file however the typescript compiler attempts to build the fuel-ui module.

tsconfig.json:

{
"compilerOptions": {
"target": "es5",
"module": "system",
"moduleResolution": "node",
"inlineSourceMap": true,
"inlineSources": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"removeComments": false,
"noImplicitAny": false,
"rootDir": "app",
"outDir": "dist"
 },
"exclude": [
"node_modules",
"bower_components",
"typings/main",
"typings/main.d.ts",
"dist/node_modules"
]
}

Many of these errors are created:

error TS6059: File 'C:/Users/golear/Documents/GitHub/ShoppingAssist/node_modules/fuel-ui/src/utilities/utilities.ts' is not under 'rootDir' 'app'. 'rootDir' is expected to contain all source files.

No other modules I use actually include the .ts files in their npm package so this is the only one for which I get this error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant