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

不能重現開發環境 #1

Open
larrykkk opened this issue Apr 22, 2019 · 1 comment
Open

不能重現開發環境 #1

larrykkk opened this issue Apr 22, 2019 · 1 comment

Comments

@larrykkk
Copy link

我把整個專案 clone 下來以後
先下npm install
然後 npm run dev
報錯
Error: Cannot find module 'C:\Users\blueplanet\Desktop\vue-gis\build\dev-server.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:580:15)
at Function.Module._load (internal/modules/cjs/loader.js:506:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:741:12)
at startup (internal/bootstrap/node.js:285:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] dev: node build/dev-server.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] dev 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\blueplanet\AppData\Roaming\npm-cache_logs\2019-04-22T06_09_09_931Z-debug.log

看起來像是沒有找到 build\dev-server.js 這裡的檔案 請問是不是可以告訴我怎麼重現開發環境呢

@larrykkk
Copy link
Author

我在 官方github 找到的範例

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

1 participant