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

Starting application issue with windows 10 #393

Open
mbaljeetsingh opened this issue Dec 30, 2017 · 2 comments
Open

Starting application issue with windows 10 #393

mbaljeetsingh opened this issue Dec 30, 2017 · 2 comments

Comments

@mbaljeetsingh
Copy link

  • WPHC version:v3
  • Node version:8.9.0
  • NPM version:5.5.1

I cloned the repo on my local machine and run npm install. But now when I run ionic serve, I'm getting the following error,
image

@shprink
Copy link
Collaborator

shprink commented Jan 2, 2018

Probably the tsconfig file that is not handled the same way on unix.

https://stackoverflow.com/questions/31173738/typescript-getting-error-ts2304-cannot-find-name-require

You will need to play with the options yourself since I do not own a Windows machine. Let me know once you got it working

@Bezaleli
Copy link

Bezaleli commented Mar 4, 2018

Just adding one single line in src\i18n\index.ts solve the issue "declare var require:any"

declare var require: any try { require.context("./", true, /^\.\/.*\.cson$/) } catch (error) { console.error('requireAll', 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

3 participants