因为项目需要使用loopback连接oracel,在一开始就遇到了问题,所以请教大家,希望有经验的大神能帮我解答下。 以下是我的安装步骤,不知哪里有纰漏: 1、slc loopback 创建项目:(只是简单的empty-server 应该不会有问题- -) ? What’s the name of your application? oracle-t ? Enter name of the directory to contain the project: oracle-t create oracle-t/ info change the working directory to oracle-t
? What kind of application do you have in mind? empty-server (An empty LoopBack API, without any configured models or datasources)
2、npm install 也比较顺利
3、npm install loopback-connector-oracle --save 问题就来了,出现这样一段话: “strong-oracle.rc” has been created in $HOME. Please manually add the following to your “.bash_profile”:
source /Users/weiyateng/strong-oracle.rc
If you do not use bash as your default shell, please remember to set $DYLD_LIBRARY_PATH prior to using node: export DYLD_LIBRARY_PATH=":/Users/weiyateng/WebstormProjects/oracle-t/node_modules/instantclient"
感觉是这里出现问题,不知是什么意思,我的系统是mac的,连接mysql的时候很顺利,oracel就会报oracel 没有安装的错误,希望告知。