Open elBeato opened 2 years ago
I've had the same problem so I tried to find a solution.
There seems to be a version conflict with the camelCase library. As a workaround you can open another console before entering the project questions, go to the local node_modules/atscm folder and execute "npm install". After that you can answer the questions and the project will be initialized without an error.
Describe the bug Try to create a new project in the advise install folder D:...\advise\myproject\ with
atscm init
. Afterwards enter all the project description name, author, ... and at the end I can't create a project.To Reproduce atscm is installed.
atscm init
Expected behavior I expect that I can create a project. Same issue with
npm init atscm
.Screenshots
? Project name? test ? Project description? ? Project author? ? Atvise server host? localhost ? Atvise OPC port? 4840 ? Atvise HTTP port? 88 ? Does your atvise server require login? No ? Configuration language to use? ES2015 JavaScript [13:52:47] str.trim is not a function
Environment
| package | version | | :------------ | --------------------: | | OS | Windows 10 | | atscm | ?? | | | atscm-cli | ?? | | | atvise server | 3.5.4 | | node | v16.14.2 | | | npm | 8.5.0 | |Thank your for any help. elBeato