question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Issue on installation

See original GitHub issue

Hi !

On installation, i have an error

/home/website/node_modules/babel-plugin-transform-react-jsx/lib/index.js:14
  var visitor = require("babel-helper-builder-react-jsx")({ /*istanbul ignore next*/
                                                         ^

TypeError: require(...) is not a function
    at exports.default (index.js:14:17)
    at Function.memoisePluginContainer (/home/website/node_modules/babel-core/lib/transformation/file/options/option-manager.js:150:13)
    at Function.normalisePlugin (/home/website/node_modules/babel-core/lib/transformation/file/options/option-manager.js:184:32)
    at /home/website/node_modules/babel-core/lib/transformation/file/options/option-manager.js:224:30
    at Array.map (native)
    at Function.normalisePlugins (/home/website/node_modules/babel-core/lib/transformation/file/options/option-manager.js:196:20)
    at OptionManager.mergeOptions (/home/website/node_modules/babel-core/lib/transformation/file/options/option-manager.js:317:36)
    at /home/website/node_modules/babel-core/lib/transformation/file/options/option-manager.js:389:38
    at /home/website/node_modules/babel-core/lib/transformation/file/options/option-manager.js:410:24
    at Array.map (native)
website@1.0.0 /home/website
└── babel-helpers@6.8.0

npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.0.12
npm ERR! Linux 3.14.32-xxxx-std-ipv6-64
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v4.4.1
npm ERR! npm  v3.8.3
npm ERR! code ELIFECYCLE

npm ERR! slackin@0.8.3 postinstall: `gulp`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the slackin@0.8.3 postinstall script 'gulp'.
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 slackin package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     gulp
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs slackin
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls slackin
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/website/npm-debug.log

> website@1.0.0 build /home/website
> webpack --config webpack/prod.config.js

If i test with slackin@0.7.3 is ok

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:5

github_iconTop GitHub Comments

2reactions
AIexey-Lcommented, May 31, 2016

this one is working (at least by Heroku) —> https://github.com/rauchg/slackin/issues/160

0reactions
webwurstcommented, Jul 10, 2016

@AnsgarSchmidt Your issue could maybe be solved by adding --unsafe-perm to npm install as seen in the Dockerfile.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to troubleshoot Windows Installer errors - Microsoft Support
Identify Windows Installer issues · Click Start, click Run, type cmd, and then click Command Prompt. · At the command prompt, type the...
Read more >
How to Fix the Most Common Windows 10 Installation Problems
Here's your guide to fixing those Windows 10 installation problems that could pop up when trying to upgrade or install from scratch.
Read more >
Installation issues and solutions - IBM
Review common problem scenarios, recovery methods, and ways to get help if you encounter a problem during software installation. You can diagnose problems...
Read more >
How to Fix Issues With the Windows Installer Package
You might also be unable to install the required software or application because you do not have sufficient permissions to perform such an ......
Read more >
12 irritating Windows 10 installation issues, and how to fix them
Having trouble installing and setting up Windows 10? You aren't alone. Here are a dozen-plus of the most common problems, along with a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found