Created
December 28, 2017 22:49
-
-
Save afmorris/0d464e8d539ed94138b4cd5c353cb5fa to your computer and use it in GitHub Desktop.
Cannot Load Module "@servicestack/client"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This file is located in /src/js/app.ts | |
import { JsonServiceClient } from "@servicestack/client"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "servicestack-test", | |
"version": "1.0.0", | |
"description": "", | |
"main": "index.js", | |
"scripts": { | |
"test": "echo \"Error: no test specified\" && exit 1" | |
}, | |
"author": "", | |
"license": "ISC", | |
"dependencies": { | |
"@servicestack/client": "^1.0.0" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
λ tsc | |
src/js/app.ts(1,35): error TS2307: Cannot find module '@servicestack/client'. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"include": [ | |
"/src/js/**/*.ts" | |
], | |
"compilerOptions": { | |
"noImplicitAny": true, | |
"target": "es5", | |
"module": "amd", | |
"lib": [ "es2015", "dom" ] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment