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

webpack: Failed to compile. Path must be a string. #472

Closed
gohilronak opened this issue May 15, 2017 · 8 comments
Closed

webpack: Failed to compile. Path must be a string. #472

gohilronak opened this issue May 15, 2017 · 8 comments
Assignees
Labels
Milestone

Comments

@gohilronak
Copy link

Dear Sir,

I have followed steps of README.md file.
But npm run watch gives following error:

ERROR in Path must be a string. Received undefined
webpack: Failed to compile.

Versions:
node: 7.3.0
npm: 4.2.0
OS: Windows 8.1

Please guide,
Thank you...

@wolf4ood
Copy link
Member

hi @gohilronak

i'm still investigating that issue. Working with node < 6 solve this issue

@wolf4ood wolf4ood self-assigned this May 15, 2017
@wolf4ood wolf4ood added the bug label May 15, 2017
@gohilronak
Copy link
Author

Thank you @maggiolo00 for quick reply
Let me try with node 6.10.3-x64.

@gohilronak
Copy link
Author

Sir,
With Node: 5.12.0, and npm: 2.15.12.
npm run watch gives following message:

webpack: Compiled with warnings.

When I open http://localhost:8080, I see blank page.
In console I am getting following error message:

Cannot resolve all parameters for 'Parser'(?). Make sure that all the parameters are decorated with Inject or have valid type annotations and that 'Parser' is decorated with Injectable.

Can you please suggest me exact Node and npm version to use?
Thank you...

@wolf4ood
Copy link
Member

Hi @gohilronak

did you try my hint on email with

yarn install 

Thanks

@gohilronak
Copy link
Author

Yes sir, after yarn install it is not showing any error in command line.

When I open http://localhost:8080, I see blank page.
In console I am getting following error message:

Uncaught Error: Template parse errors:
Unexpected closing tag "button" ("<div class="col-md-2">\r\n <button class="btn" (click)="exportDatabase()">Export Database[ERROR ->]\r\n \r\n <div class="col-md-8">\r\n OrientDB Server exports the database"): ImportExport@1:176

These lines looks ok in file import.export.component.html.

Versions: node: 5.12.0, npm: 2.15.12

Please help me solve this error.
Thank you..

PS: Thank you sir for sending me email, but somehow I haven't received email. My email id is: gohilronak1@gmail.com . Thank you..

@wolf4ood
Copy link
Member

hi @gohilronak

did you try with the branch 2.2.x ?

@gohilronak
Copy link
Author

Thank you Sir,
Branch 2.2.10 is working fine with following commands:

$ sudo npm install -g yo bower compass yarn
$ npm install
$ bower install
$ yarn install

$ grunt server

I am facing problem only in Graph Editor page.
When I fire simple query like: select * from E it is alerting with following error

com.orientechnologies.orient.core.command.OCommandExecutorNotFoundException: Cannot find a command executor for the command request: sql.{"command":"select * from E","mode":"graph"}

The same query runs fine in Browse page and in Orientdb Studio packaged with database.

Versions:

node: 5.12.0
npm: 4.6.1
Orientdb Database: 2.1.0-Community
Orientdb Studio: 2.2.10 tag

I can try to solve error with different version of Orientdb Database in 2-3 days.

Thank you..

@wolf4ood
Copy link
Member

wolf4ood commented Jun 7, 2017

Hi @gohilronak

i've fixed compilation problem with node > 5

Thanks

@wolf4ood wolf4ood closed this as completed Jun 7, 2017
@wolf4ood wolf4ood added this to the 2.2.20 milestone Jun 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants