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

Got Error when "npm run build" #1

Open
Topperchi opened this issue Apr 10, 2017 · 1 comment
Open

Got Error when "npm run build" #1

Topperchi opened this issue Apr 10, 2017 · 1 comment

Comments

@Topperchi
Copy link

topperchi@onlinereadbook-test-1:~/next2readbook$ npm run dev

> [email protected] dev /home/topperchi/next2readbook
> next

sh: 1: next: not found

npm ERR! Linux 4.4.0-72-generic
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "dev"
npm ERR! node v0.12.7
npm ERR! npm  v2.11.3
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! [email protected] dev: `next`
npm ERR! spawn ENOENT
npm ERR! 
npm ERR! Failed at the [email protected] dev script 'next'.
npm ERR! This is most likely a problem with the nextofficeweb package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     next
npm ERR! You can get their info via:
npm ERR!     npm owner ls nextofficeweb
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/topperchi/next2readbook/npm-debug.log
@bestlong
Copy link

有沒有先跑過 npm install 呢?

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

2 participants