I noticed tho when I did make install, I have to ...
# contribute
r
I noticed tho when I did make install, I have to remove the LICENSE file or pulumi complains about it
w
Complains about it in what way?
r
1 sec
Copy code
bruce.smith@nycw3013364 /g/i/sup-pulumi ❯❯❯ pulumi up
Previewing update of stack 'demo-vsphere'
Previewing changes:

     Type                 Name                     Plan          Info
 *   pulumi:pulumi:Stack  sup-pulumi-demo-vsphere  no change     1 info message

Diagnostics:
  pulumi:pulumi:Stack: sup-pulumi-demo-vsphere
    info: error: [runtime] Running program '/git/iqvia/sup-pulumi' failed with an unhandled exception:
    error: [runtime] /git/iqvia/sup-pulumi/node_modules/@pulumi/vsphere/license:1
    (function (exports, require, module, __filename, __dirname) { Mozilla Public License, version 2.0
                                                                          ^^^^^^
    SyntaxError: Unexpected identifier
        at createScript (vm.js:80:10)
        at Object.runInThisContext (vm.js:139:10)
        at Module._compile (module.js:616:28)
        at Object.Module._extensions..js (module.js:663:10)
        at Module.load (module.js:565:32)
        at tryModuleLoad (module.js:505:12)
        at Function.Module._load (module.js:497:3)
        at Module.require (module.js:596:17)
        at require (internal/module.js:11:18)
        at Object.<anonymous> (/git/iqvia/sup-pulumi/node_modules/@pulumi/index.ts:38:1)

error: an error occurred while advancing the preview
vsphere has a resource called License
I dont know if that is causing issues
w
Oh - that is strange indeed. Perhaps an issue with how we place the license file and a bad interaction with the License resource? I’ll need to take a closer look when I’m back on my laptop.
r
Yea, I didn't dive into it too much, because I didn't even know if what I was doing was correct LOL
but, now that things are working... I figure I'd mention it