opensourceBIM / BIMserver-JavaScript-API

BIMserver JavaScript API
GNU Lesser General Public License v3.0
56 stars 35 forks source link

%Version% not defined in package.json #6

Closed xie-qianyue closed 7 years ago

xie-qianyue commented 7 years ago

When I install the project by npm install, I have this error:

npm WARN Invalid version: "%VERSION%"

And I check the package.json, the vesion key has value "%Version%". I don't know which version it should be, so I didn't give a pull request.

rubendel commented 7 years ago

You can just replace it with anything, our build system replaces it with the actual version when making a build. Just a note, I don't think the API is working in NodeJS at the moment.

xie-qianyue commented 7 years ago

Ok. I have another question. To add this plugin, I use the way you mention here, by add the -plugins argument. My question is whether I should build this project. As it's a JS project, Maven doesn't do the job I think.

rubendel commented 7 years ago

No need to build the project if you just want to use it in Eclipse. BIMserver will automatically serve the content of the project (if you add it with -plugins).

xie-qianyue commented 7 years ago

Thank you. I close this issue.

xie-qianyue commented 6 years ago

To complete this issue, the version number should be identified with the version of the project, for example, 0.0.135. Because when I tried 1, it didn't work.