Getting an old ionic app to run?


#1

I’ve got an app written in 2015 (I’m not sure which version of ionic?)

I’ve loaded it onto a machine that has ionic v3 on it. I’m wondering if I can run it even though it’s not written in typescript?

I tried making a few changes to the config file per this stack overflow article and adding some of the files from a newer ionic project to it, but I get this error. Any suggestions would be greatly appreciated.

Article I followed -> https://stackoverflow.com/questions/44065690/error-sorry-ionic-serve-can-only-be-run-in-an-ionic-project-directory

Error stack I get:

"ionic serve

ionic-app-scripts serve --address 0.0.0.0 --port 8100 --livereload-port 35729 --dev-logger-port 53703 --nobrowser
[app-scripts] [15:40:51] ionic-app-scripts 3.2.0
[app-scripts] [15:40:51] watch started …
[app-scripts] [15:40:51] build dev started …
[app-scripts] [15:40:51] typescript error
[app-scripts] No inputs were found in config file ‘C:[My local Path][App name][App name]\tsconfig.json’. Specified
[app-scripts] ‘include’ paths were ‘[“src//*.ts"]’ and ‘exclude’ paths were
[app-scripts] '[“node_modules”,"src/
/.spec.ts","src/**/tests/.ts”]’.
[app-scripts] [15:40:51] ionic-app-script task: “serve”
[app-scripts] [15:40:51] TypeError: Cannot read property ‘replace’ of null"

Thanks!