question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Development Demo not Working

See original GitHub issue

Hi 😃

I run Development Demo, but it is not running.

running command

npm install -g @angular/cli
cd ./tests
npm install
cd ./src/app
ln -s ../../../src/
cd -
ng serve

Error code is

ERROR in /Users/MangoPlate/dev/mangoplate/mp-angular2-schema-form/tests/src/app/app.component.ts (9,8): Cannot find module './lib'.

ERROR in /Users/MangoPlate/dev/mangoplate/mp-angular2-schema-form/tests/src/app/app.module.ts (6,34): Cannot find module './lib'.

ERROR in Error encountered resolving symbol values statically. Could not resolve ./lib relative to /Users/MangoPlate/dev/mangoplate/mp-angular2-schema-form/tests/src/app/app.module.ts., resolving symbol AppModule in /Users/MangoPlate/dev/mangoplate/mp-angular2-schema-form/tests/src/app/app.module.ts, resolving symbol AppModule in /Users/MangoPlate/dev/mangoplate/mp-angular2-schema-form/tests/src/app/app.module.ts

ERROR in ./src/app/app.module.ts
Module not found: Error: Can't resolve './lib' in '/Users/MangoPlate/dev/mangoplate/mp-angular2-schema-form/tests/src/app'
 @ ./src/app/app.module.ts 11:0-41
 @ ./src/main.ts
 @ multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts

ERROR in ./src/app/app.component.ts
Module not found: Error: Can't resolve './lib' in '/Users/MangoPlate/dev/mangoplate/mp-angular2-schema-form/tests/src/app'
 @ ./src/app/app.component.ts 11:0-62
 @ ./src/app/app.module.ts
 @ ./src/main.ts
 @ multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts

I Think Error cause is Symbolic link folder name is ‘src’ so i change symbolic link name ‘src’ to ‘lib’

but demo is not running.

help.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:8

github_iconTop GitHub Comments

1reaction
ebrehaultcommented, Jun 18, 2017

Here is it:

git clone git@github.com:makinacorpus/angular2-schema-form.git
cd angular2-schema-form/tests
npm install
cd src/app
ln -s ../../../src/ ./lib
cd ../..
ng serve

and it works.

Note: nevertheless, ng test fails, I guess there are some issues in our dependencies.

1reaction
ebrehaultcommented, Jun 18, 2017

Let me try on a blank install and see. I’ll let you know.

Read more comments on GitHub >

github_iconTop Results From Across the Web

The 4 Laws of the Software Demo - Level Up Coding
More often than not, it can be demoed within five minutes and it will work as expected. Law #2 — The More Significant...
Read more >
PIC24FJ256DA210 Development Board Demo Not Working
Hello all, I've recently purchase the above Dev Board along with the "Graphics Display Truly 3.2in" and PICkit 3 Programmer, I've installed ...
Read more >
demo server not responding - Development
Hello; demo server seems to be down.
Read more >
Everything you need to know about making and releasing ...
Having a demo allows a developer or publisher to estimate how the final product will be perceived by its main audience, and receive...
Read more >
MONSTER HUNTER RISE DEMO Troubleshooting & Issue ...
Try verifying the game's cache in Steam. You can do so by following the steps outlined in this Steam support article (reposted below)....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found