You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "yo" "generator-office@1.0.0-beta.1"
npm ERR! node v6.3.1
npm ERR! npm v3.10.3
npm ERR! code ELIFECYCLE
npm ERR! generator-office@1.0.0-beta.1 postinstall: `typings install`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the generator-office@1.0.0-beta.1 postinstall script 'typings install'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the generator-office package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! typings install
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs generator-office
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls generator-office
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\jasonjoh\Source\Repos\mail-addins\outlook-addin-tutorial\npm-debug.log
I can get around this by adding typings to my install command:
npm install -g typings yo generator-office@1.0.0-beta.1
I believe the fix for this would be to change the postinstall script in package.json to:
"npm install typings"
The text was updated successfully, but these errors were encountered:
On further research I guess typings install is supposed to be a command that will work if typings is installed. So the fix here may be to just add typings to dependencies in the package.json. It is currently in devDependencies.
I would like to migrate to use @types instead of typings, which is on a working branch now. Accidentally deleted 'typing' in the readme installation section this morning when I merged a pr. womp... Updated readme for now.
When running the following command to install:
I get the following error:
I can get around this by adding
typings
to my install command:I believe the fix for this would be to change the
postinstall
script in package.json to:The text was updated successfully, but these errors were encountered: