llorien / crm

WordPress plugin installed on brithon.com to support managing customer relationship
0 stars 0 forks source link

Flexible sourcemap. #93

Closed xueruini closed 8 years ago

xueruini commented 8 years ago

92 :raising_hand:

excelle08 commented 8 years ago

Still cannot build:

[13:46:54] npm install @ /Users/Excelle/Documents/myprog/birchpress/REPO/brithon-crm
[13:46:57] Starting 'bundle'...
/Users/Excelle/Documents/myprog/birchpress/REPO/brithon-crm/node_modules/vinyl-fs/node_modules/vinyl/index.js:143
      throw new Error('File.contents can only be a Buffer, a Stream, or null.');
      ^

Error: File.contents can only be a Buffer, a Stream, or null.
    at File.Object.defineProperty.set (/Users/Excelle/Documents/myprog/birchpress/REPO/brithon-crm/node_modules/vinyl-fs/node_modules/vinyl/index.js:143:13)
    at Readable.<anonymous> (/Users/Excelle/Documents/myprog/birchpress/REPO/brithon-crm/gulpfile.js:64:23)
    at emitOne (events.js:77:13)
    at Readable.emit (events.js:169:7)
    at Labeled.<anonymous> (/Users/Excelle/Documents/myprog/birchpress/REPO/brithon-crm/node_modules/read-only-stream/index.js:28:44)
    at emitOne (events.js:77:13)
    at Labeled.emit (events.js:169:7)
    at Labeled.<anonymous> (/Users/Excelle/Documents/myprog/birchpress/REPO/brithon-crm/node_modules/stream-splicer/index.js:130:18)
    at emitOne (events.js:82:20)
    at Labeled.emit (events.js:169:7)
xueruini commented 8 years ago

have you npm install? could you post the full error stack? we did not used vinyl-fs directly.

excelle08 commented 8 years ago

@xueruini It is the whole error stack.

xueruini commented 8 years ago

@excelle08 which your browserify version? browserify --version

@starsharp06sharp do you have this error?

I can not repeat it... here is my screenshot, everything is going well

sourcemap

excelle08 commented 8 years ago

@xueruini 12.0.1

excelle08 commented 8 years ago

@xueruini Even with git submodule update the error stays still.

xueruini commented 8 years ago

could you remove node_modules and re npm i?

starsharp06sharp commented 8 years ago

Same error message... browserify version is 12.0.1

excelle08 commented 8 years ago

Fixed after moving back common module.

:shipit:

starsharp06sharp commented 8 years ago

:shipit: