Skip to content

Cannot find module 'bin-build' #4762

@hizmarck

Description

@hizmarck

What is the current behavior?
I execute the following command: yarn install --modules-folder ./public/resources and get following output :

error_yarn

But when running ** install --modules-folder ./public/node_modules** no problem, maybe for the name 'node_modules'. Another interesting thing is that when I use the --modules-folder flag another modules_node folder is created in the root directory with .bin inside, ie, I have two folders one in root and another where it indicates that I put the installation.

  • node_modules
        - .bin (directory)
    public
       - resources (libraries)
    -package.json

{ "name": "x", "version": "1.0.0", "description": "y", "keywords": ["z", "w"], "main": "index", "license": "UNLICENSED", "private": true, "scripts": { "dev": "npm run development", "development": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js", "watch": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js", "watch-poll": "npm run watch -- --watch-poll", "hot": "cross-env NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js", "prod": "npm run production", "production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js" }, "devDependencies": { "axios": "^0.16.2", "bootstrap-sass": "^3.3.7", "cross-env": "^5.0.1", "jquery": "^3.1.1", "laravel-mix": "^1.0", "lodash": "^4.17.4", "vue": "^2.1.10" }, "dependencies": { "bootstrap": "^3.3.7", "font-awesome": "^4.7.0" } }
I installed yarn by msi
yarn -v
1.2.1
Windows 8.1
laravel 5.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions