You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed orientjs via npm and now have [email protected] on my project. In my code I have an import statement like
import OrientDB from 'orientjs';
Just to note, I'm running this on the WSL of my windows machine. I'm trying to use orientjs in a react app and when I start the app I get the following:
Failed to compile. [14/14]
Error in ./~/orientjs/lib/transport/binary/connection.js
Module not found: ./protocol28 in .../gui_demo/node_modules/orientjs/lib/transport/binary
Error in ./~/parse-function/dist/cjs/index.js
Module parse failed: .../gui_demo/node_modules/parse-function/dist/cjs/index.js Unexpected token (1:1837)
You may need an appropriate loader to handle this file type.
SyntaxError: Unexpected token (1:1837)
@ ./~/orientjs/lib/db/db.js 16:12-37
Error in ./~/orientjs/lib/client/topology/cluster.js
Module not found: 'dns' in .../gui_demo/node_modules/orientjs/lib/client/topology
Error in ./~/cross-spawn/index.js
Module not found: 'child_process' in .../gui_demo/node_modules/cross-spawn
@ ./~/cross-spawn/index.js 3:9-33
When I manually add in the protocol dirs from 2.2.11 those dependency errors go away. As for the others I'm not sure if they are on my end, but as I've tried to install needed packages the problems persist.
The text was updated successfully, but these errors were encountered:
It was running in just a normal web app. And over the weekend I installed [email protected] via npm, moved my code to a pure node instance, and things seem to be working. I don't know why these protocol dirs were missing and these other errors were occurring though when installing orientjs@latest.
I installed orientjs via npm and now have [email protected] on my project. In my code I have an import statement like
import OrientDB from 'orientjs';
Just to note, I'm running this on the WSL of my windows machine. I'm trying to use orientjs in a react app and when I start the app I get the following:
When I manually add in the protocol dirs from 2.2.11 those dependency errors go away. As for the others I'm not sure if they are on my end, but as I've tried to install needed packages the problems persist.
The text was updated successfully, but these errors were encountered: