MailOnline / VPAIDFLASHClient

Exposes FLASH VPAID API to JS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot find module

marcoroganovic opened this issue · comments

Hi, I'm wondering if there is a way to import this library as any other npm package? I'm using Gulp with Babel plugin. I tried to change main property in package.json to different files but I couldn't resolve issue.

Also, I have tried to include the script from bin/ folder but there is no VPAIDFlashClient constructor available globally unless I assign it as a property on window.

Version 0.1.9 is useable as a script, but I can't install it as a module

> bower install | ./flexSDK.sh

'.' is not recognized as an internal or external command,
operable program or batch file.
npm WARN enoent ENOENT: no such file or directory, open 'E:\Projects\oldFlashTest\package.json'
npm WARN oldFlashTest No description
npm WARN oldFlashTest No repository field.
npm WARN oldFlashTest No README data
npm WARN oldFlashTest No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 255
npm ERR! vpaid-flash-client@0.1.9 postinstall: `bower install | ./flexSDK.sh`
npm ERR! Exit status 255
npm ERR!
npm ERR! Failed at the vpaid-flash-client@0.1.9 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Taylor\AppData\Roaming\npm-cache\_logs\2018-08-04T20_26_04_012Z-debug.log