Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm run buildするとエラーが出る #24

Open
ghost opened this issue Aug 22, 2016 · 0 comments
Open

npm run buildするとエラーが出る #24

ghost opened this issue Aug 22, 2016 · 0 comments

Comments

@ghost
Copy link

ghost commented Aug 22, 2016

npm install後、npm run buildすると次のエラーで怒られました。

soup-2:web soup$ npm run build

> [email protected] build /Users/soup/work/board-gamers/web
> $(npm bin)/browserify scripts/index.ts -v -p [ tsify ] -o scripts/bundle.js

TypeScript error: /Users/soup/work/board-gamers/web/scripts/aogList/aogList.ts(2,23): Error TS2503: Cannot find namespace 'angular'.

npm ERR! Darwin 15.5.0
npm ERR! argv "/Users/soup/.nodebrew/node/v6.2.2/bin/node" "/Users/soup/.nodebrew/current/bin/npm" "run" "build"
npm ERR! node v6.2.2
npm ERR! npm  v3.9.5
npm ERR! code ELIFECYCLE
npm ERR! [email protected] build: `$(npm bin)/browserify scripts/index.ts -v -p [ tsify ] -o scripts/bundle.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] build script '$(npm bin)/browserify scripts/index.ts -v -p [ tsify ] -o scripts/bundle.js'.
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 board-gamers package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     $(npm bin)/browserify scripts/index.ts -v -p [ tsify ] -o scripts/bundle.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs board-gamers
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls board-gamers
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/soup/work/board-gamers/web/npm-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants