Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 228595

Can't serve new TypeScript project: Module not found

$
0
0

Hey guys,

Getting an error when trying to start a new TypeScript project. Tried playing around with the Webpack.config file - which mixes things up but doesn't resolve to a successful launch. A new JavaScript project works fine if I remove var webpack = require('webpack');

Heres the error I get when serving a new TypeScript project:

`multi main
Module not found: Error: Cannot resolve 'file' or 'directory' /Users/[user]/Repos/ionic-app/ionicApp/app/app in /Users/[user]/Repos/ionic-app/ionicApp
resolve file
/Users/[user]/Repos/ionic-app/ionicApp/app/app doesn't exist
/Users/[user]/Repos/ionic-app/ionicApp/app/app.js doesn't exist
/Users/[user]/Repos/ionic-app/ionicApp/app/app.ts doesn't exist
resolve directory
/Users/[user]/Repos/ionic-app/ionicApp/app/app doesn't exist (directory default file)
/Users/[user]/Repos/ionic-app/ionicApp/app/app/package.json doesn't exist (directory description file)
[/Users/[user]/Repos/ionic-app/ionicApp/app/app]
[/Users/[user]/Repos/ionic-app/ionicApp/app/app.js]
[/Users/[user]/Repos/ionic-app/ionicApp/app/app.ts]
@ multi main (CLI v2.0.0-beta.15)

Your system information:

Cordova CLI: 5.4.1
Gulp version: CLI version 3.9.0
Gulp local:
Ionic Version: 2.0.0-alpha.45
Ionic CLI Version: 2.0.0-beta.15
Ionic App Lib Version: 2.0.0-beta.8
ios-deploy version: Not installed
ios-sim version: 3.1.1
OS: Mac OS X Mavericks
Node Version: v4.2.3
Xcode version: Xcode 6.1.1 Build version 6A2008a`


Viewing all articles
Browse latest Browse all 228595

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>