ritz078 / embed-js

🌻 A lightweight plugin to embed emojis, media, maps, tweets, code and more. ✨
https://codesandbox.io/s/Wp5OlNMn
MIT License
1.27k stars 88 forks source link

postinstall failed "Cannot find module nightwatch.conf.js" #230

Closed Choko256 closed 7 years ago

Choko256 commented 7 years ago

I have a little web project with VueJS 2 and Webpack 2.

I encouter an issue when I want to add embed-js in my app :

$ yarn add embed-js
yarn add v0.21.3
[1/4] Resolving packages...
[2/4] Fetching packages...
warning fsevents@1.1.1: The platform "win32" is incompatible with this module.
info "fsevents@1.1.1" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
error C:\projects\myproject\node_modules\embed-js: Command failed.
Exit code: 1
Command: C:\windows\system32\cmd.exe
Arguments: /d /s /c node nightwatch.conf.js
Directory: C:\projects\myproject\node_modules\embed-js
Output:
module.js:471
    throw err;
    ^

Error: Cannot find module 'C:\projects\myproject\node_modules\embed-js\nightwatch.conf.js'

Any idea ? Thanks in advance.

ritz078 commented 7 years ago

should be fixed in v4.2.1