TSP100和reportviewer 10.0 A7(TSP100 and reportviewer 10.0 A7)
尝试在A7纸张尺寸的TSP100热敏打印机上打印使用MS Report Viewer 10.0生成的报告时出现问题。 请问,任何人都可以提供相关的代码吗?
I have an issue trying to print a report generated with MS Report Viewer 10.0 on a TSP100 thermal printer in A7 paper size. Please, can anybody provide a code about it?
原文:https://stackoverflow.com/questions/28200340
最满意答案
问题可能在于依赖关系。 检查正在运行的项目上的“package.json”文件以及此项目上安装的库/依赖项的版本。
如果某些库有更新,那么“package.json”文件中的代码如下:
"dependencies": { ... "library": "^3.9.0", ... }
然后在您的新项目中将安装这些库的最新版本。 有同样的问题。
只需转到新项目的“package.json”文件,然后将代码更改为:
"dependencies": { ... "library": "3.9.0", ... }
这样,将安装库的确切版本。 由于更新了库的API,这为我解决了。
The problem is probably about the dependencies. Check your "package.json" file on the project that is working and also the versions of the libraries/dependencies that are installed on this project.
If there is an update on some libraries and your code on the "package.json" file is like:
"dependencies": { ... "library": "^3.9.0", ... }
then in your new project the latest version of those libraries will be installed. Had the same problem.
Just go to your "package.json" file of the new project and change the code to:
"dependencies": { ... "library": "3.9.0", ... }
so that, the exact version of the library will be installed. This solved for me due to the updated API of a library.
相关问答
更多-
您提到的错误正在出现,因为您正在尝试执行不存在的文件。 检查您的D:\ test文件夹中是否有一个名为server.js的文件,其中包含您上面引用的代码。 我建议您在进入node server.js之前通过键入dir命令检查server.js是否在控制台的当前文件夹中。 The error you are mentioning is appearing because, you are trying to execute a file that is not there. Check if your D:\ ...
-
当您定义这样的模块时: var routes = require('./server/routes'); 如果./server/routes目录中存在index.js文件,则表示您调用./server/routes/index.js文件。 你不能这样打电话: ./server/routes/index.js/users.js. 您应该更新您的用户路由器变量,如下所示: var routes = require('./server/routes'); var users = requier('./serv ...
-
显然,git没有登台/提交所有文件,以便它们被推送。 我得看看如何解决这个问题。 啊。 Apparently, git wasn't staging/committing all the files in order for them to be pushed. I'll have to look around on how to fix this. Ugh.
-
如果你的网络连接不好,那么这可能是问题所在。 我面临类似的问题。 “离子服务”需要互联网连接才能正确执行。 不过,如果情况并非如此,请尝试运行以下命令以开发模式为您的应用程序提供服务: npm run ionic:serve 我还建议您使用以下命令将您的离子CLI更新为更稳定的版本: # May need "sudo" npm install -g ionic@2.2.3 If you have a bad network connection, then this is probably the pr ...
-
问题可能在于依赖关系。 检查正在运行的项目上的“package.json”文件以及此项目上安装的库/依赖项的版本。 如果某些库有更新,那么“package.json”文件中的代码如下: "dependencies": { ... "library": "^3.9.0", ... } 然后在您的新项目中将安装这些库的最新版本。 有同样的问题。 只需转到新项目的“package.json”文件,然后将代码更改为: "dependencies": { ... "library": "3.9. ...
-
它看起来像是npm上的一个bug。 我建议更新Node.js和npm。 在控制台上运行以下命令: $ nvm install 6 # This installs Node.js version 6.11.3, current latest version of Node.js 6.x $ npm install --global npm # Install latest version of npm 我发现这个问题发生在Free Code Camp的其他学习者身上 It looks like a bug ...
-
module.js 474 throw err(module.js 474 throw err)[2023-02-19]
你必须先安装节点模块。 cd C:\Program Files\nodejs\ npm install node file.js you have to install node modules first. cd C:\Program Files\nodejs\ npm install node file.js -
只需为missing module进行安装 npm install swagger-js-codegen --save Just do an installation for the missing module npm install swagger-js-codegen --save
-
我刚刚通过/ usr / local / lib /文件夹删除了所有node和node_module文件夹来解决了我的问题。 之后我再次下载了节点,这对我来说很有用,我可以安装和更新npm软件包。 I just solved my problem by going to /usr/local/lib/ folder deleting all the node and node_module folders. After that I downloaded node again and this worked ...
-
您的卷安装将覆盖图像内容 你的图像是这样构建的: ENV DOCKER_CONTAINER_APP=/web-app WORKDIR $DOCKER_CONTAINER_APP RUN npm install 但是在运行时,docker-compose会这样做: volumes: - .:/web-app - ./node_modules:/web-app/node_modules 因为您正在/web-app上安装外部路径,所以它会覆盖该路径中图像中内置的所有内容。 这在开发过程中非常有用,但需要进 ...